[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/monokai-theme 8a45285 136/207: Rethink and adjust highligh
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/monokai-theme 8a45285 136/207: Rethink and adjust highlights and line numbers |
Date: |
Thu, 21 Oct 2021 18:07:48 -0400 (EDT) |
branch: elpa/monokai-theme
commit 8a4528590bd588fc3e55e2182d2199a3e6dd68bc
Author: Kelvin Smith <oneKelvinSmith@gmail.com>
Commit: Kelvin Smith <oneKelvinSmith@gmail.com>
Rethink and adjust highlights and line numbers
---
README.md | 35 +++++++++++++++++++--------
monokai-theme.el | 72 ++++++++++++++++++++++++++++++++++++--------------------
2 files changed, 71 insertions(+), 36 deletions(-)
diff --git a/README.md b/README.md
index cf9d743..face0f7 100644
--- a/README.md
+++ b/README.md
@@ -55,18 +55,33 @@ Please see full list of variables in the `defcustom`
section.
i.e.:
```lisp
- (setq monokai-fg "#ABB2BF"
- monokai-bg "#282C34"
- 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-fg "#ABB2BF"
+ monokai-bg "#282C34"
+ ;; highlights and comments
+ monokai-comments "#F8F8F0"
+ monokai-emph "#282C34"
+ monokai-highlight "#FFB269"
+ monokai-highlight-alt "#66D9EF"
+ monokai-highlight-line "#1B1D1E"
+ monokai-linum "#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")
```
+
+(defcustom monokai-linum "#8F908A"
+ "Adaptive colors - line number"
+ :type 'string
+ :group 'monokai)
+
## Windows
If your're experiencing font issues using `org-mode` on Windows with emacs 25
try add this to
diff --git a/monokai-theme.el b/monokai-theme.el
index 2905079..598f53b 100644
--- a/monokai-theme.el
+++ b/monokai-theme.el
@@ -149,28 +149,33 @@ Also affects 'linum-mode' background."
:type 'string
:group 'monokai)
-(defcustom monokai-highlight "#49483E"
- "Adaptive colors - highlight"
+(defcustom monokai-comments "#75715E"
+ "Adaptive colors - comments"
:type 'string
:group 'monokai)
-(defcustom monokai-highlight-alt "#3E3D31"
- "Adaptive colors - highlight"
+(defcustom monokai-emph "#F8F8F0"
+ "Adaptive colors - emphasis"
:type 'string
:group 'monokai)
-(defcustom monokai-highlight-line "#3E3D31"
- "Adaptive colors - line highlight"
+(defcustom monokai-linum "#8F908A"
+ "Adaptive colors - line number"
:type 'string
:group 'monokai)
-(defcustom monokai-comments "#75715E"
- "Adaptive colors - comments"
+(defcustom monokai-highlight "#49483E"
+ "Adaptive colors - highlight"
:type 'string
:group 'monokai)
-(defcustom monokai-emph "#F8F8F0"
- "Adaptive colors - emphasis"
+(defcustom monokai-highlight-alt "#3E3D31"
+ "Adaptive colors - highlight"
+ :type 'string
+ :group 'monokai)
+
+(defcustom monokai-highlight-line "#20240E"
+ "Adaptive colors - line highlight"
:type 'string
:group 'monokai)
@@ -259,11 +264,12 @@ Also affects 'linum-mode' background."
;; Adaptive colors
(terminal-monokai-fg "#F5F5F5")
(terminal-monokai-bg "#1B1E1C")
- (terminal-monokai-highlight-line "#474747")
- (terminal-monokai-highlight-alt "#3E3d31")
- (terminal-monokai-highlight "#474747")
- (terminal-monokai-emph "#FFFAFA")
(terminal-monokai-comments "#8B8878")
+ (terminal-monokai-emph "#FFFAFA")
+ (terminal-monokai-linum "#8F908A")
+ (terminal-monokai-highlight "#474747")
+ (terminal-monokai-highlight-alt "#3E3E3E")
+ (terminal-monokai-highlight-line "#000000")
;; Adaptive higher/lower contrast accented colors
(terminal-monokai-fg-hc "#171A0B")
(terminal-monokai-fg-lc "#141414")
@@ -305,8 +311,7 @@ Also affects 'linum-mode' background."
(,terminal-class (:foreground ,terminal-monokai-comments))))
`(font-lock-comment-face
- ((,class (:foreground ,monokai-comments
- :background nil))
+ ((,class (:foreground ,monokai-comments))
(,terminal-class (:foreground ,terminal-monokai-comments))))
`(font-lock-constant-face
@@ -387,8 +392,10 @@ Also affects 'linum-mode' background."
:background ,terminal-monokai-bg))))
`(highlight
- ((,class (:background ,monokai-highlight))
- (,terminal-class (:background ,terminal-monokai-highlight))))
+ ((,class (:inherit t
+ :background ,monokai-highlight))
+ (,terminal-class (:inherit t
+ :background ,terminal-monokai-highlight))))
`(lazy-highlight
((,class (:inherit highlight
@@ -404,9 +411,9 @@ Also affects 'linum-mode' background."
`(secondary-selection
((,class (:inherit region
- :background ,monokai-blue))
+ :background ,monokai-highlight-alt))
(,terminal-class (:inherit region
- :background ,terminal-monokai-blue))))
+ :background
,terminal-monokai-highlight-alt))))
`(shadow
((,class (:foreground ,monokai-comments))
@@ -519,7 +526,7 @@ Also affects 'linum-mode' background."
((,class (:inverse-video unspecified
:underline unspecified
:foreground ,monokai-emph
- :background ,monokai-highlight-line
+ :background ,monokai-highlight
:box (:line-width 1
:color ,monokai-gray
:style unspecified)))
@@ -528,7 +535,7 @@ Also affects 'linum-mode' background."
:foreground ,terminal-monokai-fg
:background ,terminal-monokai-bg
:box (:line-width 1
- :color
,terminal-monokai-highlight-line
+ :color
,terminal-monokai-highlight
:style
unspecified)))))
`(powerline-active1
@@ -567,12 +574,12 @@ Also affects 'linum-mode' background."
;; header-line
`(header-line
((,class (:foreground ,monokai-emph
- :background ,monokai-highlight-line
+ :background ,monokai-highlight
:box (:color ,monokai-gray
:line-width 1
:style unspecified)))
(,terminal-class (:foreground ,terminal-monokai-emph
- :background
,terminal-monokai-highlight-line
+ :background ,terminal-monokai-highlight
:box (:color ,terminal-monokai-gray
:line-width 1
:style unspecified)))))
@@ -3209,11 +3216,24 @@ Also affects 'linum-mode' background."
;; linum-mode
`(linum
- ((,class (:foreground ,monokai-comments
+ ((,class (:foreground ,monokai-linum
:background ,monokai-fringe-bg))
- (,terminal-class (:foreground ,terminal-monokai-comments
+ (,terminal-class (:foreground ,terminal-monokai-linum
+ :background ,terminal-monokai-fringe-bg))))
+ ;; linum-mode
+ `(linum
+ ((,class (:foreground ,monokai-linum
+ :background ,monokai-fringe-bg))
+ (,terminal-class (:foreground ,terminal-monokai-linum
:background ,terminal-monokai-fringe-bg))))
+ ;; linum-relative-current-face
+ `(linum-relative-current-face
+ ((,class (:foreground ,monokai-linum
+ :background ,monokai-highlight-line))
+ (,terminal-class (:foreground ,terminal-monokai-linum
+ :background
,terminal-monokai-highlight-line))))
+
;; lusty-explorer
`(lusty-directory-face
((,class (:inherit dimonokai-red-directory))
- [nongnu] elpa/monokai-theme d09aef0 073/207: Use actual color variables for mmm-mode faces (oops 😳), (continued)
- [nongnu] elpa/monokai-theme d09aef0 073/207: Use actual color variables for mmm-mode faces (oops 😳), ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme 45ba47d 081/207: Introduce new highlight colour and variable, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme 8cd874e 086/207: Add eval-sexp-fu faces, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme a1d5b37 094/207: Update eshell faces, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme b3f654a 100/207: Update dired faces, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme 0c21998 123/207: Also fix color clash in company complete pop-up for terminal, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme e42c1d5 125/207: Tweak js2-mode colours, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme 01d08b1 128/207: Merge pull request #58 from deb0ch/PR/which-key-support, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme 35199c2 129/207: Update web-mode faces to be more consistent, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme e05a2ad 127/207: add faces for which-key, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme 8a45285 136/207: Rethink and adjust highlights and line numbers,
ELPA Syncer <=
- [nongnu] elpa/monokai-theme 12da0ef 133/207: Update README with windows org-mode fix, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme ccce96e 139/207: Remove erroneous "defcustom" from readme, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme 46fe076 160/207: Bump version again for another release, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme 5d3a37e 179/207: Better handling of vhl colors, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme b5ed679 173/207: FIX: show-paren-mode erroneously highlights the left margin., ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme 65682b1 181/207: Merge pull request #86 from sdwolf/fix/vhl-colors, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme fec00a7 197/207: Pass the unevaluated form of weechat-color-list, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme f212c10 206/207: Fix hi-red-b face for 256 color terminals (#107), ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme 08721c1 057/207: Add support for pos-tip colors and change tooltip colors, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme 451a469 060/207: Bump version number, ELPA Syncer, 2021/10/21