Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Align the appearance of tab-bar with tab-line #123

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 42 additions & 7 deletions monokai-theme.el
Original file line number Diff line number Diff line change
Expand Up @@ -430,9 +430,9 @@ Also affects 'linum-mode' background."

`(highlight
((,monokai-class (:background ,monokai-highlight
:distant-foreground nil))
:distant-foreground unspecified))
(,monokai-256-class (:background ,monokai-256-highlight
:distant-foreground nil))))
:distant-foreground unspecified))))

`(lazy-highlight
((,monokai-class (:inherit highlight
Expand Down Expand Up @@ -632,25 +632,60 @@ Also affects 'linum-mode' background."
:line-width 1
:style nil)))))

;; tool-bar
`(tool-bar
((,monokai-class (:background ,monokai-gray-d))
(,monokai-256-class (:background ,monokai-256-gray-d))))

;; tab-line
`(tab-line
((,monokai-class (:height 1.5))
(,monokai-256-class (:height 1.5))))
((,monokai-class (:inherit tool-bar :height 1.4))
(,monokai-256-class (:inherit tool-bar :height 1.4))))

`(tab-line-highlight
((,monokai-class (:inherit tab-line :background ,monokai-highlight))
(,monokai-256-class (:inherit tab-line :background ,monokai-256-highlight))))

`(tab-line-tab
((,monokai-class (:inherit tab-line :height 0.5))
(,monokai-256-class (:inherit tab-line :height 0.5))))

`(tab-line-tab-current
((,monokai-class (:inherit tab-line-tab :overline t :weight bold))
(,monokai-256-class (:inherit tab-line-tab :overline t :weight bold))))
((,monokai-class (:inherit tab-line-tab :overline ,monokai-foreground :weight bold :background ,monokai-highlight-alt))
(,monokai-256-class (:inherit tab-line-tab :overline ,monokai-256-foreground :weight bold :background ,monokai-256-highlight-alt))))

`(tab-line-tab-inactive
((,monokai-class (:inherit tab-line-tab))
(,monokai-256-class (:inherit tab-line-tab))))

`(tab-line-tab-inactive-alternate
((,monokai-class (:inherit tab-line-tab-inactive))
(,monokai-256-class (:inherit tab-line-tab-inactive))))
(,monokai-256-class (:inherit tab-line-tab-inactive))))

;; tab-bar
`(tab-bar
((,monokai-class (:inherit tab-line))
(,monokai-256-class (:inherit tab-line))))

`(tab-bar-tab-inactive
((,monokai-class (:background ,monokai-gray-d :height 0.7))
(,monokai-256-class (:background ,monokai-256-gray-d :height 0.7))))

`(tab-bar-tab
((,monokai-class (:inherit tab-bar-tab-inactive :overline ,monokai-foreground :weight bold :background ,monokai-highlight-alt))
(,monokai-256-class (:inherit tab-bar-tab-inactive :overline ,monokai-256-foreground :weight bold :background ,monokai-256-highlight-alt))))

`(tab-bar-tab-ungrouped
((,monokai-class (:inherit tab-bar-tab-inactive :foreground ,monokai-comments))
(,monokai-256-class (:inherit tab-bar-tab-inactive :foreground ,monokai-256-comments))))

`(tab-bar-tab-group-current
((,monokai-class (:inherit tab-bar-tab :underline t))
(,monokai-256-class (:inherit tab-bar-tab :underline t))))

`(tab-bar-tab-group-inactive
((,monokai-class (:inherit tab-bar-tab-inactive :foreground ,monokai-comments))
(,monokai-256-class (:inherit tab-bar-tab-inactive :foreground ,monokai-256-comments))))

;; window-tool-bar
`(window-tool-bar-button
Expand Down