aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuri Linkov2005-07-19 11:30:29 +0000
committerJuri Linkov2005-07-19 11:30:29 +0000
commit7ca87dab188d17256a3eff7a16dc3cc43bdffc56 (patch)
treec9f492cfb0dfae36de3fa1d2f110b7620391e680
parentf3abba999d1195c28090fcbeecd58e9fe50c32c7 (diff)
downloademacs-7ca87dab188d17256a3eff7a16dc3cc43bdffc56.tar.gz
emacs-7ca87dab188d17256a3eff7a16dc3cc43bdffc56.zip
(mode-line-highlight): Replace RoyalBlue4 with
a button-like box. Inherit from `highlight' on low colors. (shadow): Use shades of gray only for color/grayscale with more than 88 colors. Use green for light backgrounds with 8 colors, and yellow for dark backgrounds with 8 colors.
-rw-r--r--lisp/faces.el20
1 files changed, 12 insertions, 8 deletions
diff --git a/lisp/faces.el b/lisp/faces.el
index 35ec7ad24a5..1e24c6c6cb4 100644
--- a/lisp/faces.el
+++ b/lisp/faces.el
@@ -1882,12 +1882,10 @@ created."
1882 :group 'basic-faces) 1882 :group 'basic-faces)
1883 1883
1884(defface mode-line-highlight 1884(defface mode-line-highlight
1885 '((((class color) (min-colors 88) (background light)) 1885 '((((class color) (min-colors 88))
1886 :background "RoyalBlue4" :foreground "white") 1886 :box (:line-width 2 :color "grey40" :style released-button))
1887 (((class color) (min-colors 88) (background dark)) 1887 (t
1888 :background "light sky blue" :foreground "black") 1888 :inherit highlight))
1889 (t
1890 :inverse-video t))
1891 "Basic mode line face for highlighting." 1889 "Basic mode line face for highlighting."
1892 :version "22.1" 1890 :version "22.1"
1893 :group 'modeline 1891 :group 'modeline
@@ -2149,8 +2147,14 @@ Note: Other faces cannot inherit from the cursor face."
2149 :version "22.1") 2147 :version "22.1")
2150 2148
2151(defface shadow 2149(defface shadow
2152 '((((background dark)) :foreground "grey70") 2150 '((((class color grayscale) (min-colors 88) (background light))
2153 (((background light)) :foreground "grey50")) 2151 :foreground "grey50")
2152 (((class color grayscale) (min-colors 88) (background dark))
2153 :foreground "grey70")
2154 (((class color) (min-colors 8) (background light))
2155 :foreground "green")
2156 (((class color) (min-colors 8) (background dark))
2157 :foreground "yellow"))
2154 "Basic face for shadowed text." 2158 "Basic face for shadowed text."
2155 :group 'basic-faces 2159 :group 'basic-faces
2156 :version "22.1") 2160 :version "22.1")