[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master e583767 284/433: Provide more sensible face defaults for d
From: |
Dmitry Gutov |
Subject: |
[elpa] master e583767 284/433: Provide more sensible face defaults for dark and light backgrounds |
Date: |
Thu, 15 Mar 2018 19:44:21 -0400 (EDT) |
branch: master
commit e58376725e8f45c723b838d59a102e4c00a7c980
Author: Alexander Zangerl <address@hidden>
Commit: Steve Purcell <address@hidden>
Provide more sensible face defaults for dark and light backgrounds
---
mmm-vars.el | 32 ++++++++++++++++++++++++--------
1 file changed, 24 insertions(+), 8 deletions(-)
diff --git a/mmm-vars.el b/mmm-vars.el
index d4961ed..ca70b92 100644
--- a/mmm-vars.el
+++ b/mmm-vars.el
@@ -378,35 +378,51 @@ of coloring respectively.
(const :tag "Low" 1)
(const :tag "High" 2)))
-(defface mmm-init-submode-face '((t (:background "Pink")))
+(defface mmm-init-submode-face '((((background light)) (:background "Pink"))
+ (((background dark)) (:background
"MediumOrchid"))
+ (t (:background "Pink")))
"Face used for submodes containing initialization code."
:group 'mmm-faces)
-(defface mmm-cleanup-submode-face '((t (:background "Wheat")))
+(defface mmm-cleanup-submode-face '((((background light)) (:background
"Wheat"))
+ (((background dark)) (:background "peru"))
+ (t (:background "Wheat")))
"Face used for submodes containing cleanup code."
:group 'mmm-faces)
-(defface mmm-declaration-submode-face '((t (:background "Aquamarine")))
+(defface mmm-declaration-submode-face '((((background light)) (:background
"Aquamarine"))
+ (((background dark)) (:background
"DarkTurquoise"))
+ (t (:background "Aquamarine")))
"Face used for submodes containing declarations."
:group 'mmm-faces)
-(defface mmm-comment-submode-face '((t (:background "SkyBlue")))
+(defface mmm-comment-submode-face '((((background light)) (:background
"SkyBlue"))
+ (((background dark)) (:background
"SteelBlue"))
+ (t (:background "SkyBlue")))
"Face used for submodes containing comments and documentation."
:group 'mmm-faces)
-(defface mmm-output-submode-face '((t (:background "Plum")))
+(defface mmm-output-submode-face '((((background light)) (:background "Plum"))
+ (((background dark)) (:background
"MediumVioletRed"))
+ (t (:background "Plum")))
"Face used for submodes containing expression that are output."
:group 'mmm-faces)
-(defface mmm-special-submode-face '((t (:background "MediumSpringGreen")))
+(defface mmm-special-submode-face '((((background light)) (:background
"MediumSpringGreen"))
+ (((background dark)) (:background
"ForestGreen"))
+ (t (:background "MediumSpringGreen")))
"Face used for special submodes not fitting any other category."
:group 'mmm-faces)
-(defface mmm-code-submode-face '((t (:background "LightGray")))
+(defface mmm-code-submode-face '((((background light)) (:background
"LightGray"))
+ (((background dark)) (:background "DimGray"))
+ (t (:background "LightGray")))
"Face used for submodes containing ordinary code."
:group 'mmm-faces)
-(defface mmm-default-submode-face '((t (:background "gray85")))
+(defface mmm-default-submode-face '((((background light)) (:background
"gray85"))
+ (((background dark)) (:background "gray20"))
+ (t (:background "gray85")))
"Face used for all submodes at decoration level 1.
Also used at decoration level 2 for submodes not specifying a type."
:group 'mmm-faces)
- [elpa] master 2c9532b 326/433: Simplify mmm-update-mode-info, (continued)
- [elpa] master 2c9532b 326/433: Simplify mmm-update-mode-info, Dmitry Gutov, 2018/03/15
- [elpa] master e767fa2 265/433: Added script and documentation for installing from CVS, Dmitry Gutov, 2018/03/15
- [elpa] master 7965887 279/433: Fix error in mmm-mode when Emacs 23 immediately evaporates zero-width submode regions, Dmitry Gutov, 2018/03/15
- [elpa] master 7da80fb 422/433: Add cl-lib package dependency, Dmitry Gutov, 2018/03/15
- [elpa] master cd66bdd 316/433: Improve mmm-erb usage instructions, Dmitry Gutov, 2018/03/15
- [elpa] master 2e06d3d 356/433: Remove the useless CVS $Id tags, Dmitry Gutov, 2018/03/15
- [elpa] master 68fe94d 274/433: (mmm-ify): Change defaults for front-delim and, Dmitry Gutov, 2018/03/15
- [elpa] master 28d51d2 312/433: Note availability of Melpa packages, Dmitry Gutov, 2018/03/15
- [elpa] master 406e120 330/433: Merge pull request #19 from dgutov/font-lock, Dmitry Gutov, 2018/03/15
- [elpa] master 509660a 354/433: Merge pull request #22 from purcell/indentation, Dmitry Gutov, 2018/03/15
- [elpa] master e583767 284/433: Provide more sensible face defaults for dark and light backgrounds,
Dmitry Gutov <=
- [elpa] master c28501c 387/433: Don't use syntax-begin-function, Dmitry Gutov, 2018/03/15
- [elpa] master 141bbee 352/433: Remove regexp-opt's legacy stuff, Dmitry Gutov, 2018/03/15
- [elpa] master ff4c564 344/433: * mmm-noweb.el: Add the FIXME note., Dmitry Gutov, 2018/03/15
- [elpa] master 5c152e0 334/433: Merge pull request #20 from dgutov/overlays, Dmitry Gutov, 2018/03/15
- [elpa] master 16907a3 368/433: Delete .cvsignore, move almost everything to .gitignore, Dmitry Gutov, 2018/03/15
- [elpa] master df0d56b 406/433: Fix regression from the previous commit, Dmitry Gutov, 2018/03/15
- [elpa] master 50764ae 269/433: Fixed back recognition of output regions., Dmitry Gutov, 2018/03/15
- [elpa] master cb905bd 431/433: Add copyright blurbs to the test files, Dmitry Gutov, 2018/03/15
- [elpa] master 38f1f2a 390/433: Update TODO, Dmitry Gutov, 2018/03/15
- [elpa] master 6406e1a 357/433: Update NEWS, Dmitry Gutov, 2018/03/15