[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/monokai-theme 019e079 182/207: Add images and update READM
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/monokai-theme 019e079 182/207: Add images and update README |
Date: |
Thu, 21 Oct 2021 18:07:58 -0400 (EDT) |
branch: elpa/monokai-theme
commit 019e07947426f0192fc3458f3f72c19031b607de
Author: Kelvin Smith <oneKelvinSmith@gmail.com>
Commit: Kelvin Smith <oneKelvinSmith@gmail.com>
Add images and update README
---
README.md | 115 ++++++++++++++++++++++++++-------------------------
assets/monokai_0.png | Bin 0 -> 161659 bytes
assets/monokai_1.png | Bin 0 -> 279630 bytes
3 files changed, 59 insertions(+), 56 deletions(-)
diff --git a/README.md b/README.md
index bf8026b..7d7c820 100644
--- a/README.md
+++ b/README.md
@@ -3,45 +3,41 @@
# About
-Monokai for Emacs is a port of the popular TextMate theme
-[Monokai](http://www.monokai.nl/blog/2006/07/15/textmate-color-theme/)
-by Wimer Hazenberg. The inspiration for the theme came from Bozhidar Batsov and
-his [Zenburn](https://github.com/bbatsov/zenburn-emacs) port and
-[Sublime Text 2](http://www.sublimetext.com/2) which defaults to this color
scheme.
+Monokai for Emacs is a port of the popular TextMate theme
[Monokai](http://www.monokai.nl/blog/2006/07/15/textmate-color-theme/) by Wimer
Hazenberg.
+The inspiration for the theme came from Bozhidar Batsov and his
[Zenburn](https://github.com/bbatsov/zenburn-emacs) port and [Sublime Text
2](http://www.sublimetext.com/2) which defaults to this color scheme.
I like the colors and I like Emacs. This followed.
The theme uses built-in theming support available Emacs 24 and later.
-I recommend using [Prelude](http://batsov.com/prelude/) in conjunction with
-this theme. Bozhidar Batsov has done some awesome work in making Emacs
beautiful and
-accessible to a newcomer.
+I recommend using [Prelude](http://batsov.com/prelude/) in conjunction with
this theme.
+Bozhidar Batsov has done some awesome work in making Emacs beautiful and
accessible to a newcomer.
+
+I've been using the theme with [spacemacs](http://spacemacs.org/) and have
really enjoyed it.
+
+## How it looks
+
+
# Installation
-## Manual
+### Manual
-Download `monokai-theme.el` to the directory `~/.emacs.d/themes/`. Add this to
your
-`.emacs`:
+Download `monokai-theme.el` to the directory `~/.emacs.d/themes/`. Add this to
your `.emacs`:
```lisp
(add-to-list 'custom-theme-load-path "~/.emacs.d/themes/")
```
-Now you can load the theme with the interactive function `load-theme` like
this:
-
-`M-x load-theme RET monokai`
+Now you can load the theme with: `M-x load-theme RET monokai`
-## Package.el
+### With package.el
Monokai is available in both [Marmalade](http://marmalade-repo.org)
and [MELPA](http://melpa.milkbox.net).
-Keep in mind the fact the version in the Marmalade repo may not always
-be up-to-date.
+Keep in mind the fact the version in the Marmalade repo may not always be
up-to-date.
-You can install `monokai` with the following command:
-
-`M-x package-install monokai-theme`
+You can install `monokai` with: `M-x package-install monokai-theme`
To load it automatically on Emacs startup add this to your init file:
@@ -49,6 +45,15 @@ To load it automatically on Emacs startup add this to your
init file:
(load-theme 'monokai t)
```
+### With spacemacs
+Add the theme to `dotspacemacs-themes` in your `.spacemacs` file:
+
+```lisp
+(defun dotspacemacs/init ()
+ (setq-default
+ dotspacemacs-themes '(monokai)))
+```
+
# Customization
Please see full list of variables in the `defcustom` section.
@@ -56,61 +61,61 @@ Please see full list of variables in the `defcustom`
section.
You can override specific core colors using this in your `init.el` or
equivalent file:
```lisp
- (setq ;; foreground and background
- monokai-foreground "#ABB2BF"
- monokai-background "#282C34"
- ;; highlights and comments
- monokai-comments "#F8F8F0"
- monokai-emphasis "#282C34"
- monokai-highlight "#FFB269"
- monokai-highlight-alt "#66D9EF"
- monokai-highlight-line "#1B1D1E"
- monokai-line-number "#F8F8F0"
- ;; colours
- monokai-blue "#61AFEF"
- monokai-cyan "#56B6C2"
- monokai-green "#98C379"
- monokai-gray "#3E4451"
- monokai-violet "#C678DD"
- monokai-red "#E06C75"
- monokai-orange "#D19A66"
- monokai-yellow "#E5C07B")
+(setq ;; foreground and background
+ monokai-foreground "#ABB2BF"
+ monokai-background "#282C34"
+ ;; highlights and comments
+ monokai-comments "#F8F8F0"
+ monokai-emphasis "#282C34"
+ monokai-highlight "#FFB269"
+ monokai-highlight-alt "#66D9EF"
+ monokai-highlight-line "#1B1D1E"
+ monokai-line-number "#F8F8F0"
+ ;; colours
+ monokai-blue "#61AFEF"
+ monokai-cyan "#56B6C2"
+ monokai-green "#98C379"
+ monokai-gray "#3E4451"
+ monokai-violet "#C678DD"
+ monokai-red "#E06C75"
+ monokai-orange "#D19A66"
+ monokai-yellow "#E5C07B")
```
-## `org-mode` headers
+### `org-mode` headers
If you would like to change the font size of your `org-mode` headers you can
do so with:
```lisp
- (setq monokai-height-minus-1 0.8
- monokai-height-plus-1 1.1
- monokai-height-plus-2 1.15
- monokai-height-plus-3 1.2
- monokai-height-plus-4 1.3)
+(setq monokai-height-minus-1 0.8
+ monokai-height-plus-1 1.1
+ monokai-height-plus-2 1.15
+ monokai-height-plus-3 1.2
+ monokai-height-plus-4 1.3)
```
-## Variable pitch
+### Variable pitch
If you would like to use `variable-pitch-mode` you can enable it with:
```lisp
- (setq monokai-user-variable-pitch t)
+(setq monokai-user-variable-pitch t)
```
-This used to be enabled by default but broke the principle of least surprise
which resulted in a couple of issues. See
[#62](https://github.com/oneKelvinSmith/monokai-emacs/issues/62) &
[#56](https://github.com/oneKelvinSmith/monokai-emacs/issues/56).
+This used to be enabled by default but broke the principle of least surprise
which resulted in a couple of issues.
+See [#62](https://github.com/oneKelvinSmith/monokai-emacs/issues/62) &
[#56](https://github.com/oneKelvinSmith/monokai-emacs/issues/56)
-## Windows
+### Windows
If your're experiencing font issues using `org-mode` on Windows with emacs 25
try add this to
your `init.el` or equivalent file:
```lisp
- (add-hook 'after-init-hook '(lambda () (load-theme 'monokai t)))
+(add-hook 'after-init-hook '(lambda () (load-theme 'monokai t)))
- ;; FIX: Invalid font in org-mode on Windows
- (when (and sys/win32p (> emacs-major-version 24))
- (add-hook 'window-setup-hook '(lambda () (load-theme 'monokai t))))
+(when (and sys/win32p (> emacs-major-version 24))
+ (add-hook 'window-setup-hook '(lambda () (load-theme 'monokai t))))
```
For more info check the thread in
[#56](https://github.com/oneKelvinSmith/monokai-emacs/issues/56)
@@ -120,7 +125,5 @@ Please, report any problems that you find on the projects
integrated
issue tracker. If you've added some improvements and you want them
included upstream please send a pull request.
-Thank you,<br\>
+Thank you,
Kelvin
-
-=============
diff --git a/assets/monokai_0.png b/assets/monokai_0.png
new file mode 100644
index 0000000..aa7d1fc
Binary files /dev/null and b/assets/monokai_0.png differ
diff --git a/assets/monokai_1.png b/assets/monokai_1.png
new file mode 100644
index 0000000..f3bbefd
Binary files /dev/null and b/assets/monokai_1.png differ
- [nongnu] elpa/monokai-theme d6a19e0 092/207: Add ein faces, (continued)
- [nongnu] elpa/monokai-theme d6a19e0 092/207: Add ein faces, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme fb3f6ac 093/207: Add missing header comment, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme 838ddac 113/207: Bump version, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme 16337f5 112/207: Add ivy faces, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme 5fbfaa7 122/207: Bump version after bug fixes, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme 02c5f5d 130/207: Bump version, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme d68b8c2 149/207: Update lazy highlight and contrast in powerline, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme d9ef39c 163/207: Merge pull request #76 from realgud/realgud-fringe-arrows, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme 657a5e6 169/207: Support highlight-symbol., ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme 623083f 175/207: Merge pull request #82 from sdwolf/fix/terminal-colors, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme 019e079 182/207: Add images and update README,
ELPA Syncer <=
- [nongnu] elpa/monokai-theme c5a7978 207/207: Fix some monokai-256-class faces (#106), ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme 2187ac8 205/207: Fix font-latex-doctex-preprocessor-face for 256 color terminals (#108), ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme 59aad14 083/207: Fix formating and parens around some faces, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme 4f1ac8f 104/207: Add melpa badges, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme 1cc2c5d 110/207: Add org-block-background; really closes #50, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme 64b05ef 106/207: Make org-blocks stand out more; Closes #50; also blue links..., ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme a9efe29 120/207: Merge pull request #54 from abo-abo/master, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme 99a270d 126/207: Bump version, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme 24bdf4c 138/207: Bump version, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme 3d6b967 146/207: Bump to version 3 after large update, ELPA Syncer, 2021/10/21