emacs-elpa-diffs
[Top][All Lists]
Advanced

[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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]