[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/modus-operandi-theme 8aac934 056/112: Add support for C
From: |
Stefan Monnier |
Subject: |
[elpa] externals/modus-operandi-theme 8aac934 056/112: Add support for CENTAUR-TABS |
Date: |
Mon, 30 Mar 2020 15:59:37 -0400 (EDT) |
branch: externals/modus-operandi-theme
commit 8aac9345a8ce846471e4a77ada2b221da41432f6
Author: Protesilaos Stavrou <address@hidden>
Commit: Protesilaos Stavrou <address@hidden>
Add support for CENTAUR-TABS
This addresses issue 25:
https://gitlab.com/protesilaos/modus-themes/-/issues/25
Note that I have experienced an issue with the colour of the bar that is
drawn on the current tab when setting `centaur-tabs-set-bar'. The
colour does not change when switching from one theme to another (Modus
Operandi => Modus Vivendi, and vice-versa). Whereas all other faces
adapt as expected.
My understanding is that the bar's colour is hard-coded, probably
inheriting from the active theme at the time the aforementioned variable
is first set.
I researched other themes that are linked for this package's README, to
see whether they provide a solution to this issue. None of them seems
to have anything on the matter. I thus assume there is some bug with
Centaur Tabs that I cannot troubleshoot as I am not a regular user.
Please check and report it accordingly.
---
README.org | 1 +
modus-operandi-theme.el | 13 +++++++++++++
modus-vivendi-theme.el | 13 +++++++++++++
3 files changed, 27 insertions(+)
diff --git a/README.org b/README.org
index c302e83..a516459 100644
--- a/README.org
+++ b/README.org
@@ -181,6 +181,7 @@ the "full support" may not be 100% true…
+ buffer-expose
+ calendar and diary
+ calfw
++ centaur-tabs
+ change-log and log-view (=vc-print-log= and =vc-print-root-log=)
+ cider
+ column-enforce-mode
diff --git a/modus-operandi-theme.el b/modus-operandi-theme.el
index b41a189..0aa8eac 100644
--- a/modus-operandi-theme.el
+++ b/modus-operandi-theme.el
@@ -71,6 +71,7 @@
;; buffer-expose
;; calendar and diary
;; calfw
+;; centaur-tabs
;; change-log and log-view (`vc-print-log' and `vc-print-root-log')
;; cider
;; column-enforce-mode
@@ -691,6 +692,18 @@ between foreground and background is >= 7:1)."
`(cfw:face-toolbar ((,class (:background ,bg-active :foreground
,bg-active))))
`(cfw:face-toolbar-button-off ((,class (:background ,bg-alt :foreground
,cyan))))
`(cfw:face-toolbar-button-on ((,class (:background ,bg-main :foreground
,blue-intense :weight bold))))
+ ;;;; centaur-tabs
+ `(centaur-tabs-active-bar-face ((,class (:background ,fg-tab-active))))
+ `(centaur-tabs-close-mouse-face ((,class (:underline t))))
+ `(centaur-tabs-close-selected ((,class (:inherit centaur-tabs-selected))))
+ `(centaur-tabs-close-unselected ((,class (:inherit
centaur-tabs-unselected))))
+ `(centaur-tabs-modified-marker-selected ((,class (:inherit
centaur-tabs-selected))))
+ `(centaur-tabs-modified-marker-unselected ((,class (:inherit
centaur-tabs-unselected))))
+ `(centaur-tabs-default ((,class (:background ,bg-main :foreground
,bg-main))))
+ `(centaur-tabs-selected ((,class (:background ,bg-tab-active :foreground
,fg-main))))
+ `(centaur-tabs-selected-modified ((,class (:background ,bg-tab-active
:foreground ,fg-main :slant italic))))
+ `(centaur-tabs-unselected ((,class (:background ,bg-tab-inactive
:foreground ,fg-dim))))
+ `(centaur-tabs-unselected-modified ((,class (:background ,bg-tab-inactive
:foreground ,fg-dim :slant italic))))
;;;; change-log and log-view (`vc-print-log' and `vc-print-root-log')
`(change-log-acknowledgment ((,class (:foreground ,yellow-nuanced))))
`(change-log-conditionals ((,class (:foreground ,magenta-alt))))
diff --git a/modus-vivendi-theme.el b/modus-vivendi-theme.el
index cd22696..aa14f2e 100644
--- a/modus-vivendi-theme.el
+++ b/modus-vivendi-theme.el
@@ -71,6 +71,7 @@
;; buffer-expose
;; calendar and diary
;; calfw
+;; centaur-tabs
;; change-log and log-view (`vc-print-log' and `vc-print-root-log')
;; cider
;; column-enforce-mode
@@ -691,6 +692,18 @@ between foreground and background is >= 7:1)."
`(cfw:face-toolbar ((,class (:background ,bg-active :foreground
,bg-active))))
`(cfw:face-toolbar-button-off ((,class (:background ,bg-alt :foreground
,cyan))))
`(cfw:face-toolbar-button-on ((,class (:background ,bg-main :foreground
,blue-intense :weight bold))))
+ ;;;; centaur-tabs
+ `(centaur-tabs-active-bar-face ((,class (:background ,fg-tab-active))))
+ `(centaur-tabs-close-mouse-face ((,class (:underline t))))
+ `(centaur-tabs-close-selected ((,class (:inherit centaur-tabs-selected))))
+ `(centaur-tabs-close-unselected ((,class (:inherit
centaur-tabs-unselected))))
+ `(centaur-tabs-modified-marker-selected ((,class (:inherit
centaur-tabs-selected))))
+ `(centaur-tabs-modified-marker-unselected ((,class (:inherit
centaur-tabs-unselected))))
+ `(centaur-tabs-default ((,class (:background ,bg-main :foreground
,bg-main))))
+ `(centaur-tabs-selected ((,class (:background ,bg-tab-active :foreground
,fg-main))))
+ `(centaur-tabs-selected-modified ((,class (:background ,bg-tab-active
:foreground ,fg-main :slant italic))))
+ `(centaur-tabs-unselected ((,class (:background ,bg-tab-inactive
:foreground ,fg-dim))))
+ `(centaur-tabs-unselected-modified ((,class (:background ,bg-tab-inactive
:foreground ,fg-dim :slant italic))))
;;;; change-log and log-view (`vc-print-log' and `vc-print-root-log')
`(change-log-acknowledgment ((,class (:foreground ,yellow-nuanced))))
`(change-log-conditionals ((,class (:foreground ,magenta-alt))))
- [elpa] externals/modus-operandi-theme 8ed8b43 039/112: Add support for BUFLER, (continued)
- [elpa] externals/modus-operandi-theme 8ed8b43 039/112: Add support for BUFLER, Stefan Monnier, 2020/03/30
- [elpa] externals/modus-operandi-theme 8bf2129 046/112: Internal: remove a few superfluous parentheses, Stefan Monnier, 2020/03/30
- [elpa] externals/modus-operandi-theme 497ed60 034/112: Reword note in README for Helm grep, Stefan Monnier, 2020/03/30
- [elpa] externals/modus-operandi-theme b09c076 041/112: Add support for BM (visual bookmarks for Emacs), Stefan Monnier, 2020/03/30
- [elpa] externals/modus-operandi-theme 84ea727 045/112: Add tentative support for MARKUP-FACES (adoc-mode), Stefan Monnier, 2020/03/30
- [elpa] externals/modus-operandi-theme 709ecfe 047/112: Add tentative support for CIDER, Stefan Monnier, 2020/03/30
- [elpa] externals/modus-operandi-theme efae501 050/112: Add support for SELECTRUM, Stefan Monnier, 2020/03/30
- [elpa] externals/modus-operandi-theme 990539b 055/112: Define dedicated colours for tabs, Stefan Monnier, 2020/03/30
- [elpa] externals/modus-operandi-theme 46c99ed 057/112: Do not set the default background in non-GUI Emacs, Stefan Monnier, 2020/03/30
- [elpa] externals/modus-operandi-theme 856626d 051/112: Add CHANGELOG with release notes of all tags, Stefan Monnier, 2020/03/30
- [elpa] externals/modus-operandi-theme 8aac934 056/112: Add support for CENTAUR-TABS,
Stefan Monnier <=
- [elpa] externals/modus-operandi-theme cc9e4c5 059/112: Add support for ORG-SUPERSTAR, Stefan Monnier, 2020/03/30
- [elpa] externals/modus-operandi-theme a4d69ba 060/112: Add support for HIGHLIGHT-THING, Stefan Monnier, 2020/03/30
- [elpa] externals/modus-operandi-theme d454e0f 064/112: Use appropriate red for `trailing-whitespace', Stefan Monnier, 2020/03/30
- [elpa] externals/modus-operandi-theme 2d1c21c 077/112: Use new fringe colours in BM fringe indicators, Stefan Monnier, 2020/03/30
- [elpa] externals/modus-operandi-theme cac1f03 085/112: Support HIGHLIGHT-ESCAPE-SEQUENCES (hes-mode), Stefan Monnier, 2020/03/30
- [elpa] externals/modus-operandi-theme a5f4ece 033/112: Refinements for MAGIT/DIFF hunk headers, Stefan Monnier, 2020/03/30
- [elpa] externals/modus-operandi-theme 618560a 038/112: Remove box property from `mode-line-emphasis', Stefan Monnier, 2020/03/30
- [elpa] externals/modus-operandi-theme 00249c8 040/112: Revert "Add support for BUFLER", Stefan Monnier, 2020/03/30
- [elpa] externals/modus-operandi-theme 7ae7684 048/112: Internal: minor doc update, Stefan Monnier, 2020/03/30
- [elpa] externals/modus-operandi-theme fe71333 049/112: Add support for SESMAN, Stefan Monnier, 2020/03/30