Commit f3e848f4 authored by Adrian Robert's avatar Adrian Robert
Browse files

Default light-background background for region face to ns_selection_color under NS.

parent aa36cda6
...@@ -2278,9 +2278,14 @@ terminal type to a different value." ...@@ -2278,9 +2278,14 @@ terminal type to a different value."
"Basic face for highlighting." "Basic face for highlighting."
:group 'basic-faces) :group 'basic-faces)
;; Region face: under NS, default to the system-defined selection
;; color (optimized for the fixed white background of other apps),
;; if background is light.
(defface region (defface region
'((((class color) (min-colors 88) (background dark)) '((((class color) (min-colors 88) (background dark))
:background "blue3") :background "blue3")
(((class color) (min-colors 88) (background light) (type ns))
:background "ns_selection_color")
(((class color) (min-colors 88) (background light)) (((class color) (min-colors 88) (background light))
:background "lightgoldenrod2") :background "lightgoldenrod2")
(((class color) (min-colors 16) (background dark)) (((class color) (min-colors 16) (background dark))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment