Add support for SMART-MODE-LINE

This commit is contained in:
Protesilaos Stavrou 2019-12-04 07:09:10 +02:00
parent d470b47e0b
commit 1be189994f
No known key found for this signature in database
GPG key ID: 99BD6459CD5CA3EA
3 changed files with 53 additions and 0 deletions

View file

@ -208,6 +208,7 @@ the "full support" may not be 100% true…
+ prodigy
+ rainbow-blocks
+ rainbow-delimiters
+ smart-mode-line
+ smartparens
+ smerge
+ speedbar

View file

@ -1208,6 +1208,32 @@ between foreground and background is >= 7:1)."
;;;; shell scripts
`(sh-heredoc ((,class (:inherit font-lock-string-face))))
`(sh-quoted-exec ((,class (:inherit font-lock-builtin-face))))
;;;; smart-mode-line
`(sml/charging ((,class (:foreground ,green-active))))
`(sml/discharging ((,class (:foreground ,red-active))))
`(sml/filename ((,class (:foreground ,blue-active :weight bold))))
`(sml/folder ((,class (:foreground ,fg-active))))
`(sml/git ((,class (:foreground ,green-active :weight bold))))
`(sml/global ((,class (:foreground ,fg-active))))
`(sml/line-number ((,class (:inherit sml/global))))
`(sml/minor-modes ((,class (:inherit sml/global))))
`(sml/modes ((,class (:foreground ,fg-active :weight bold))))
`(sml/modified ((,class (:foreground ,magenta-active :weight bold))))
`(sml/mule-info ((,class (:inherit sml/global))))
`(sml/name-filling ((,class (:foreground ,yellow-active))))
`(sml/not-modified ((,class (:inherit sml/global))))
`(sml/numbers-separator ((,class (:inherit sml/global))))
`(sml/outside-modified ((,class (:inherit modus-theme-intense-red))))
`(sml/position-percentage ((,class (:inherit sml/global))))
`(sml/prefix ((,class (:foreground ,green-active))))
`(sml/process ((,class (:inherit sml/prefix))))
`(sml/projectile ((,class (:inherit sml/git))))
`(sml/read-only ((,class (:foreground ,cyan-active :weight bold))))
`(sml/remote ((,class (:inherit sml/global))))
`(sml/sudo ((,class (:inherit modus-theme-subtle-red))))
`(sml/time ((,class (:inherit sml/global))))
`(sml/vc ((,class (:inherit sml/git))))
`(sml/vc-edited ((,class (:foreground ,yellow-active :weight bold))))
;;;; smartparens
`(sp-pair-overlay-face ((,class (:inherit modus-theme-special-warm))))
`(sp-show-pair-enclosing ((,class (:inherit modus-theme-special-mild))))

View file

@ -1208,6 +1208,32 @@ between foreground and background is >= 7:1)."
;;;; shell scripts
`(sh-heredoc ((,class (:inherit font-lock-string-face))))
`(sh-quoted-exec ((,class (:inherit font-lock-builtin-face))))
;;;; smart-mode-line
`(sml/charging ((,class (:foreground ,green-active))))
`(sml/discharging ((,class (:foreground ,red-active))))
`(sml/filename ((,class (:foreground ,blue-active :weight bold))))
`(sml/folder ((,class (:foreground ,fg-active))))
`(sml/git ((,class (:foreground ,green-active :weight bold))))
`(sml/global ((,class (:foreground ,fg-active))))
`(sml/line-number ((,class (:inherit sml/global))))
`(sml/minor-modes ((,class (:inherit sml/global))))
`(sml/modes ((,class (:foreground ,fg-active :weight bold))))
`(sml/modified ((,class (:foreground ,magenta-active :weight bold))))
`(sml/mule-info ((,class (:inherit sml/global))))
`(sml/name-filling ((,class (:foreground ,yellow-active))))
`(sml/not-modified ((,class (:inherit sml/global))))
`(sml/numbers-separator ((,class (:inherit sml/global))))
`(sml/outside-modified ((,class (:inherit modus-theme-intense-red))))
`(sml/position-percentage ((,class (:inherit sml/global))))
`(sml/prefix ((,class (:foreground ,green-active))))
`(sml/process ((,class (:inherit sml/prefix))))
`(sml/projectile ((,class (:inherit sml/git))))
`(sml/read-only ((,class (:foreground ,cyan-active :weight bold))))
`(sml/remote ((,class (:inherit sml/global))))
`(sml/sudo ((,class (:inherit modus-theme-subtle-red))))
`(sml/time ((,class (:inherit sml/global))))
`(sml/vc ((,class (:inherit sml/git))))
`(sml/vc-edited ((,class (:foreground ,yellow-active :weight bold))))
;;;; smartparens
`(sp-pair-overlay-face ((,class (:inherit modus-theme-special-warm))))
`(sp-show-pair-enclosing ((,class (:inherit modus-theme-special-mild))))