[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/monokai-theme 22df342 132/207: Merge pull request #60 from
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/monokai-theme 22df342 132/207: Merge pull request #60 from d1egoaz/expose_primary_colors |
Date: |
Thu, 21 Oct 2021 18:07:47 -0400 (EDT) |
branch: elpa/monokai-theme
commit 22df342186748078ba36336b7bed6acb253aee30
Merge: 02c5f5d b555826
Author: Kelvin Smith <onekelvinsmith@gmail.com>
Commit: GitHub <noreply@github.com>
Merge pull request #60 from d1egoaz/expose_primary_colors
Expose foreground, background and primary colors
---
README.md | 18 +++++++++++++++
monokai-theme.el | 68 ++++++++++++++++++++++++++++++++++++++++++++++----------
2 files changed, 74 insertions(+), 12 deletions(-)
diff --git a/README.md b/README.md
index 6a4eff1..f7c6cce 100644
--- a/README.md
+++ b/README.md
@@ -49,6 +49,24 @@ To load it automatically on Emacs startup add this to your
init file:
(load-theme 'monokai t)
```
+## Customization
+
+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")
+```
+
# Bugs & Improvements
Please, report any problems that you find on the projects integrated
diff --git a/monokai-theme.el b/monokai-theme.el
index 527f7c9..3c2391d 100644
--- a/monokai-theme.el
+++ b/monokai-theme.el
@@ -93,6 +93,62 @@ Also affects 'linum-mode' background."
:type 'number
:group 'monokai)
+;; Primary colors
+(defcustom monokai-yellow "#E6DB74"
+ "Primary colors - yellow"
+ :type 'string
+ :group 'monokai)
+
+(defcustom monokai-orange "#FD971F"
+ "Primary colors - orange"
+ :type 'string
+ :group 'monokai)
+
+(defcustom monokai-red "#F92672"
+ "Primary colors - red"
+ :type 'string
+ :group 'monokai)
+
+(defcustom monokai-magenta "#FD5FF0"
+ "Primary colors - magenta"
+ :type 'string
+ :group 'monokai)
+
+(defcustom monokai-blue "#66D9EF"
+ "Primary colors - blue"
+ :type 'string
+ :group 'monokai)
+
+(defcustom monokai-green "#A6E22E"
+ "Primary colors - green"
+ :type 'string
+ :group 'monokai)
+
+(defcustom monokai-cyan "#A1EFE4"
+ "Primary colors - cyan"
+ :type 'string
+ :group 'monokai)
+
+(defcustom monokai-violet "#AE81FF"
+ "Primary colors - violet"
+ :type 'string
+ :group 'monokai)
+
+(defcustom monokai-gray "#3E3D31"
+ "Primary colors - gray"
+ :type 'string
+ :group 'monokai)
+
+(defcustom monokai-fg "#F8F8F2"
+ "Adaptive colors - foreground"
+ :type 'string
+ :group 'monokai)
+
+(defcustom monokai-bg "#272822"
+ "Adaptive colors - background"
+ :type 'string
+ :group 'monokai)
+
(let* (;; Variable pitch
(monokai-pitch (if monokai-use-variable-pitch
'variable-pitch
@@ -100,16 +156,6 @@ Also affects 'linum-mode' background."
;; Definitions for guis that support 256 colors
(class '((class color) (min-colors 257)))
- ;; Primary colors
- (monokai-yellow "#E6DB74")
- (monokai-orange "#FD971F")
- (monokai-red "#F92672")
- (monokai-magenta "#FD5FF0")
- (monokai-violet "#AE81FF")
- (monokai-blue "#66D9EF")
- (monokai-cyan "#A1EFE4")
- (monokai-green "#A6E22E")
- (monokai-gray "#3E3D31")
;; Darker and lighter accented colors
(monokai-yellow-d "#BEB244")
(monokai-yellow-l "#FFF7A8")
@@ -130,8 +176,6 @@ Also affects 'linum-mode' background."
(monokai-gray-d "#35331D")
(monokai-gray-l "#7B7962")
;; Adaptive colors
- (monokai-fg "#F8F8F2")
- (monokai-bg "#272822")
(monokai-highlight-line "#49483E")
(monokai-highlight "#FFB269")
(monokai-emph "#F8F8F0")
- [nongnu] elpa/monokai-theme a4143fc 044/207: Remove italics on type face, (continued)
- [nongnu] elpa/monokai-theme a4143fc 044/207: Remove italics on type face, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme 764ffa3 045/207: Add theme company annotations and template fields., ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme 0f83a63 059/207: Fixes #42: add support for magit diff faces, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme ffcb1ec 068/207: Update monokai-theme.el, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme 521746d 069/207: Update monokai-theme.el, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme 2a7545a 076/207: Lighten tooltip colour, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme 8de48b6 084/207: Rename line highlight variable and use it appropriately, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme 66320eb 099/207: Update guide-key faces, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme 35c7bca 109/207: Extend version, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme 67d6276 089/207: Add cider faces, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme 22df342 132/207: Merge pull request #60 from d1egoaz/expose_primary_colors,
ELPA Syncer <=
- [nongnu] elpa/monokai-theme 53f0ba9 140/207: Bump version after update, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme 772a58d 147/207: remove duplicate linum configuration, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme 11fa06c 142/207: Merge pull request #63 from aaronjensen/patch-2, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme 455f474 154/207: resolves #68 Markup Faces / adoc-mode - Some text barely readable, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme 43bf50d 156/207: Adds full monokai theme for adoc-mode, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme 71bcced 164/207: Remove extraneous parenthesis, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme 50b1e7a 176/207: correct spelling mistake, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme 602a391 174/207: Merge pull request #83 from seagle0128/master, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme 1becbc9 185/207: Use string colour for doc face, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme 57ee3c9 184/207: Remove double space, ELPA Syncer, 2021/10/21