Skip to content

Commit

Permalink
refactor: use default color in faces
Browse files Browse the repository at this point in the history
  • Loading branch information
eki3z committed Oct 2, 2024
1 parent b6ea9a4 commit 0c1977d
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions mini-echo-segments.el
Original file line number Diff line number Diff line change
Expand Up @@ -111,28 +111,28 @@ Otherwise, show mise section always."

;; faces
(defface mini-echo-green
'((t (:foreground "#8BD49C")))
'((t (:foreground "green")))
"Face for mini-echo segment with green color."
:group 'mini-echo)

(defface mini-echo-yellow
'((t (:foreground "#EBBF83")))
'((t (:foreground "yellow")))
"Face for mini-echo segment with yellow color."
:group 'mini-echo)

(defface mini-echo-blue
'((t (:foreground "#5EC4FF")))
'((t (:foreground "blue")))
"Face for mini-echo segment with blue color."
:group 'mini-echo)

(defface mini-echo-red
'((t (:foreground "#E27E8D")))
'((t (:foreground "red")))
"Face for mini-echo segment with red color."
:group 'mini-echo)

(defface mini-echo-violet
'((t (:foreground "violet")))
"Face for mini-echo segment with violet color."
(defface mini-echo-magenta
'((t (:foreground "magenta")))
"Face for mini-echo segment with magenta color."
:group 'mini-echo)

(defface mini-echo-cyan
Expand All @@ -141,7 +141,7 @@ Otherwise, show mise section always."
:group 'mini-echo)

(defface mini-echo-gray
'((t (:foreground "#a0b3c5")))
'((t (:foreground "gray")))
"Face for mini-echo segment with gray color."
:group 'mini-echo)

Expand All @@ -165,9 +165,9 @@ Otherwise, show mise section always."
'((t (:inherit (bold mini-echo-cyan))))
"Face for mini-echo segment with bold cyan color.")

(defface mini-echo-violet-bold
'((t (:inherit (bold mini-echo-violet))))
"Face for mini-echo segment with bold violet color.")
(defface mini-echo-magenta-bold

Check warning on line 168 in mini-echo-segments.el

View workflow job for this annotation

GitHub Actions / build (snapshot, true)

in defface for ‘mini-echo-magenta-bold’: fails to specify containing group
'((t (:inherit (bold mini-echo-magenta))))
"Face for mini-echo segment with bold magenta color.")

(defface mini-echo-gray-bold
'((t (:inherit (bold mini-echo-gray))))
Expand All @@ -185,12 +185,12 @@ Otherwise, show mise section always."
:group 'mini-echo)

(defface mini-echo-buffer-position
'((t (:inherit mini-echo-violet)))
'((t (:inherit mini-echo-magenta)))
"Face for mini-echo segment of buffer position."
:group 'mini-echo)

(defface mini-echo-char-info
'((t (:inherit mini-echo-violet)))
'((t (:inherit mini-echo-magenta)))
"Face for mini-echo segment of char info."
:group 'mini-echo)

Expand Down Expand Up @@ -275,7 +275,7 @@ Otherwise, show mise section always."
:group 'mini-echo)

(defface mini-echo-evil-emacs-state
'((t (:inherit mini-echo-violet)))
'((t (:inherit mini-echo-magenta)))
"Face for mini-echo segment of evil Emacs state."
:group 'mini-echo)

Expand Down

0 comments on commit 0c1977d

Please sign in to comment.