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

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

[elpa] externals/standard-themes 9b370dfee6: Add support for powerline


From: ELPA Syncer
Subject: [elpa] externals/standard-themes 9b370dfee6: Add support for powerline
Date: Sat, 3 Dec 2022 00:58:26 -0500 (EST)

branch: externals/standard-themes
commit 9b370dfee695010b6944386d9e5f7842deb26eea
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    Add support for powerline
    
    I made it work, though it still is hard to support.
---
 README.org         | 11 +----------
 standard-themes.el |  7 +++++++
 2 files changed, 8 insertions(+), 10 deletions(-)

diff --git a/README.org b/README.org
index dd402ec229..a5bb66dd4a 100644
--- a/README.org
+++ b/README.org
@@ -1048,6 +1048,7 @@ everything most users need.
 - outline-minor-faces
 - package (=M-x list-packages=)
 - perspective
+- powerline [ Part of {{{development-version}}} ]
 - pulsar
 - pulse
 - rainbow-delimiters
@@ -1123,8 +1124,6 @@ unwillingness to be good Emacs citizens:
 
 - ein (Emacs IPython Notebook) :: external dependency that I don't use.
 
-- elfeed-goodies :: depends on =powerline=...
-
 - ement.el :: has an external dependency that I don't use.
 
 - helm :: it is complex and makes inconsiderate use of color.  Prefer
@@ -1138,23 +1137,15 @@ unwillingness to be good Emacs citizens:
 
 - lsp-mode :: has external dependencies that I don't use.
 
-- powerline :: requires too many shades of background and generally
-  violates our expectation of how the mode-line is supposed to look by
-  placing the designated default background in unexpected places.
-
 - solaire :: in principle, it is incompatible with practically every
   theme that is not designed around it.  Emacs does not distinguish
   between "UI" and "syntax" buffers.
 
-- spaceline :: same as =powerline=.
-
 - sx :: has an external dependency that I don't use.
 
 - telega :: has an external dependency that I don't use (I don't even
   have a smartphone).
 
-- telephone-line :: same as =powerline=.
-
 - treemacs :: it has too many dependencies and does too many things.
 
 - web-mode :: I don't use all those Web technologies and cannot test
diff --git a/standard-themes.el b/standard-themes.el
index 9d59a0fcee..ed7bec50b6 100644
--- a/standard-themes.el
+++ b/standard-themes.el
@@ -1734,6 +1734,13 @@ Helper function for `standard-themes-preview-colors'."
     `(package-status-unsigned ((,c :inherit error)))
 ;;;; perspective
     `(persp-selected-face ((,c :inherit mode-line-emphasis)))
+;;;; powerline
+    `(powerline-active0 ((,c :background ,fg-dim :foreground ,bg-main)))
+    `(powerline-active1 ((,c :inherit mode-line-active)))
+    `(powerline-active2 ((,c :inherit mode-line-inactive)))
+    `(powerline-inactive0 ((,c :background ,bg-active :foreground ,fg-dim)))
+    `(powerline-inactive1 ((,c :background ,bg-main :foreground ,fg-dim)))
+    `(powerline-inactive2 ((,c :inherit mode-line-inactive)))
 ;;;; rainbow-delimiters
     `(rainbow-delimiters-base-error-face ((,c :inherit (bold 
rainbow-delimiters-mismatched-face))))
     `(rainbow-delimiters-base-face    ((,c :foreground ,rainbow-0)))



reply via email to

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