[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/gotham-theme 189bb2f76d 155/214: Rename 256-color customiz
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/gotham-theme 189bb2f76d 155/214: Rename 256-color customizable to avoid confusion |
Date: |
Fri, 7 Jan 2022 17:58:50 -0500 (EST) |
branch: elpa/gotham-theme
commit 189bb2f76d28326e81ad7ae30225f77e2b29a601
Author: Vasilij Schneidermann <v.schneidermann@gmail.com>
Commit: Vasilij Schneidermann <v.schneidermann@gmail.com>
Rename 256-color customizable to avoid confusion
---
gotham-theme.el | 40 +++++++++++++++++++++-------------------
1 file changed, 21 insertions(+), 19 deletions(-)
diff --git a/gotham-theme.el b/gotham-theme.el
index 0e6bdd69a5..e657878457 100644
--- a/gotham-theme.el
+++ b/gotham-theme.el
@@ -43,8 +43,10 @@
(deftheme gotham "The Gotham color theme")
-(defcustom gotham-tty-extended-palette nil
- "Use the extended 256-color palette in the terminal?
+(define-obsolete-variable-alias 'gotham-tty-extended-palette
+ 'gotham-tty-256-colors "1.1.6")
+(defcustom gotham-tty-256-colors nil
+ "Use the regular 256-color palette in the terminal?
When t, assume a regular 256-color palette, otherwise assume a
customized 16-color palette."
:type '(boolean (const :tag "16 colors" nil)
@@ -52,23 +54,23 @@ customized 16-color palette."
:group 'gotham)
(defvar gotham-color-alist
- `((base0 "#0c1014" ,(if gotham-tty-extended-palette "color-232" "black"))
- (base1 "#11151c" ,(if gotham-tty-extended-palette "color-233"
"brightblack"))
- (base2 "#091f2e" ,(if gotham-tty-extended-palette "color-17"
"brightgreen"))
- (base3 "#0a3749" ,(if gotham-tty-extended-palette "color-18"
"brightblue"))
- (base4 "#245361" ,(if gotham-tty-extended-palette "color-24"
"brightyellow"))
- (base5 "#599cab" ,(if gotham-tty-extended-palette "color-81"
"brightcyan"))
- (base6 "#99d1ce" ,(if gotham-tty-extended-palette "color-122" "white"))
- (base7 "#d3ebe9" ,(if gotham-tty-extended-palette "color-194"
"brightwhite"))
-
- (red "#c23127" ,(if gotham-tty-extended-palette "color-124" "red"))
- (orange "#d26937" ,(if gotham-tty-extended-palette "color-166"
"brightred"))
- (yellow "#edb443" ,(if gotham-tty-extended-palette "color-214" "yellow"))
- (magenta "#888ca6" ,(if gotham-tty-extended-palette "color-67"
"brightmagenta"))
- (violet "#4e5166" ,(if gotham-tty-extended-palette "color-60" "magenta"))
- (blue "#195466" ,(if gotham-tty-extended-palette "color-24" "blue"))
- (cyan "#33859e" ,(if gotham-tty-extended-palette "color-44" "cyan"))
- (green "#2aa889" ,(if gotham-tty-extended-palette "color-78" "green")))
+ `((base0 "#0c1014" ,(if gotham-tty-256-colors "color-232" "black"))
+ (base1 "#11151c" ,(if gotham-tty-256-colors "color-233" "brightblack"))
+ (base2 "#091f2e" ,(if gotham-tty-256-colors "color-17" "brightgreen"))
+ (base3 "#0a3749" ,(if gotham-tty-256-colors "color-18" "brightblue"))
+ (base4 "#245361" ,(if gotham-tty-256-colors "color-24" "brightyellow"))
+ (base5 "#599cab" ,(if gotham-tty-256-colors "color-81" "brightcyan"))
+ (base6 "#99d1ce" ,(if gotham-tty-256-colors "color-122" "white"))
+ (base7 "#d3ebe9" ,(if gotham-tty-256-colors "color-194" "brightwhite"))
+
+ (red "#c23127" ,(if gotham-tty-256-colors "color-124" "red"))
+ (orange "#d26937" ,(if gotham-tty-256-colors "color-166" "brightred"))
+ (yellow "#edb443" ,(if gotham-tty-256-colors "color-214" "yellow"))
+ (magenta "#888ca6" ,(if gotham-tty-256-colors "color-67" "brightmagenta"))
+ (violet "#4e5166" ,(if gotham-tty-256-colors "color-60" "magenta"))
+ (blue "#195466" ,(if gotham-tty-256-colors "color-24" "blue"))
+ (cyan "#33859e" ,(if gotham-tty-256-colors "color-44" "cyan"))
+ (green "#2aa889" ,(if gotham-tty-256-colors "color-78" "green")))
"List of colors the theme consists of.")
(defun gotham-set-faces (faces)
- [nongnu] elpa/gotham-theme 7e889209c8 130/214: Merge pull request #31 from drot/master, (continued)
- [nongnu] elpa/gotham-theme 7e889209c8 130/214: Merge pull request #31 from drot/master, ELPA Syncer, 2022/01/07
- [nongnu] elpa/gotham-theme f8265abe2f 131/214: add neotree support, ELPA Syncer, 2022/01/07
- [nongnu] elpa/gotham-theme 287d408156 134/214: Merge pull request #33 from drot/master, ELPA Syncer, 2022/01/07
- [nongnu] elpa/gotham-theme 455840ef09 138/214: Merge pull request #35 from drot/master, ELPA Syncer, 2022/01/07
- [nongnu] elpa/gotham-theme ae010a6d52 140/214: Merge pull request #36 from drot/master, ELPA Syncer, 2022/01/07
- [nongnu] elpa/gotham-theme 25e2a3af8a 145/214: Merge pull request #38 from drot/master, ELPA Syncer, 2022/01/07
- [nongnu] elpa/gotham-theme d701c5f0f3 146/214: add dired-async-failures face, ELPA Syncer, 2022/01/07
- [nongnu] elpa/gotham-theme 593acf4605 149/214: inherit faces for elfeed-log, ELPA Syncer, 2022/01/07
- [nongnu] elpa/gotham-theme 65062715e6 148/214: add elfeed-log faces, ELPA Syncer, 2022/01/07
- [nongnu] elpa/gotham-theme f04f2d500b 154/214: Merge pull request #41 from jagrg/emms, ELPA Syncer, 2022/01/07
- [nongnu] elpa/gotham-theme 189bb2f76d 155/214: Rename 256-color customizable to avoid confusion,
ELPA Syncer <=
- [nongnu] elpa/gotham-theme 223f3771d8 158/214: Merge pull request #42 from drot/master, ELPA Syncer, 2022/01/07
- [nongnu] elpa/gotham-theme 76867abd51 160/214: add support for re-builder, ELPA Syncer, 2022/01/07
- [nongnu] elpa/gotham-theme b3029a8525 161/214: Merge pull request #44 from drot/master, ELPA Syncer, 2022/01/07
- [nongnu] elpa/gotham-theme f380c2653c 151/214: Merge pull request #40 from drot/master, ELPA Syncer, 2022/01/07
- [nongnu] elpa/gotham-theme 7de5a1ac03 162/214: Remove unnecessary face definition, ELPA Syncer, 2022/01/07
- [nongnu] elpa/gotham-theme c38967a1b0 165/214: Merge pull request #46 from drot/master, ELPA Syncer, 2022/01/07
- [nongnu] elpa/gotham-theme d9b00bd93a 163/214: Replace :inherit specs depending on other packages, ELPA Syncer, 2022/01/07
- [nongnu] elpa/gotham-theme aca1bdd189 169/214: Merge pull request #49 from jagrg/emms, ELPA Syncer, 2022/01/07
- [nongnu] elpa/gotham-theme 136c121cc8 167/214: Merge pull request #48 from jagrg/emms, ELPA Syncer, 2022/01/07
- [nongnu] elpa/gotham-theme a3537c44e3 172/214: Merge pull request #50 from jagrg/emms, ELPA Syncer, 2022/01/07