branch: externals/modus-operandi-theme
commit 990539bf4a445f28105749185f077a4a00f2b847
Author: Protesilaos Stavrou <[email protected]>
Commit: Protesilaos Stavrou <[email protected]>
Define dedicated colours for tabs
These are meant to be used by the built-in `tab-bar-mode' that ships
with Emacs 27, as well as other packages that provide similar
functionality.
---
modus-operandi-theme.el | 11 ++++++++++-
modus-vivendi-theme.el | 11 ++++++++++-
2 files changed, 20 insertions(+), 2 deletions(-)
diff --git a/modus-operandi-theme.el b/modus-operandi-theme.el
index 72b78e9..b41a189 100644
--- a/modus-operandi-theme.el
+++ b/modus-operandi-theme.el
@@ -419,13 +419,22 @@ between foreground and background is >= 7:1)."
;; can be combined with any of the "active" values, plus the
;; "special" and base foreground colours
;;
- ;; `bg-region' must be combined with `fg-main'
+ ;; `bg-region' and `bg-tab-active' must be combined with
+ ;; `fg-main', while `bg-tab-inactive' should be combined with
+ ;; `fg-dim'
+ ;;
+ ;; `fg-tab-active' is meant to be combined with `bg-tab-active',
+ ;; though only for styling special elements, such as underlining
+ ;; the current tab
;;
;; the window divider colours apply to faces with just an fg value
;;
;; all other pairs are combinable with themselves
(bg-hl-line "#f1f2f6")
(bg-region "#bcbcbc")
+ (bg-tab-active "#ababab")
+ (bg-tab-inactive "#dadada")
+ (fg-tab-active "#000077")
(fg-window-divider-inner "#888888")
(fg-window-divider-outer "#585858")
(fg-header "#2a2a2a") (bg-header "#e5e5e5")
diff --git a/modus-vivendi-theme.el b/modus-vivendi-theme.el
index b172fc9..cd22696 100644
--- a/modus-vivendi-theme.el
+++ b/modus-vivendi-theme.el
@@ -419,13 +419,22 @@ between foreground and background is >= 7:1)."
;; can be combined with any of the "active" values, plus the
;; "special" and base foreground colours
;;
- ;; `bg-region' must be combined with `fg-main'
+ ;; `bg-region' and `bg-tab-active' must be combined with
+ ;; `fg-main', while `bg-tab-inactive' should be combined with
+ ;; `fg-dim'
+ ;;
+ ;; `fg-tab-active' is meant to be combined with `bg-tab-active',
+ ;; though only for styling special elements, such as underlining
+ ;; the current tab
;;
;; the window divider colours apply to faces with just an fg value
;;
;; all other pairs are combinable with themselves
(bg-hl-line "#151823")
(bg-region "#3c3c3c")
+ (bg-tab-active "#484848")
+ (bg-tab-inactive "#2f2f2f")
+ (fg-tab-active "#99efff")
(fg-window-divider-inner "#646464")
(fg-window-divider-outer "#969696")
(fg-header "#dddddd") (bg-header "#2a2a2a")