[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/monokai-theme 9d28eff 199/207: Better colors for smerge an
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/monokai-theme 9d28eff 199/207: Better colors for smerge and ediff |
Date: |
Thu, 21 Oct 2021 18:08:01 -0400 (EDT) |
branch: elpa/monokai-theme
commit 9d28eff25c694fca6f11163a27d34efbd3a5cb63
Author: Codruț Constantin Gușoi <codrut.gusoi@gmail.com>
Commit: Codruț Constantin Gușoi <codrut.gusoi@gmail.com>
Better colors for smerge and ediff
---
monokai-theme.el | 63 +++++++++++++++++++++++++++++++++++++++++++++++++-------
1 file changed, 55 insertions(+), 8 deletions(-)
diff --git a/monokai-theme.el b/monokai-theme.el
index 3337ad2..0620e67 100644
--- a/monokai-theme.el
+++ b/monokai-theme.el
@@ -193,6 +193,14 @@ Also affects 'linum-mode' background."
;; Definitions for guis that support 256 colors
(monokai-class '((class color) (min-colors 257)))
+ ;; Functionality specific colors
+ (monokai-diff-blue-base "#232438")
+ (monokai-diff-blue-emphasis "#1F204E")
+ (monokai-diff-green-base "#233E1E")
+ (monokai-diff-green-emphasis "#1F541A")
+ (monokai-diff-red-base "#3D241E")
+ (monokai-diff-red-emphasis "#53201A")
+
;; Darker and lighter accented colors
(monokai-yellow-d "#BEB244")
(monokai-yellow-l "#FFF7A8")
@@ -240,6 +248,15 @@ Also affects 'linum-mode' background."
;; Definitions for terminals that do not support 256 colors
(monokai-256-class '((class color) (min-colors 89)))
+
+ ;; Functionality specific colors
+ (monokai-256-diff-blue-base "#00005f")
+ (monokai-256-diff-blue-emphasis "#000087")
+ (monokai-256-diff-green-base "#005800")
+ (monokai-256-diff-green-emphasis "#008700")
+ (monokai-256-diff-red-base "#5f0000")
+ (monokai-256-diff-red-emphasis "#870000")
+
;; Primary colors
(monokai-256-yellow "#CDC673")
(monokai-256-orange "#FF8C00")
@@ -1646,20 +1663,28 @@ Also affects 'linum-mode' background."
;; ediff
`(ediff-fine-diff-A
- ((,monokai-class (:background ,monokai-orange-lc))
- (,monokai-256-class (:background ,monokai-256-orange-lc))))
+ ((,monokai-class (:background ,monokai-diff-red-emphasis))
+ (,monokai-256-class (:background ,monokai-256-diff-red-emphasis))))
`(ediff-fine-diff-B
- ((,monokai-class (:background ,monokai-green-lc))
- (,monokai-256-class (:background ,monokai-256-green-lc))))
+ ((,monokai-class (:background ,monokai-diff-green-emphasis))
+ (,monokai-256-class (:background ,monokai-256-diff-green-emphasis))))
`(ediff-fine-diff-C
- ((,monokai-class (:background ,monokai-yellow-lc))
- (,monokai-256-class (:background ,monokai-256-yellow-lc))))
+ ((,monokai-class (:background ,monokai-diff-blue-emphasis))
+ (,monokai-256-class (:background ,monokai-256-diff-blue-emphasis))))
+
+ `(ediff-current-diff-A
+ ((,monokai-class (:background ,monokai-diff-red-base))
+ (,monokai-256-class (:background ,monokai-256-diff-red-base))))
+
+ `(ediff-current-diff-B
+ ((,monokai-class (:background ,monokai-diff-green-base))
+ (,monokai-256-class (:background ,monokai-256-diff-green-base))))
`(ediff-current-diff-C
- ((,monokai-class (:background ,monokai-blue-lc))
- (,monokai-256-class (:background ,monokai-256-blue-lc))))
+ ((,monokai-class (:background ,monokai-diff-blue-base))
+ (,monokai-256-class (:background ,monokai-256-diff-blue-base))))
`(ediff-even-diff-A
((,monokai-class (:background ,monokai-comments
@@ -4933,6 +4958,28 @@ Also affects 'linum-mode' background."
((,monokai-class (:foreground ,monokai-red))
(,monokai-256-class (:foreground ,monokai-256-red))))
+ ;; smerge
+ `(smerge-base
+ ((,monokai-class (:background ,monokai-diff-blue-base))
+ (,monokai-256-class (:background ,monokai-256-diff-blue-base))))
+ `(smerge-upper
+ ((,monokai-class (:background ,monokai-diff-red-base))
+ (,monokai-256-class (:background ,monokai-256-diff-red-base))))
+ `(smerge-lower
+ ((,monokai-class (:background ,monokai-diff-green-base))
+ (,monokai-256-class (:background ,monokai-256-diff-green-base))))
+ ;; WARNING: defining this face will overwrite the next two when displaying a
+ ;; smerge diff in a file.
+ ;; `(smerge-refined-changed
+ ;; ((,monokai-class (:background ,monokai-diff-blue-emphasis))
+ ;; (,monokai-256-class (:background ,monokai-256-diff-blue-emphasis))))
+ `(smerge-refined-added
+ ((,monokai-class (:background ,monokai-diff-green-emphasis))
+ (,monokai-256-class (:background ,monokai-256-diff-green-emphasis))))
+ `(smerge-refined-removed
+ ((,monokai-class (:background ,monokai-diff-red-emphasis))
+ (,monokai-256-class (:background ,monokai-256-diff-red-emphasis))))
+
;; speedbar
`(speedbar-button-face
((,monokai-class (:inherit ,monokai-pitch
- [nongnu] elpa/monokai-theme 99c5842 102/207: Update helm faces (finally!), (continued)
- [nongnu] elpa/monokai-theme 99c5842 102/207: Update helm faces (finally!), ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme 92235b1 116/207: Rename fringe variable and remove high-contrast option, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme acb21a0 118/207: Add swiper faces, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme b555826 131/207: Expose primary, background and foreground colors, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme 241f7a2 155/207: Merge pull request #69 from fap-/68-adoc-mode-barely-readable, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme 2e89bf7 162/207: Correct fringe 256 colors, add more defs, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme 65970ea 143/207: Rename some core variables, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme 7364418 167/207: Change pos-tip color., ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme 5a3fa99 194/207: Merge pull request #91 from seagle0128/master, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme bb5cbbd 186/207: Update version number, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme 9d28eff 199/207: Better colors for smerge and ediff,
ELPA Syncer <=
- [nongnu] elpa/monokai-theme e4add60 195/207: Add license file, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme 2e987cf 019/207: Merge pull request #9 from nhessler/fix-autoload, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme b558b2f 013/207: Add 256 color support for terminals using "emacs -nw" using approximate colors. Reformat the code. Leave background color for terminals to "nil" which uses the default terminal backgroundcolor., ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme 45687ff 025/207: Add company-scrollbar faces, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme d05bdc4 026/207: replace hl color with a more distinguishable color, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme 9a6f126 037/207: closes #15 remove in-terminal hack :), ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme ca30989 052/207: Update some of the look and feel, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme b195af2 058/207: Use terminal friendly contrast colours, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme 65ce3bd 062/207: Change 'monokai-hl' color code for powerline according to 'header-line' and 'hl-line' faces, ELPA Syncer, 2021/10/21
- [nongnu] elpa/monokai-theme d09aef0 073/207: Use actual color variables for mmm-mode faces (oops 😳), ELPA Syncer, 2021/10/21