emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/modus-vivendi-theme d386ee5 36/73: Add tentative suppor


From: Stefan Monnier
Subject: [elpa] externals/modus-vivendi-theme d386ee5 36/73: Add tentative support for SPACELINE
Date: Wed, 26 Aug 2020 09:20:58 -0400 (EDT)

branch: externals/modus-vivendi-theme
commit d386ee597ca8bb90ed6a078efa51be6afb30091e
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    Add tentative support for SPACELINE
    
    Consider this a work-in-progress: the scope of this package is quite
    broad and there may still be some case that I have not accounted for.
    
    This commit addresses issue 73:
    https://gitlab.com/protesilaos/modus-themes/-/issues/73
---
 README.org              |  1 +
 modus-operandi-theme.el | 16 ++++++++++++++++
 modus-vivendi-theme.el  | 16 ++++++++++++++++
 3 files changed, 33 insertions(+)

diff --git a/README.org b/README.org
index 6d249ac..f743ec6 100644
--- a/README.org
+++ b/README.org
@@ -1218,6 +1218,7 @@ the "full support" may not be 100% true…
 + smart-mode-line
 + smartparens
 + smerge
++ spaceline
 + speedbar
 + spell-fu
 + stripes
diff --git a/modus-operandi-theme.el b/modus-operandi-theme.el
index 0141c86..6e724b9 100644
--- a/modus-operandi-theme.el
+++ b/modus-operandi-theme.el
@@ -286,6 +286,7 @@
 ;;     smart-mode-line
 ;;     smartparens
 ;;     smerge
+;;     spaceline
 ;;     speedbar
 ;;     spell-fu
 ;;     stripes
@@ -3667,6 +3668,21 @@ Also bind `class' to ((class color) (min-colors 89))."
    `(smerge-upper ((,class ,@(modus-operandi-theme-diffs
                               bg-main red
                               bg-diff-focus-removed fg-diff-focus-removed))))
+;;;;; spaceline
+   `(spaceline-evil-emacs ((,class :inherit modus-theme-active-magenta)))
+   `(spaceline-evil-insert ((,class :inherit modus-theme-active-green)))
+   `(spaceline-evil-motion ((,class :inherit modus-theme-active-blue)))
+   `(spaceline-evil-normal ((,class :background ,fg-alt :foreground ,bg-alt)))
+   `(spaceline-evil-replace ((,class :inherit modus-theme-active-red)))
+   `(spaceline-evil-visual ((,class :inherit modus-theme-active-cyan)))
+   `(spaceline-flycheck-error ((,class :foreground ,red-active)))
+   `(spaceline-flycheck-info ((,class :foreground ,cyan-active)))
+   `(spaceline-flycheck-warning ((,class :foreground ,yellow-active)))
+   `(spaceline-highlight-face ((,class :inherit modus-theme-fringe-blue)))
+   `(spaceline-modified ((,class :inherit modus-theme-fringe-magenta)))
+   `(spaceline-python-venv ((,class :foreground ,magenta-active)))
+   `(spaceline-read-only ((,class :inherit modus-theme-fringe-red)))
+   `(spaceline-unmodified ((,class :inherit modus-theme-fringe-cyan)))
 ;;;;; speedbar
    `(speedbar-button-face ((,class :inherit link)))
    `(speedbar-directory-face ((,class :inherit bold :foreground ,blue)))
diff --git a/modus-vivendi-theme.el b/modus-vivendi-theme.el
index 75093d7..89059d8 100644
--- a/modus-vivendi-theme.el
+++ b/modus-vivendi-theme.el
@@ -286,6 +286,7 @@
 ;;     smart-mode-line
 ;;     smartparens
 ;;     smerge
+;;     spaceline
 ;;     speedbar
 ;;     spell-fu
 ;;     stripes
@@ -3667,6 +3668,21 @@ Also bind `class' to ((class color) (min-colors 89))."
    `(smerge-upper ((,class ,@(modus-vivendi-theme-diffs
                               bg-main red
                               bg-diff-focus-removed fg-diff-focus-removed))))
+;;;;; spaceline
+   `(spaceline-evil-emacs ((,class :inherit modus-theme-active-magenta)))
+   `(spaceline-evil-insert ((,class :inherit modus-theme-active-green)))
+   `(spaceline-evil-motion ((,class :inherit modus-theme-active-blue)))
+   `(spaceline-evil-normal ((,class :background ,fg-alt :foreground ,bg-alt)))
+   `(spaceline-evil-replace ((,class :inherit modus-theme-active-red)))
+   `(spaceline-evil-visual ((,class :inherit modus-theme-active-cyan)))
+   `(spaceline-flycheck-error ((,class :foreground ,red-active)))
+   `(spaceline-flycheck-info ((,class :foreground ,cyan-active)))
+   `(spaceline-flycheck-warning ((,class :foreground ,yellow-active)))
+   `(spaceline-highlight-face ((,class :inherit modus-theme-fringe-blue)))
+   `(spaceline-modified ((,class :inherit modus-theme-fringe-magenta)))
+   `(spaceline-python-venv ((,class :foreground ,magenta-active)))
+   `(spaceline-read-only ((,class :inherit modus-theme-fringe-red)))
+   `(spaceline-unmodified ((,class :inherit modus-theme-fringe-cyan)))
 ;;;;; speedbar
    `(speedbar-button-face ((,class :inherit link)))
    `(speedbar-directory-face ((,class :inherit bold :foreground ,blue)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]