[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/moe-theme ea199be564 323/352: Add monokai
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/moe-theme ea199be564 323/352: Add monokai |
Date: |
Fri, 7 Jan 2022 04:00:01 -0500 (EST) |
branch: elpa/moe-theme
commit ea199be5641665d27bc45e5a05acb80110f43346
Author: onohiroko <azazabc123@gmail.com>
Commit: onohiroko <azazabc123@gmail.com>
Add monokai
---
moe-theme-flavours.el | 52 +++++++++++++++++++++++++++++++++++++++++++++++----
1 file changed, 48 insertions(+), 4 deletions(-)
diff --git a/moe-theme-flavours.el b/moe-theme-flavours.el
index ec1666221d..2ae36360c6 100644
--- a/moe-theme-flavours.el
+++ b/moe-theme-flavours.el
@@ -24,6 +24,15 @@
;;; Code:
+(defun moe-theme-reload-by-background-brightness ()
+ (if (eq (frame-parameter nil 'background-mode) 'light)
+ (load-theme 'moe-light)
+ (load-theme 'moe-dark)))
+
+;; ======================================================
+;; Tomorrow
+;; ======================================================
+
(defun moe-theme-flavour-tomorrow ()
(interactive)
(let ((dark-background "#1d1f21")
@@ -87,10 +96,45 @@
(setq moe-light-type light-blue)
(setq moe-light-variable-name light-yellow)
(setq moe-light-warning light-red)
- (if (eq (frame-parameter nil 'background-mode) 'light)
- (load-theme 'moe-light)
- (load-theme 'moe-dark)
- )))
+ (moe-theme-reload-by-background-brightness)))
+
+;; ======================================================
+;; Monokai
+;; ======================================================
+(defun moe-theme-flavour-monokai ()
+ (interactive)
+ (let ((monokai-256-foreground "#F5F5F5")
+ (monokai-256-background "#1B1E1C")
+ (monokai-256-yellow "#CDC673")
+ (monokai-256-orange "#FF8C00")
+ (monokai-256-red "#FF1493")
+ (monokai-256-magenta "#D700D7")
+ (monokai-256-violet "#AF87FF")
+ (monokai-256-blue "#5FD7FF")
+ (monokai-256-cyan "#5FFFFF")
+ (monokai-256-green "#87D700")
+ (monokai-256-gray "#3D3D3D")
+ (monokai-256-comments "#8B8878")
+ )
+ (setq moe-dark-bg monokai-256-background)
+ (setq moe-dark-fg monokai-256-foreground)
+ (setq moe-dark-builtin monokai-256-red)
+ (setq moe-dark-comment-delimiter monokai-256-comments)
+ (setq moe-dark-comment monokai-256-comments)
+ (setq moe-dark-constant monokai-256-violet)
+ (setq moe-dark-doc monokai-256-yellow)
+ (setq moe-dark-doc-string monokai-256-cyan)
+ (setq moe-dark-function-name monokai-256-green)
+ (setq moe-dark-keyword monokai-256-red)
+ (setq moe-dark-negation-char monokai-256-yellow)
+ (setq moe-dark-preprocessor monokai-256-red)
+ (setq moe-dark-regexp-grouping-construct monokai-256-yellow)
+ (setq moe-dark-regexp-grouping-backslash monokai-256-violet)
+ (setq moe-dark-string monokai-256-yellow)
+ (setq moe-dark-type monokai-256-blue)
+ (setq moe-dark-variable-name monokai-256-orange)
+ (setq moe-dark-warning monokai-256-orange)
+ (moe-theme-reload-by-background-brightness)))
(provide 'moe-theme-flavours)
- [nongnu] elpa/moe-theme b135f24d5a 344/352: undelete moe-theme-switcher, (continued)
- [nongnu] elpa/moe-theme b135f24d5a 344/352: undelete moe-theme-switcher, ELPA Syncer, 2022/01/07
- [nongnu] elpa/moe-theme b23975ba57 348/352: Turn off aggressive-indent-mode only if it's actually on. (#115), ELPA Syncer, 2022/01/07
- [nongnu] elpa/moe-theme 76116f6eeb 345/352: fix: double loading of moe-theme (#109), ELPA Syncer, 2022/01/07
- [nongnu] elpa/moe-theme 9c40f856fc 351/352: Fix package file header for `package-buffer-info`, ELPA Syncer, 2022/01/07
- [nongnu] elpa/moe-theme 47c6cf35f7 186/352: Change color of linum-highlight to green-0., ELPA Syncer, 2022/01/07
- [nongnu] elpa/moe-theme 3109097aab 314/352: alas, ELPA Syncer, 2022/01/07
- [nongnu] elpa/moe-theme 4c3e98a922 315/352: aaaaa, ELPA Syncer, 2022/01/07
- [nongnu] elpa/moe-theme 5a7b99645d 317/352: Fix shits, ELPA Syncer, 2022/01/07
- [nongnu] elpa/moe-theme 2634eb6d92 319/352: customizable font-lock color, ELPA Syncer, 2022/01/07
- [nongnu] elpa/moe-theme 2730a51402 322/352: Fix wrong faces of tomorrow, ELPA Syncer, 2022/01/07
- [nongnu] elpa/moe-theme ea199be564 323/352: Add monokai,
ELPA Syncer <=
- [nongnu] elpa/moe-theme 97de98fd32 325/352: Modify monokai color slightly to fit terminal 256-colors, ELPA Syncer, 2022/01/07
- [nongnu] elpa/moe-theme 1372097312 318/352: More shits, ELPA Syncer, 2022/01/07
- [nongnu] elpa/moe-theme 780c2fc9e2 327/352: Clean up README for v2.x, ELPA Syncer, 2022/01/07
- [nongnu] elpa/moe-theme a259f254d3 328/352: Remove the damning long commentary in moe-theme.el, ELPA Syncer, 2022/01/07
- [nongnu] elpa/moe-theme 49a51d6b83 335/352: moe-theme-flavour-default, ELPA Syncer, 2022/01/07
- [nongnu] elpa/moe-theme 06235c61f3 336/352: (Maybe) Fix background of font-lock. issue #103, ELPA Syncer, 2022/01/07
- [nongnu] elpa/moe-theme 4c2b510809 337/352: Fix unclear face of magit-section-heading-selection, ELPA Syncer, 2022/01/07
- [nongnu] elpa/moe-theme f3ee835b5f 338/352: notmuch: Distinguishable color for single-line message summary (#104), ELPA Syncer, 2022/01/07
- [nongnu] elpa/moe-theme 4e6545b901 339/352: Maybe fixed the bug when installing over MELPA, ELPA Syncer, 2022/01/07
- [nongnu] elpa/moe-theme 68aa6f854a 343/352: Add forgotten dependancy cl, ELPA Syncer, 2022/01/07