[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/dracula-theme 583a811 128/187: Add a new variable to enabl
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/dracula-theme 583a811 128/187: Add a new variable to enable an alternate modeline/minibuffer experience |
Date: |
Thu, 21 Oct 2021 18:05:08 -0400 (EDT) |
branch: elpa/dracula-theme
commit 583a811cfb6c8421f149745c320ae58b84a69c0c
Author: Étienne Deparis <etienne@depar.is>
Commit: Étienne Deparis <etienne@depar.is>
Add a new variable to enable an alternate modeline/minibuffer experience
---
dracula-theme.el | 30 +++++++++++++++++++++++++-----
1 file changed, 25 insertions(+), 5 deletions(-)
diff --git a/dracula-theme.el b/dracula-theme.el
index fbf3c8f..eddcebb 100644
--- a/dracula-theme.el
+++ b/dracula-theme.el
@@ -47,6 +47,11 @@ The theme has to be reloaded after changing anything in this
group."
:type 'number
:group 'dracula)
+(defcustom dracula-alternate-mode-line-and-minibuffer nil
+ "Use less bold and pink in the minibuffer."
+ :type 'boolean
+ :group 'dracula)
+
;; Assigment form: VARIABLE COLOR [TTY-COLOR]
(let ((colors '(;; Upstream theme color
(dracula-bg "#282a36" "#262626" nil) ; official background
@@ -83,7 +88,10 @@ The theme has to be reloaded after changing anything in this
group."
(linum :slant italic :foreground ,bg4 :background ,dracula-bg)
(line-number :slant italic :foreground ,bg4 :background
,dracula-bg)
(match :background ,dracula-yellow :foreground ,dracula-bg)
- (minibuffer-prompt :weight bold :foreground ,dracula-pink)
+ (minibuffer-prompt
+ ,@(if dracula-alternate-mode-line-and-minibuffer
+ (list :weight 'normal :foreground dracula-fg)
+ (list :weight 'bold :foreground dracula-pink)))
(region :inherit match :extend t)
(trailing-whitespace :foreground nil :background
,dracula-orange)
(vertical-border :foreground ,bg2)
@@ -296,9 +304,12 @@ The theme has to be reloaded after changing anything in
this group."
;; icomplete
(icompletep-determined :foreground ,dracula-orange)
;; ido
- (ido-first-match :foreground ,dracula-pink :weight bold)
+ (ido-first-match
+ ,@(if dracula-alternate-mode-line-and-minibuffer
+ (list :weight 'normal :foreground dracula-green)
+ (list :weight 'bold :foreground dracula-pink)))
(ido-only-match :foreground ,dracula-orange)
- (ido-subdir :foreground ,dracula-orange)
+ (ido-subdir :foreground ,dracula-yellow)
(ido-virtual :foreground ,dracula-cyan)
(ido-incomplete-regexp :inherit font-lock-warning-face)
(ido-indicator :foreground ,dracula-fg :background
,dracula-pink)
@@ -372,8 +383,17 @@ The theme has to be reloaded after changing anything in
this group."
(message-mml :foreground ,dracula-green :weight normal)
(message-header-xheader :foreground ,dracula-cyan :weight
normal)
;; mode-line
- (mode-line :foreground nil :background ,dracula-current :box
,dracula-current)
- (mode-line-inactive :foreground ,dracula-fg :background ,bg2
:box ,bg2)
+ (mode-line :background ,dracula-current
+ :box ,dracula-current :inverse-video nil
+ ,@(if dracula-alternate-mode-line-and-minibuffer
+ (list :foreground fg3)
+ (list :foreground nil)))
+ (mode-line-inactive
+ :inverse-video nil
+ ,@(if dracula-alternate-mode-line-and-minibuffer
+ (list :foreground dracula-comment :background dracula-bg
+ :box dracula-bg)
+ (list :foreground dracula-fg :background bg2 :box bg2)))
;; mu4e
(mu4e-unread-face :foreground ,dracula-pink :weight normal)
(mu4e-view-url-number-face :foreground ,dracula-purple)
- [nongnu] elpa/dracula-theme 0cfaa35 105/187: Add :extend t when necessary, (continued)
- [nongnu] elpa/dracula-theme 0cfaa35 105/187: Add :extend t when necessary, ELPA Syncer, 2021/10/21
- [nongnu] elpa/dracula-theme c2b028c 106/187: Update magit colors, ELPA Syncer, 2021/10/21
- [nongnu] elpa/dracula-theme 05937df 111/187: Try a variant for background color in terminal, ELPA Syncer, 2021/10/21
- [nongnu] elpa/dracula-theme be7982f 113/187: Better gnus summary faces, ELPA Syncer, 2021/10/21
- [nongnu] elpa/dracula-theme 75316aa 116/187: Begin to work on terminal colors fix, ELPA Syncer, 2021/10/21
- [nongnu] elpa/dracula-theme 6483f60 119/187: Use a clearer color for comments in 256 colors mode, ELPA Syncer, 2021/10/21
- [nongnu] elpa/dracula-theme 3a8a6f0 121/187: Add an entry about start_emacs_test.sh in the README, ELPA Syncer, 2021/10/21
- [nongnu] elpa/dracula-theme d145ed5 125/187: Bump version, ELPA Syncer, 2021/10/21
- [nongnu] elpa/dracula-theme 9f23772 126/187: Little customization for the test-profile.el file, ELPA Syncer, 2021/10/21
- [nongnu] elpa/dracula-theme b5c5ee4 127/187: Introduce variables to enable/disable custom font size on some headings, ELPA Syncer, 2021/10/21
- [nongnu] elpa/dracula-theme 583a811 128/187: Add a new variable to enable an alternate modeline/minibuffer experience,
ELPA Syncer <=
- [nongnu] elpa/dracula-theme 5190395 133/187: Document new them settings, ELPA Syncer, 2021/10/21
- [nongnu] elpa/dracula-theme f5918cb 136/187: Add a setting to force 24bit colors on 256 colors terms, ELPA Syncer, 2021/10/21
- [nongnu] elpa/dracula-theme fb010af 130/187: Use same colors for outline levels than org-mode titles, ELPA Syncer, 2021/10/21
- [nongnu] elpa/dracula-theme 9b87aee 008/187: Emacs: improve ido-support., ELPA Syncer, 2021/10/21
- [nongnu] elpa/dracula-theme aaed6dc 013/187: Updates copyright, ELPA Syncer, 2021/10/21
- [nongnu] elpa/dracula-theme 47418dd 019/187: fixed typo affecting company annotation highlights, ELPA Syncer, 2021/10/21
- [nongnu] elpa/dracula-theme ffb2982 031/187: Add diff-hl-mode faces, ELPA Syncer, 2021/10/21
- [nongnu] elpa/dracula-theme 5fe7a6e 041/187: Make dired header readable, ELPA Syncer, 2021/10/21
- [nongnu] elpa/dracula-theme b8ce40c 042/187: Use dark background and light foreground, ELPA Syncer, 2021/10/21
- [nongnu] elpa/dracula-theme caa9870 005/187: Release v1.2.0, ELPA Syncer, 2021/10/21