[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/modus-vivendi-theme bfa6650 28/35: Review internal "mar
From: |
Stefan Monnier |
Subject: |
[elpa] externals/modus-vivendi-theme bfa6650 28/35: Review internal "mark" faces |
Date: |
Wed, 24 Jun 2020 12:42:50 -0400 (EDT) |
branch: externals/modus-vivendi-theme
commit bfa6650165ceb2d6fd8403d857bd67aefe97c024
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Review internal "mark" faces
This builds on commit 831748432. Faces and relevant colour variables
are renamed for consistency and to better convey their intended use.
For more see merge requests 3 and 4:
* https://gitlab.com/protesilaos/modus-themes/-/merge_requests/3
* https://gitlab.com/protesilaos/modus-themes/-/merge_requests/4
---
modus-operandi-theme.el | 58 +++++++++++++++++++++++++------------------------
modus-vivendi-theme.el | 58 +++++++++++++++++++++++++------------------------
2 files changed, 60 insertions(+), 56 deletions(-)
diff --git a/modus-operandi-theme.el b/modus-operandi-theme.el
index 34fd45e..02b296a 100644
--- a/modus-operandi-theme.el
+++ b/modus-operandi-theme.el
@@ -383,10 +383,11 @@ between foreground and background is >= 7:1)."
(defface modus-theme-diff-focus-changed nil t)
(defface modus-theme-diff-focus-removed nil t)
(defface modus-theme-diff-heading nil t)
-(defface modus-theme-flagged nil t)
-(defface modus-theme-header nil t)
-(defface modus-theme-mark nil t)
-(defface modus-theme-marked nil t)
+(defface modus-theme-header nil t) ; Name is tentative
+(defface modus-theme-mark-alt nil t)
+(defface modus-theme-mark-del nil t)
+(defface modus-theme-mark-sel nil t)
+(defface modus-theme-mark-symbol nil t)
;; User-facing customisation options. They are all deactivated by
;; default (users must opt in).
@@ -698,8 +699,8 @@ AMOUNT is a customisation option."
;; `fg-lang-error', `fg-lang-warning', `fg-lang-note' can be
;; combined with `bg-main', `bg-dim', `bg-alt'
;;
- ;; `fg-mark', `fg-mark-del', `fg-mark-other' can be combined with
- ;; `bg-main', `bg-dim', `bg-alt', `bg-hl-line'
+ ;; `fg-mark-sel', `fg-mark-del', `fg-mark-alt' can be combined
+ ;; with `bg-main', `bg-dim', `bg-alt', `bg-hl-line'
;;
;; `fg-unfocused' must be combined with `fg-main'
;;
@@ -748,9 +749,9 @@ AMOUNT is a customisation option."
("bg-diff-neutral-1" . "#b0b0b0") ("fg-diff-neutral-1" . "#252525")
("bg-diff-neutral-2" . "#cccccc") ("fg-diff-neutral-2" . "#3a3a3a")
- ("bg-mark" . "#a0f0cf") ("fg-mark" . "#005040")
+ ("bg-mark-sel" . "#a0f0cf") ("fg-mark-sel" . "#005040")
("bg-mark-del" . "#ffccbb") ("fg-mark-del" . "#840040")
- ("bg-mark-other" . "#f5d88f") ("fg-mark-other" . "#782900"))
+ ("bg-mark-alt" . "#f5d88f") ("fg-mark-alt" . "#782900"))
"The entire palette of `modus-operandi-theme'.
Each element has the form (NAME . HEX).")
@@ -845,10 +846,11 @@ Also bind `class' to ((class color) (min-colors 89))."
`(modus-theme-diff-focus-removed ((,class (:background
,bg-diff-focus-removed :foreground ,fg-diff-focus-removed))))
`(modus-theme-diff-heading ((,class (:background ,bg-diff-heading
:foreground ,fg-diff-heading))))
;;; colour combinations intended for Dired, Ibuffer, or equivalent
- `(modus-theme-flagged ((,class (:background ,bg-mark-del :foreground
,fg-mark-del :weight bold))))
`(modus-theme-header ((,class (:foreground ,fg-main :weight bold))))
- `(modus-theme-mark ((,class (:foreground ,blue-alt :weight bold))))
- `(modus-theme-marked ((,class (:background ,bg-mark :foreground ,fg-mark
:weight bold))))
+ `(modus-theme-mark-alt ((,class (:background ,bg-mark-alt :foreground
,fg-mark-alt :weight bold))))
+ `(modus-theme-mark-del ((,class (:background ,bg-mark-del :foreground
,fg-mark-del :weight bold))))
+ `(modus-theme-mark-sel ((,class (:background ,bg-mark-sel :foreground
,fg-mark-sel :weight bold))))
+ `(modus-theme-mark-symbol ((,class (:foreground ,blue-alt :weight bold))))
;;;;;;;;;;;;;;;;;;;
;; actual styles ;;
;;;;;;;;;;;;;;;;;;;
@@ -1342,11 +1344,11 @@ Also bind `class' to ((class color) (min-colors 89))."
`(dim-autoload-cookie-line ((,class (:foreground ,fg-alt :slant
,modus-theme-slant))))
;;;; dired
`(dired-directory ((,class (:foreground ,blue))))
- `(dired-flagged ((,class (:inherit modus-theme-flagged))))
+ `(dired-flagged ((,class (:inherit modus-theme-mark-del))))
`(dired-header ((,class (:inherit modus-theme-header))))
`(dired-ignored ((,class (:foreground ,fg-alt))))
- `(dired-mark ((,class (:inherit modus-theme-mark))))
- `(dired-marked ((,class (:inherit modus-theme-marked))))
+ `(dired-mark ((,class (:inherit modus-theme-mark-symbol))))
+ `(dired-marked ((,class (:inherit modus-theme-mark-sel))))
`(dired-perm-write ((,class (:foreground ,fg-special-warm))))
`(dired-symlink ((,class (:foreground ,blue-alt :underline t))))
`(dired-warning ((,class (:foreground ,yellow :weight bold))))
@@ -1376,8 +1378,8 @@ Also bind `class' to ((class color) (min-colors 89))."
`(diredfl-compressed-file-name ((,class (:foreground ,green-alt-other))))
`(diredfl-compressed-file-suffix ((,class (:foreground ,green-alt))))
`(diredfl-date-time ((,class (:foreground ,fg-special-cold))))
- `(diredfl-deletion ((,class (:inherit modus-theme-flagged))))
- `(diredfl-deletion-file-name ((,class (:inherit modus-theme-flagged))))
+ `(diredfl-deletion ((,class (:inherit modus-theme-mark-del))))
+ `(diredfl-deletion-file-name ((,class (:inherit modus-theme-mark-del))))
`(diredfl-dir-heading ((,class (:inherit modus-theme-header))))
`(diredfl-dir-name ((,class (:inherit dired-directory))))
`(diredfl-dir-priv ((,class (:foreground ,blue))))
@@ -1385,8 +1387,8 @@ Also bind `class' to ((class color) (min-colors 89))."
`(diredfl-executable-tag ((,class (:foreground ,red-alt))))
`(diredfl-file-name ((,class (:foreground ,fg-main))))
`(diredfl-file-suffix ((,class (:foreground ,fg-special-warm))))
- `(diredfl-flag-mark ((,class (:inherit modus-theme-marked))))
- `(diredfl-flag-mark-line ((,class (:inherit modus-theme-marked))))
+ `(diredfl-flag-mark ((,class (:inherit modus-theme-mark-sel))))
+ `(diredfl-flag-mark-line ((,class (:inherit modus-theme-mark-sel))))
`(diredfl-ignored-file-name ((,class (:foreground ,fg-inactive))))
`(diredfl-link-priv ((,class (:foreground ,blue-alt-other))))
`(diredfl-no-priv ((,class (:foreground ,fg-inactive))))
@@ -1876,7 +1878,7 @@ Also bind `class' to ((class color) (min-colors 89))."
`(gnus-server-opened ((,class (:foreground ,green :weight bold))))
`(gnus-signature ((,class (:foreground ,fg-special-cold :slant italic))))
`(gnus-splash ((,class (:foreground ,fg-alt))))
- `(gnus-summary-cancelled ((,class (:background ,bg-mark-other :foreground
,fg-mark-other :weight bold))))
+ `(gnus-summary-cancelled ((,class (:inherit modus-theme-mark-alt))))
`(gnus-summary-high-ancient ((,class (:foreground ,fg-alt :weight bold))))
`(gnus-summary-high-read ((,class (:foreground ,fg-special-cold :weight
bold))))
`(gnus-summary-high-ticked ((,class (:foreground ,red-alt-other :weight
bold))))
@@ -2877,8 +2879,8 @@ Also bind `class' to ((class color) (min-colors 89))."
`(powerline-evil-replace-face ((,class (:inherit modus-theme-active-red))))
`(powerline-evil-visual-face ((,class (:inherit modus-theme-active-cyan))))
;;;; proced
- `(proced-mark ((,class (:foreground ,blue-alt :weight bold))))
- `(proced-marked ((,class (:background ,bg-mark-other :foreground
,fg-mark-other :weight bold))))
+ `(proced-mark ((,class (:inherit modus-theme-mark-symbol))))
+ `(proced-marked ((,class (:inherit modus-theme-mark-alt))))
`(proced-sort-header ((,class (:foreground ,fg-special-calm :weight bold
:underline t))))
;;;; prodigy
`(prodigy-green-face ((,class (:foreground ,green))))
@@ -3155,11 +3157,11 @@ Also bind `class' to ((class color) (min-colors 89))."
`(syslog-su ((,class (:foreground ,red-alt :weight bold))))
`(syslog-warn ((,class (:foreground ,yellow :weight bold))))
;;;; trashed
- `(trashed-deleted ((,class (:background ,bg-mark-del :foreground
,fg-mark-del :weight bold))))
+ `(trashed-deleted ((,class (:inherit modus-theme-mark-del))))
`(trashed-directory ((,class (:foreground ,blue))))
- `(trashed-mark ((,class (:foreground ,blue-alt :weight bold))))
- `(trashed-marked ((,class (:background ,bg-mark-other :foreground
,fg-mark-other :weight bold))))
- `(trashed-restored ((,class (:background ,bg-mark :foreground ,fg-mark
:weight bold))))
+ `(trashed-mark ((,class (:inherit modus-theme-mark-symbol))))
+ `(trashed-marked ((,class (:inherit modus-theme-mark-alt))))
+ `(trashed-restored ((,class (:inherit modus-theme-mark-sel))))
`(trashed-symlink ((,class (:foreground ,blue-alt :underline t))))
;;;; telephone-line
`(telephone-line-accent-active ((,class (:background ,fg-inactive
:foreground ,bg-inactive))))
@@ -3491,9 +3493,9 @@ Also bind `class' to ((class color) (min-colors 89))."
`(flymake-warning-bitmap '(exclamation-mark modus-theme-fringe-yellow))
`(flymake-note-bitmap '(exclamation-mark modus-theme-fringe-cyan))
;;;; ibuffer
- `(ibuffer-deletion-face 'modus-theme-flagged)
- `(ibuffer-filter-group-name-face 'modus-theme-mark)
- `(ibuffer-marked-face 'modus-theme-marked)
+ `(ibuffer-deletion-face 'modus-theme-mark-del)
+ `(ibuffer-filter-group-name-face 'modus-theme-mark-symbol)
+ `(ibuffer-marked-face 'modus-theme-mark-sel)
`(ibuffer-title-face 'modus-theme-header)
;;;; hl-todo
`(hl-todo-keyword-faces
diff --git a/modus-vivendi-theme.el b/modus-vivendi-theme.el
index ade5a77..5805c15 100644
--- a/modus-vivendi-theme.el
+++ b/modus-vivendi-theme.el
@@ -383,10 +383,11 @@ between foreground and background is >= 7:1)."
(defface modus-theme-diff-focus-changed nil t)
(defface modus-theme-diff-focus-removed nil t)
(defface modus-theme-diff-heading nil t)
-(defface modus-theme-flagged nil t)
-(defface modus-theme-header nil t)
-(defface modus-theme-mark nil t)
-(defface modus-theme-marked nil t)
+(defface modus-theme-header nil t) ; Name is tentative
+(defface modus-theme-mark-alt nil t)
+(defface modus-theme-mark-del nil t)
+(defface modus-theme-mark-sel nil t)
+(defface modus-theme-mark-symbol nil t)
;; User-facing customisation options. They are all deactivated by
;; default (users must opt in).
@@ -698,8 +699,8 @@ AMOUNT is a customisation option."
;; `fg-lang-error', `fg-lang-warning', `fg-lang-note' can be
;; combined with `bg-main', `bg-dim', `bg-alt'
;;
- ;; `fg-mark', `fg-mark-del', `fg-mark-other' can be combined with
- ;; `bg-main', `bg-dim', `bg-alt', `bg-hl-line'
+ ;; `fg-mark-sel', `fg-mark-del', `fg-mark-alt' can be combined
+ ;; with `bg-main', `bg-dim', `bg-alt', `bg-hl-line'
;;
;; `fg-unfocused' must be combined with `fg-main'
;;
@@ -748,9 +749,9 @@ AMOUNT is a customisation option."
("bg-diff-neutral-1" . "#454545") ("fg-diff-neutral-1" . "#dddddd")
("bg-diff-neutral-2" . "#313131") ("fg-diff-neutral-2" . "#bfbfbf")
- ("bg-mark" . "#002f2f") ("fg-mark" . "#60cfa2")
+ ("bg-mark-sel" . "#002f2f") ("fg-mark-sel" . "#60cfa2")
("bg-mark-del" . "#5a0000") ("fg-mark-del" . "#ff99aa")
- ("bg-mark-other" . "#3f2210") ("fg-mark-other" . "#f0aa20"))
+ ("bg-mark-alt" . "#3f2210") ("fg-mark-alt" . "#f0aa20"))
"The entire palette of `modus-vivendi-theme'.
Each element has the form (NAME . HEX).")
@@ -845,10 +846,11 @@ Also bind `class' to ((class color) (min-colors 89))."
`(modus-theme-diff-focus-removed ((,class (:background
,bg-diff-focus-removed :foreground ,fg-diff-focus-removed))))
`(modus-theme-diff-heading ((,class (:background ,bg-diff-heading
:foreground ,fg-diff-heading))))
;;; colour combinations intended for Dired, Ibuffer, or equivalent
- `(modus-theme-flagged ((,class (:background ,bg-mark-del :foreground
,fg-mark-del :weight bold))))
`(modus-theme-header ((,class (:foreground ,fg-main :weight bold))))
- `(modus-theme-mark ((,class (:foreground ,blue-alt :weight bold))))
- `(modus-theme-marked ((,class (:background ,bg-mark :foreground ,fg-mark
:weight bold))))
+ `(modus-theme-mark-alt ((,class (:background ,bg-mark-alt :foreground
,fg-mark-alt :weight bold))))
+ `(modus-theme-mark-del ((,class (:background ,bg-mark-del :foreground
,fg-mark-del :weight bold))))
+ `(modus-theme-mark-sel ((,class (:background ,bg-mark-sel :foreground
,fg-mark-sel :weight bold))))
+ `(modus-theme-mark-symbol ((,class (:foreground ,blue-alt :weight bold))))
;;;;;;;;;;;;;;;;;;;
;; actual styles ;;
;;;;;;;;;;;;;;;;;;;
@@ -1342,11 +1344,11 @@ Also bind `class' to ((class color) (min-colors 89))."
`(dim-autoload-cookie-line ((,class (:foreground ,fg-alt :slant
,modus-theme-slant))))
;;;; dired
`(dired-directory ((,class (:foreground ,blue))))
- `(dired-flagged ((,class (:inherit modus-theme-flagged))))
+ `(dired-flagged ((,class (:inherit modus-theme-mark-del))))
`(dired-header ((,class (:inherit modus-theme-header))))
`(dired-ignored ((,class (:foreground ,fg-alt))))
- `(dired-mark ((,class (:inherit modus-theme-mark))))
- `(dired-marked ((,class (:inherit modus-theme-marked))))
+ `(dired-mark ((,class (:inherit modus-theme-mark-symbol))))
+ `(dired-marked ((,class (:inherit modus-theme-mark-sel))))
`(dired-perm-write ((,class (:foreground ,fg-special-warm))))
`(dired-symlink ((,class (:foreground ,blue-alt :underline t))))
`(dired-warning ((,class (:foreground ,yellow :weight bold))))
@@ -1376,8 +1378,8 @@ Also bind `class' to ((class color) (min-colors 89))."
`(diredfl-compressed-file-name ((,class (:foreground ,green-alt-other))))
`(diredfl-compressed-file-suffix ((,class (:foreground ,green-alt))))
`(diredfl-date-time ((,class (:foreground ,fg-special-cold))))
- `(diredfl-deletion ((,class (:inherit modus-theme-flagged))))
- `(diredfl-deletion-file-name ((,class (:inherit modus-theme-flagged))))
+ `(diredfl-deletion ((,class (:inherit modus-theme-mark-del))))
+ `(diredfl-deletion-file-name ((,class (:inherit modus-theme-mark-del))))
`(diredfl-dir-heading ((,class (:inherit modus-theme-header))))
`(diredfl-dir-name ((,class (:inherit dired-directory))))
`(diredfl-dir-priv ((,class (:foreground ,blue))))
@@ -1385,8 +1387,8 @@ Also bind `class' to ((class color) (min-colors 89))."
`(diredfl-executable-tag ((,class (:foreground ,red-alt))))
`(diredfl-file-name ((,class (:foreground ,fg-main))))
`(diredfl-file-suffix ((,class (:foreground ,fg-special-warm))))
- `(diredfl-flag-mark ((,class (:inherit modus-theme-marked))))
- `(diredfl-flag-mark-line ((,class (:inherit modus-theme-marked))))
+ `(diredfl-flag-mark ((,class (:inherit modus-theme-mark-sel))))
+ `(diredfl-flag-mark-line ((,class (:inherit modus-theme-mark-sel))))
`(diredfl-ignored-file-name ((,class (:foreground ,fg-inactive))))
`(diredfl-link-priv ((,class (:foreground ,blue-alt-other))))
`(diredfl-no-priv ((,class (:foreground ,fg-inactive))))
@@ -1876,7 +1878,7 @@ Also bind `class' to ((class color) (min-colors 89))."
`(gnus-server-opened ((,class (:foreground ,green :weight bold))))
`(gnus-signature ((,class (:foreground ,fg-special-cold :slant italic))))
`(gnus-splash ((,class (:foreground ,fg-alt))))
- `(gnus-summary-cancelled ((,class (:background ,bg-mark-other :foreground
,fg-mark-other :weight bold))))
+ `(gnus-summary-cancelled ((,class (:inherit modus-theme-mark-alt))))
`(gnus-summary-high-ancient ((,class (:foreground ,fg-alt :weight bold))))
`(gnus-summary-high-read ((,class (:foreground ,fg-special-cold :weight
bold))))
`(gnus-summary-high-ticked ((,class (:foreground ,red-alt-other :weight
bold))))
@@ -2877,8 +2879,8 @@ Also bind `class' to ((class color) (min-colors 89))."
`(powerline-evil-replace-face ((,class (:inherit modus-theme-active-red))))
`(powerline-evil-visual-face ((,class (:inherit modus-theme-active-cyan))))
;;;; proced
- `(proced-mark ((,class (:foreground ,blue-alt :weight bold))))
- `(proced-marked ((,class (:background ,bg-mark-other :foreground
,fg-mark-other :weight bold))))
+ `(proced-mark ((,class (:inherit modus-theme-mark-symbol))))
+ `(proced-marked ((,class (:inherit modus-theme-mark-alt))))
`(proced-sort-header ((,class (:foreground ,fg-special-calm :weight bold
:underline t))))
;;;; prodigy
`(prodigy-green-face ((,class (:foreground ,green))))
@@ -3155,11 +3157,11 @@ Also bind `class' to ((class color) (min-colors 89))."
`(syslog-su ((,class (:foreground ,red-alt :weight bold))))
`(syslog-warn ((,class (:foreground ,yellow :weight bold))))
;;;; trashed
- `(trashed-deleted ((,class (:background ,bg-mark-del :foreground
,fg-mark-del :weight bold))))
+ `(trashed-deleted ((,class (:inherit modus-theme-mark-del))))
`(trashed-directory ((,class (:foreground ,blue))))
- `(trashed-mark ((,class (:foreground ,blue-alt :weight bold))))
- `(trashed-marked ((,class (:background ,bg-mark-other :foreground
,fg-mark-other :weight bold))))
- `(trashed-restored ((,class (:background ,bg-mark :foreground ,fg-mark
:weight bold))))
+ `(trashed-mark ((,class (:inherit modus-theme-mark-symbol))))
+ `(trashed-marked ((,class (:inherit modus-theme-mark-alt))))
+ `(trashed-restored ((,class (:inherit modus-theme-mark-sel))))
`(trashed-symlink ((,class (:foreground ,blue-alt :underline t))))
;;;; telephone-line
`(telephone-line-accent-active ((,class (:background ,fg-inactive
:foreground ,bg-inactive))))
@@ -3491,9 +3493,9 @@ Also bind `class' to ((class color) (min-colors 89))."
`(flymake-warning-bitmap '(exclamation-mark modus-theme-fringe-yellow))
`(flymake-note-bitmap '(exclamation-mark modus-theme-fringe-cyan))
;;;; ibuffer
- `(ibuffer-deletion-face 'modus-theme-flagged)
- `(ibuffer-filter-group-name-face 'modus-theme-mark)
- `(ibuffer-marked-face 'modus-theme-marked)
+ `(ibuffer-deletion-face 'modus-theme-mark-del)
+ `(ibuffer-filter-group-name-face 'modus-theme-mark-symbol)
+ `(ibuffer-marked-face 'modus-theme-mark-sel)
`(ibuffer-title-face 'modus-theme-header)
;;;; hl-todo
`(hl-todo-keyword-faces
- [elpa] externals/modus-vivendi-theme f1a22b5 22/35: Make 'message-separator' more intense greyscale, (continued)
- [elpa] externals/modus-vivendi-theme f1a22b5 22/35: Make 'message-separator' more intense greyscale, Stefan Monnier, 2020/06/24
- [elpa] externals/modus-vivendi-theme 695f459 24/35: Expand README with demo for custom colour values, Stefan Monnier, 2020/06/24
- [elpa] externals/modus-vivendi-theme 38471df 25/35: Minor amendment to commit f1a22b5e3, Stefan Monnier, 2020/06/24
- [elpa] externals/modus-vivendi-theme c28d472 29/35: Don't give deffaces an invalid docstring, Stefan Monnier, 2020/06/24
- [elpa] externals/modus-vivendi-theme c0d35ae 32/35: Use appropriate colour for symlinks, Stefan Monnier, 2020/06/24
- [elpa] externals/modus-vivendi-theme f264a89 35/35: Merge branch 'master' into local branch, Stefan Monnier, 2020/06/24
- [elpa] externals/modus-vivendi-theme 25de45e 23/35: Tweak README advanced customisation example, Stefan Monnier, 2020/06/24
- [elpa] externals/modus-vivendi-theme 8317484 27/35: Fix Ibuffer dependency on Dired faces, Stefan Monnier, 2020/06/24
- [elpa] externals/modus-vivendi-theme 4068405 33/35: Define palette as a constant, Stefan Monnier, 2020/06/24
- [elpa] externals/modus-vivendi-theme deda7db 26/35: Fix parentheses and indentation, Stefan Monnier, 2020/06/24
- [elpa] externals/modus-vivendi-theme bfa6650 28/35: Review internal "mark" faces,
Stefan Monnier <=
- [elpa] externals/modus-vivendi-theme 776977c 30/35: Use modern (DISPLAY . PLIST) face spec entries, Stefan Monnier, 2020/06/24
- [elpa] externals/modus-vivendi-theme 9d5f815 31/35: Remove unwanted underline in doom-modeline-urgent, Stefan Monnier, 2020/06/24
- [elpa] externals/modus-vivendi-theme aa3897c 34/35: Upgrade to version 0.10.0, Stefan Monnier, 2020/06/24