[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ef-themes b256ecffc4 256/281: Add ef-themes--palette he
From: |
ELPA Syncer |
Subject: |
[elpa] externals/ef-themes b256ecffc4 256/281: Add ef-themes--palette helper function |
Date: |
Tue, 16 Aug 2022 16:58:39 -0400 (EDT) |
branch: externals/ef-themes
commit b256ecffc4d45793cc29502a15a6a4bce803a9ab
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Add ef-themes--palette helper function
---
ef-themes.el | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/ef-themes.el b/ef-themes.el
index f4f9336764..d348eaa15b 100644
--- a/ef-themes.el
+++ b/ef-themes.el
@@ -63,12 +63,15 @@
(string-prefix-p "ef-" (symbol-name theme)))
custom-known-themes))
+(defun ef-themes--palette (theme)
+ "Return THEME palette as a symbol."
+ (intern (format "%s-palette" theme)))
+
(defun ef-themes--current-theme-palette ()
"Return palette of active Ef theme, else produce `user-error'."
(if-let* ((themes (ef-themes--list-enabled-themes))
- (palette (intern
- (format "%s-palette"
- (car themes)))))
+ (theme (car themes))
+ (palette (ef-themes--palette theme)))
palette
(user-error "No enabled Ef theme could be found")))
- [elpa] externals/ef-themes 7d31d65e56 203/281: Tweak foreground mapping of git summary line, (continued)
- [elpa] externals/ef-themes 7d31d65e56 203/281: Tweak foreground mapping of git summary line, ELPA Syncer, 2022/08/16
- [elpa] externals/ef-themes fceb3a3726 202/281: ef-day: tweak fg-main, fg-dim, ELPA Syncer, 2022/08/16
- [elpa] externals/ef-themes e50156ec02 201/281: ef-summer: tweak fg-dim, ELPA Syncer, 2022/08/16
- [elpa] externals/ef-themes 88a7e5aa67 199/281: Fix the TBLFM in ef-spring and recalc the table, ELPA Syncer, 2022/08/16
- [elpa] externals/ef-themes 93cbf77801 210/281: ef-night: tweak fg-alt, ELPA Syncer, 2022/08/16
- [elpa] externals/ef-themes 28c811389a 212/281: ef-day: tweak bg-mode-line, ELPA Syncer, 2022/08/16
- [elpa] externals/ef-themes 7b5c4fabb7 220/281: Add support for built-in which-function-mode, ELPA Syncer, 2022/08/16
- [elpa] externals/ef-themes d0c7fc3214 222/281: Add support for calendar and diary, ELPA Syncer, 2022/08/16
- [elpa] externals/ef-themes 4b009c0f64 232/281: Add support for regexp-builder (re-builder), ELPA Syncer, 2022/08/16
- [elpa] externals/ef-themes 1ca9f04c38 266/281: ef-winter: tweak rainbow-5 mapping, ELPA Syncer, 2022/08/16
- [elpa] externals/ef-themes b256ecffc4 256/281: Add ef-themes--palette helper function,
ELPA Syncer <=
- [elpa] externals/ef-themes 663d106f81 245/281: ef-summer: change mappings for date, name, ELPA Syncer, 2022/08/16
- [elpa] externals/ef-themes ae59638da7 248/281: Add ef-themes--list-enabled-themes for "ef-" items, ELPA Syncer, 2022/08/16
- [elpa] externals/ef-themes e8ca0241d0 274/281: Make builtin inherit bold, ELPA Syncer, 2022/08/16
- [elpa] externals/ef-themes 1552eb2b4f 265/281: ef-winter: tweak green hue, ELPA Syncer, 2022/08/16
- [elpa] externals/ef-themes aff1a244d5 247/281: Rename private function to denote its purpose, ELPA Syncer, 2022/08/16
- [elpa] externals/ef-themes 9c07bd2627 177/281: Simplify description of the themes, ELPA Syncer, 2022/08/16
- [elpa] externals/ef-themes 4104c62f30 234/281: Add support for tab-line-mode, ELPA Syncer, 2022/08/16
- [elpa] externals/ef-themes e9205d5d5e 130/281: Tweak height of headings, ELPA Syncer, 2022/08/16
- [elpa] externals/ef-themes b9908d3f76 135/281: ef-spring: tweak green hue, ELPA Syncer, 2022/08/16
- [elpa] externals/ef-themes ea0831b1e7 162/281: ef-autumn: tweak green-warmer, ELPA Syncer, 2022/08/16