[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/material-theme f9f8890 025/118: fix #4 terminal colors loo
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/material-theme f9f8890 025/118: fix #4 terminal colors look sane now |
Date: |
Thu, 21 Oct 2021 18:06:12 -0400 (EDT) |
branch: elpa/material-theme
commit f9f8890199f1d5b18b4b5b40f1c67ce21411acf9
Author: Christoph Paulik <cpaulik@gmail.com>
Commit: Christoph Paulik <cpaulik@gmail.com>
fix #4 terminal colors look sane now
---
material-theme.el | 55 +++++++++++++++++++++++++++++--------------------------
1 file changed, 29 insertions(+), 26 deletions(-)
diff --git a/material-theme.el b/material-theme.el
index ed891b4..1f890ef 100644
--- a/material-theme.el
+++ b/material-theme.el
@@ -43,9 +43,11 @@
(let* ((class '((class color) (min-colors 89)))
(256color (eq (display-color-cells (selected-frame)) 256))
- (background "#263238") ;; sidebar-container
- (current-line "#37474f") ;; tree-row
- (far-background "#1c1f26") ;; panel-control
+ (background (if window-system "#263238" "#262626")) ;; sidebar-container
+ (current-line (if window-system "#37474f" "#3a3a3a")) ;; tree-row
+ (far-background (if window-system "#1c1f26" "#121212")) ;;
panel-control
+ (inactive-gray (if window-system "#78909c" "#8a8a8a"))
+ (header-color (if window-system "#455A64" "#5f5f5f"))
(subtle "#a7adba") ;; tree-row-hover-disclosure-button-control
(selection "#555555") ;; tab-control-dirty-tab-close-button
(secondary-selection "#bf616a") ;; tab-control-hover-tab-close-button
@@ -87,6 +89,24 @@
`(error ((,class (:foreground ,red))))
`(warning ((,class (:foreground ,orange))))
+ ;; ace-window faces
+ `(aw-leading-char-face ((,class (:foreground ,
+ foreground
+ :background ,
+ "#ef6c00"
+ :height ,
+ 1.7
+ :weight
+ bold))))
+
+ ;; ace-jump-faces
+ `(ace-jump-face-foreground ((,class (:foreground ,foreground
+ :background ,"#ef6c00"
+ :weight bold))))
+
+ `(ace-jump-face-background ((,class (:foreground ,inactive-gray
+ :weight normal))))
+
;; Flycheck
`(flycheck-error ((,class (:underline (:style wave :color ,red)))))
`(flycheck-warning ((,class (:underline (:style wave :color ,orange)))))
@@ -138,23 +158,6 @@
`(rainbow-delimiters-depth-9-face ((,class (:foreground ,green))))
`(rainbow-delimiters-unmatched-face ((,class (:foreground ,red))))
- ;; ace-window
- `(aw-leading-char-face ((,class (:foreground ,
- foreground
- :background ,
- "#ef6c00"
- :height ,
- 1.7
- :weight
- bold))))
-
- ;; ace-jump-faces
- `(ace-jump-face-foreground ((,class (:foreground ,foreground
- :background ,"#ef6c00"
- :weight bold))))
-
- `(ace-jump-face-background ((,class (:foreground ,"#78909c"
- :weight normal))))
;; MMM-mode
`(mmm-code-submode-face ((,class (:background ,current-line))))
`(mmm-comment-submode-face ((,class (:inherit font-lock-comment-face))))
@@ -221,7 +224,7 @@
`(whitespace-hspace ((,class (:background nil :foreground ,selection))))
;; Parenthesis matching (built-in)
- `(show-paren-match-face ((,class (:background "dodgerblue1" :foreground
"white"))))
+ `(show-paren-match-face ((,class (:background aqua :foreground "black"))))
`(show-paren-mismatch-face ((,class (:background "red1" :foreground
"white"))))
;; Smartparens paren matching
@@ -355,7 +358,7 @@
`(helm-buffer-process ((,class (:foreground ,red))))
`(helm-buffer-not-saved ((,class (:foreground ,orange))))
`(helm-candidate-number ((,class (:foreground ,foreground :background
,"#ef6c00"))))
- `(helm-source-header ((,class (:background ,"#455A64" :foreground
,"#eceff1" :height 1.3 :bold t ))))
+ `(helm-source-header ((,class (:background ,header-color :foreground
,"#eceff1" :height 1.3 :bold t ))))
;; guide-key
`(guide-key/key-face ((,class (:foreground ,foreground ))))
@@ -400,7 +403,7 @@
`(org-level-1 ((,class (:inherit nil
:overline ,"#b0bec5"
:foreground ,"#eceff1"
- :background ,"#455A64"
+ :background ,header-color
:weight bold
:height 1.3))))
`(org-level-2 ((,class (:inherit nil
@@ -517,8 +520,8 @@
`(company-scrollbar-bg ((,class (:background "#F0F0F0"))))
`(company-scrollbar-fg ((,class (:background "#C0C0C0"))))
;; `(company-template-field ((,class ())))
- `(company-tooltip ((,class (:weight bold :foreground, far-background
:background ,"#78909c"))))
- `(company-tooltip-annotation ((,class (:weight normal :foreground ,comment
:background ,"#78909c"))))
+ `(company-tooltip ((,class (:weight bold :foreground, far-background
:background ,inactive-gray))))
+ `(company-tooltip-annotation ((,class (:weight normal :foreground ,comment
:background ,inactive-gray))))
`(company-tooltip-common ((,class (:weight normal :inherit
company-tooltip))))
`(company-tooltip-common-selection ((,class (:weight normal :inherit
company-tooltip-selection))))
;; `(company-tooltip-mouse ((,class ())))
@@ -527,7 +530,7 @@
;; Powerline
`(powerline-active1 ((t (:foreground ,foreground :background ,selection))))
- `(powerline-active2 ((t (:foreground ,foreground :background ,"#78909c"))))
+ `(powerline-active2 ((t (:foreground ,foreground :background
,inactive-gray))))
`(powerline-inactive1 ((t (:foreground ,comment :background ,selection))))
`(powerline-inactive2 ((t (:foreground ,comment :background ,selection))))
- [nongnu] elpa/material-theme f0c6fd2 071/118: Merge branch 'master' of github.com:cpaulik/emacs-material-theme, (continued)
- [nongnu] elpa/material-theme f0c6fd2 071/118: Merge branch 'master' of github.com:cpaulik/emacs-material-theme, ELPA Syncer, 2021/10/21
- [nongnu] elpa/material-theme e705301 081/118: Set background color for company template, ELPA Syncer, 2021/10/21
- [nongnu] elpa/material-theme 6263ad1 098/118: Define company-tooltip-annotation-selection. Fix #34., ELPA Syncer, 2021/10/21
- [nongnu] elpa/material-theme 018ee4a 088/118: Make Latex section headers different sizes., ELPA Syncer, 2021/10/21
- [nongnu] elpa/material-theme b465a4f 101/118: Add melpa stable badge - tag release., ELPA Syncer, 2021/10/21
- [nongnu] elpa/material-theme 44cdd6b 093/118: Added colors for elixir-mode, ELPA Syncer, 2021/10/21
- [nongnu] elpa/material-theme 40b61ec 116/118: add extend keyboard for org block background, ELPA Syncer, 2021/10/21
- [nongnu] elpa/material-theme 67a496c 117/118: Merge pull request #50 from ransomts/master, ELPA Syncer, 2021/10/21
- [nongnu] elpa/material-theme 5df7e47 015/118: added ace-window leading character, ELPA Syncer, 2021/10/21
- [nongnu] elpa/material-theme b15532e 023/118: set size of markdown headers, ELPA Syncer, 2021/10/21
- [nongnu] elpa/material-theme f9f8890 025/118: fix #4 terminal colors look sane now,
ELPA Syncer <=
- [nongnu] elpa/material-theme c59b487 106/118: Make diredfl and helm-ff more consistent., ELPA Syncer, 2021/10/21
- [nongnu] elpa/material-theme 0890ff6 103/118: Set hl-line face explicitly., ELPA Syncer, 2021/10/21
- [nongnu] elpa/material-theme 52f4624 113/118: Merge pull request #48 from howdypierce/master, ELPA Syncer, 2021/10/21
- [nongnu] elpa/material-theme bca742b 112/118: Update the mode line so it works with auto-dim-other-buffers mode., ELPA Syncer, 2021/10/21
- [nongnu] elpa/material-theme b28e87f 111/118: Italicize comments, ELPA Syncer, 2021/10/21
- [nongnu] elpa/material-theme f9e2c7f 102/118: Update melpa stable badge., ELPA Syncer, 2021/10/21