Skip to content

Commit

Permalink
fix(tokyo-night): Italic comments/keywords
Browse files Browse the repository at this point in the history
To match variants.
Ripped verbatim from doomemacs#835.
  • Loading branch information
i-am-linja authored Aug 20, 2024
1 parent c589b24 commit e978453
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion themes/doom-tokyo-night-theme.el
Original file line number Diff line number Diff line change
Expand Up @@ -150,10 +150,12 @@

(font-lock-comment-face
:foreground comments
:background (if doom-tokyo-night-comment-bg (doom-lighten bg 0.05) 'unspecified))
:background (if doom-tokyo-night-comment-bg (doom-lighten bg 0.05) 'unspecified)
:slant 'italic)
(font-lock-doc-face
:inherit 'font-lock-comment-face
:foreground doc-comments)
(font-lock-keyword-face :foreground keywords :slant 'italic)

;;; Doom Modeline
(doom-modeline-bar :background (if -modeline-bright modeline-bg highlight))
Expand All @@ -171,6 +173,11 @@
(mode-line-buffer-id
:foreground highlight)

;;; Doom Dashboard
(doom-dashboard-banner :foreground comments :slant 'normal)
(doom-dashboard-loaded :foreground comments :slant 'normal)
(doom-dashboard-menu-title :foreground magenta :slant 'normal)

;;; Indentation
(whitespace-indentation :background bg)
(whitespace-tab :background bg)
Expand Down Expand Up @@ -271,6 +278,7 @@
;;; web-mode
(web-mode-json-context-face :foreground brown)
(web-mode-json-key-face :foreground teal)
(web-mode-keyword-face :inherit 'font-lock-keyword-face)
;;;; Block
(web-mode-block-delimiter-face :foreground yellow)
;;;; Code
Expand All @@ -280,6 +288,8 @@
(web-mode-css-pseudo-class-face :foreground orange)
(web-mode-css-property-name-face :foreground blue)
(web-mode-css-selector-face :foreground teal)
(web-mode-css-selector-class-face :foreground keywords :slant 'nil)
(web-mode-css-selector-tag-face :inherit 'web-mode-css-selector-class-face)
(web-mode-css-function-face :foreground yellow)
;;;; HTML
(web-mode-html-attr-engine-face :foreground yellow)
Expand Down

0 comments on commit e978453

Please sign in to comment.