branch: elpa/dracula-theme
commit 1254e1ca8aaaaba9333e159a522222dcf9672b49
Author: Étienne Deparis <[email protected]>
Commit: Étienne Deparis <[email protected]>

    Support new tab-bar and tab-line mode for emacs 27
    
    Thanks to @tsdh for the hard work.
    
    Fixes: https://github.com/dracula/emacs/pull/53
---
 dracula-theme.el | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/dracula-theme.el b/dracula-theme.el
index a227c12..7e6ed1c 100644
--- a/dracula-theme.el
+++ b/dracula-theme.el
@@ -443,6 +443,17 @@
                ;; spam
                (spam :inherit gnus-summary-normal-read :foreground 
,dracula-orange
                      :strike-through t :slant oblique)
+               ;; tab-bar & tab-line (since Emacs 27.1)
+               (tab-bar :foreground ,dracula-pink :background ,bg2
+                        :inherit variable-pitch)
+               (tab-bar-tab :background ,dracula-current :inherit tab-bar)
+               (tab-bar-tab-inactive :foreground ,dracula-purple :background 
,bg3
+                                     :inherit tab-bar-tab)
+               (tab-line :height 0.9 :foreground ,dracula-pink
+                         :background ,bg2 :inherit variable-pitch)
+               (tab-line-tab :background ,dracula-current :inherit tab-line)
+               (tab-line-tab-inactive :foreground ,dracula-purple :background 
,bg3
+                                      :inherit tab-line-tab)
                ;; term
                (term :foreground ,dracula-fg :background ,dracula-bg)
                (term-color-black :foreground ,bg3 :background ,bg3)

Reply via email to