aboutsummaryrefslogtreecommitdiff
path: root/ef-cyprus-theme.el
diff options
context:
space:
mode:
authorProtesilaos Stavrou <info@protesilaos.com>2023-10-25 12:13:40 +0300
committerProtesilaos Stavrou <info@protesilaos.com>2023-10-25 12:13:40 +0300
commite4feb5f9c2dd8e69806a7d4c87bbd2f924a99284 (patch)
tree2d793fd1a26ffc241e4b50cbb9b88ec3de457adb /ef-cyprus-theme.el
parent5305f6cf9c0486860022c242ee5585db4057597c (diff)
BREAKING: remove 'ef-themes-region' and document how to use overrides
I am introducing the new 'fg-region' entry in each theme's palette. It is semantic colour mapping for the region's foreground. By default, it is set to the special 'unspecified' symbol, meaning that the region's underlying text colour is not overriden. Setting 'fg-region' to a colour will override all underlying region foregrounds with that one. Using palette overrides instead of hardcoded toggles gives users maximum flexibility over the choice of colour and exact intensity they need.
Diffstat (limited to 'ef-cyprus-theme.el')
-rw-r--r--ef-cyprus-theme.el8
1 files changed, 3 insertions, 5 deletions
diff --git a/ef-cyprus-theme.el b/ef-cyprus-theme.el
index ba55ab0..dd58412 100644
--- a/ef-cyprus-theme.el
+++ b/ef-cyprus-theme.el
@@ -141,7 +141,6 @@
(bg-hover "#efc26f")
(bg-hover-secondary "#afc0f0")
(bg-hl-line "#f0e0d4")
- (bg-region "#e0e7e5")
(bg-paren "#9fcfdf")
(bg-err "#ffd4bf") ; check with err
(bg-warning "#f0e8ba") ; check with warning
@@ -163,10 +162,6 @@
(bg-char-1 "#ffaaff")
(bg-char-2 "#dff000")
-;;; Conditional hues
-
- (bg-region-intense "#dcd09f")
-
;;; Mappings
;;;; General mappings
@@ -182,6 +177,9 @@
(identifier green-faint)
(prompt green)
+ (bg-region "#e0e7e5")
+ (fg-region unspecified)
+
;;;; Code mappings
(builtin green-warmer)