branch: elpa/monokai-theme
commit f27ca17f8a30bb72fc08b82dfa5d320acd00b71b
Author: Kelvin Smith <[email protected]>
Commit: Kelvin Smith <[email protected]>

    Fixes #35: adds contrast to regions i.e. in transient-mark-mode
---
 monokai-theme.el | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/monokai-theme.el b/monokai-theme.el
index 4e5c4e4..ca25d6b 100644
--- a/monokai-theme.el
+++ b/monokai-theme.el
@@ -128,8 +128,8 @@ Also affects 'linum-mode' background."
        ;; Adaptive colors
        (monokai-fg               "#F8F8F2")
        (monokai-bg               "#272822")
-       (monokai-hl-line          "#3E3D31")
        (monokai-hl               "#49483E")
+       (monokai-hl-line          "#49483E")
        (monokai-emph             "#F8F8F0")
        (monokai-comments         "#75715E")
        ;; Adaptive higher/lower contrast accented colors
@@ -769,9 +769,11 @@ Also affects 'linum-mode' background."
                                                          :style 
unspecified)))))
 
    `(region
-     ((,class (:background ,monokai-hl
+     ((,class (:foreground ,monokai-bg
+                          :background ,blue
                            :inherit t))
-      (,terminal-class (:background ,terminal-monokai-hl
+      (,terminal-class (:foreground ,terminal-monokai-bg
+                                    :background ,terminal-blue
                                     :inherit t))))
 
    `(secondary-selection

Reply via email to