Adequacy of min-colors thresholds
Heime <[email protected]> Sun, 12 Jul 2026 21:46:38 +0000
| Newsgroups | gmane.emacs.help |
|---|---|
| Message-ID | <VKCLHl2FzYEI_FGeasSU9udegcNZUYJTdTxm210-3bvWubEsDj0RN2cg3x2UI_C8_2PG0kiIM-hbacLolX7obyc_hW5OgImUmu6-YCllrZk=@protonmail.com> |
I have Specified different styling for different display environments.
But do not know whether it is appropriate or sufficient.
What min-colors should I include? Is it (min-colors 8), (min-colors 16),
and (min-colors 88)? Would one go beyond 88, and is 8 too uncommon these
days when using emacs?
(defface kronaire-highlight
'((((class color) (min-colors 88) (background light))
:background "darkseagreen2")
(((class color) (min-colors 88) (background dark))
:background "darkolivegreen")
(((class color) (min-colors 16) (background light))
:background "darkseagreen2")
(((class color) (min-colors 16) (background dark))
:background "darkolivegreen")
(((class color) (min-colors 8))
:background "green" :foreground "black")
(t :inverse-video t))
"Basic type face for kronaire display Unit."
:group 'kronaire-faces)