[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/monokai-theme 2ed7bb7 135/207: Extract other adaptive colo
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/monokai-theme 2ed7bb7 135/207: Extract other adaptive colours as custom functions |
Date: |
Thu, 21 Oct 2021 18:07:48 -0400 (EDT) |
branch: elpa/monokai-theme
commit 2ed7bb74118d8c358f1a5afd78cc3b43da91dd70
Author: Kelvin Smith <oneKelvinSmith@gmail.com>
Commit: Kelvin Smith <oneKelvinSmith@gmail.com>
Extract other adaptive colours as custom functions
---
monokai-theme.el | 39 +++++++++++++++++++++++++++++----------
1 file changed, 29 insertions(+), 10 deletions(-)
diff --git a/monokai-theme.el b/monokai-theme.el
index 6e84050..2905079 100644
--- a/monokai-theme.el
+++ b/monokai-theme.el
@@ -149,6 +149,31 @@ Also affects 'linum-mode' background."
:type 'string
:group 'monokai)
+(defcustom monokai-highlight "#49483E"
+ "Adaptive colors - highlight"
+ :type 'string
+ :group 'monokai)
+
+(defcustom monokai-highlight-alt "#3E3D31"
+ "Adaptive colors - highlight"
+ :type 'string
+ :group 'monokai)
+
+(defcustom monokai-highlight-line "#3E3D31"
+ "Adaptive colors - line highlight"
+ :type 'string
+ :group 'monokai)
+
+(defcustom monokai-comments "#75715E"
+ "Adaptive colors - comments"
+ :type 'string
+ :group 'monokai)
+
+(defcustom monokai-emph "#F8F8F0"
+ "Adaptive colors - emphasis"
+ :type 'string
+ :group 'monokai)
+
(let* (;; Variable pitch
(monokai-pitch (if monokai-use-variable-pitch
'variable-pitch
@@ -175,11 +200,6 @@ Also affects 'linum-mode' background."
(monokai-green-l "#BBEF53")
(monokai-gray-d "#35331D")
(monokai-gray-l "#7B7962")
- ;; Adaptive colors
- (monokai-highlight-line "#49483E")
- (monokai-highlight "#FFB269")
- (monokai-emph "#F8F8F0")
- (monokai-comments "#75715E")
;; Adaptive higher/lower contrast accented colors
(monokai-fg-hc "#141414")
(monokai-fg-lc "#171A0B")
@@ -240,7 +260,8 @@ Also affects 'linum-mode' background."
(terminal-monokai-fg "#F5F5F5")
(terminal-monokai-bg "#1B1E1C")
(terminal-monokai-highlight-line "#474747")
- (terminal-monokai-highlight "#F4A460")
+ (terminal-monokai-highlight-alt "#3E3d31")
+ (terminal-monokai-highlight "#474747")
(terminal-monokai-emph "#FFFAFA")
(terminal-monokai-comments "#8B8878")
;; Adaptive higher/lower contrast accented colors
@@ -366,10 +387,8 @@ Also affects 'linum-mode' background."
:background ,terminal-monokai-bg))))
`(highlight
- ((,class (:foreground ,monokai-bg
- :background ,monokai-highlight))
- (,terminal-class (:foreground ,terminal-monokai-bg
- :background ,terminal-monokai-highlight))))
+ ((,class (:background ,monokai-highlight))
+ (,terminal-class (:background ,terminal-monokai-highlight))))
`(lazy-highlight
((,class (:inherit highlight
- [nongnu] elpa/monokai-theme 05c8000 063/207: Merge pull request #43 from junkw/fix/mode-line-color-with-powerline, (continued)
- [nongnu] elpa/monokai-theme 05c8000 063/207: Merge pull request #43 from junkw/fix/mode-line-color-with-powerline, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme 4b35941 072/207: Bump version number, ELPA Syncer, 2021/10/21
- [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 <=
- [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, 2021/10/21
- [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