[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/monokai-theme fe409de 145/207: Disable `variable-pitch` an
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/monokai-theme fe409de 145/207: Disable `variable-pitch` and update README |
Date: |
Thu, 21 Oct 2021 18:07:50 -0400 (EDT) |
branch: elpa/monokai-theme
commit fe409de5f88aac709de0225f68ba4dc52ecfa35e
Author: Kelvin Smith <oneKelvinSmith@gmail.com>
Commit: Kelvin Smith <oneKelvinSmith@gmail.com>
Disable `variable-pitch` and update README
---
README.md | 32 ++++++++++++++++++++++++++++----
monokai-theme.el | 2 +-
2 files changed, 29 insertions(+), 5 deletions(-)
diff --git a/README.md b/README.md
index 187dda1..15cf8f7 100644
--- a/README.md
+++ b/README.md
@@ -49,11 +49,12 @@ To load it automatically on Emacs startup add this to your
init file:
(load-theme 'monokai t)
```
-## Customization
+# Customization
Please see full list of variables in the `defcustom` section.
-i.e.:
+You can override specific core colors using this in your `init.el` or
equivalent file:
+
```lisp
(setq ;; foreground and background
monokai-foreground "#ABB2BF"
@@ -64,7 +65,7 @@ i.e.:
monokai-highlight "#FFB269"
monokai-highlight-alt "#66D9EF"
monokai-highlight-line "#1B1D1E"
- monokai-linum "#F8F8F0"
+ monokai-line-number "#F8F8F0"
;; colours
monokai-blue "#61AFEF"
monokai-cyan "#56B6C2"
@@ -76,6 +77,29 @@ i.e.:
monokai-yellow "#E5C07B")
```
+## `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)
+```
+
+## Variable pitch
+
+If you would like to use `variable-pitch-mode` you can enable it with:
+
+```lisp
+ (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).
+
+
## Windows
If your're experiencing font issues using `org-mode` on Windows with emacs 25
try add this to
@@ -88,7 +112,7 @@ your `init.el` or equivalent file:
(when (and sys/win32p (> emacs-major-version 24))
(add-hook 'window-setup-hook '(lambda () (load-theme 'monokai t))))
```
-For more info check this thread: [Invalid font in
org-mode](https://github.com/oneKelvinSmith/monokai-emacs/issues/56)
+For more info check the thread in
[#56](https://github.com/oneKelvinSmith/monokai-emacs/issues/56)
# Bugs & Improvements
diff --git a/monokai-theme.el b/monokai-theme.el
index 23b355f..0e30f59 100644
--- a/monokai-theme.el
+++ b/monokai-theme.el
@@ -63,7 +63,7 @@ Also affects 'linum-mode' background."
:type 'boolean
:group 'monokai)
-(defcustom monokai-use-variable-pitch t
+(defcustom monokai-use-variable-pitch nil
"Use variable pitch face for some headings and titles."
:type 'boolean
:group 'monokai)
- [nongnu] elpa/monokai-theme 79fd319 111/207: Fix alignment and whitespace, (continued)
- [nongnu] elpa/monokai-theme 79fd319 111/207: Fix alignment and whitespace, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme 0b1eddf 108/207: Extend copyright, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme 3534b5d 119/207: Remove intrusive automatic evals, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme a1c9ee4 114/207: Rename pitch variable, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme 1d3659c 117/207: Bump to 2.0.0, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme d8ad279 115/207: Reorganise and simplify mode/powerline faces, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme 4f2069d 137/207: Rename "emph" to "emphasis", ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme 7c45a90 152/207: Use highlight-alt colour for org-mode block background, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme 2ed7bb7 135/207: Extract other adaptive colours as custom functions, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme 586062e 148/207: Merge pull request #65 from deb0ch/PR/duplicate-linum, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme fe409de 145/207: Disable `variable-pitch` and update README,
ELPA Syncer <=
- [nongnu] elpa/monokai-theme 7f3c7d5 161/207: Set fringe arrow colors for realgud, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme dec4908 151/207: Remove background override in comments face, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme 4ccd0c1 158/207: Clean up flycheck ui, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme f6f945e 165/207: Change tooltip color., ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme 903389c 172/207: Fixes org block foregrounds, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme f5b64eb 171/207: Fixes leftover highlight background, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme 8dacce1 177/207: Merge pull request #84 from EdwardBetts/spelling, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme 2851684 183/207: Add elixir mode faces, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme da23ef6 196/207: Update to v3.5.2, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme 6b9ede7 066/207: ADD JS2-MODE ATTRIBUTES FOR BETTER SYNTAX HIGHLIGHT, ELPA Syncer, 2021/10/21