Stop hardcoding colour values for the three Gnus mail groups

This commit is contained in:
Protesilaos Stavrou 2025-11-25 12:48:54 +02:00
parent c2cf943239
commit 1d0348fc64
No known key found for this signature in database
GPG key ID: 99BD6459CD5CA3EA

View file

@ -5546,13 +5546,13 @@ If COLOR is unspecified, then return :box unspecified."
`(gnus-emphasis-underline-bold ((,c :inherit gnus-emphasis-bold :underline t)))
`(gnus-emphasis-underline-bold-italic ((,c :inherit gnus-emphasis-bold-italic :underline t)))
`(gnus-emphasis-underline-italic ((,c :inherit gnus-emphasis-italic :underline t)))
`(gnus-group-mail-1 ((,c :inherit bold :foreground ,magenta-warmer)))
`(gnus-group-mail-1-empty ((,c :foreground ,magenta-warmer)))
`(gnus-group-mail-2 ((,c :inherit modus-themes-bold :foreground ,magenta-warmer)))
`(gnus-group-mail-2-empty ((,c :foreground ,magenta)))
`(gnus-group-mail-3 ((,c :inherit modus-themes-bold :foreground ,magenta)))
`(gnus-group-mail-3-empty ((,c :foreground ,magenta-cooler)))
`(gnus-group-mail-low ((,c :inherit modus-themes-bold :foreground ,magenta-cooler)))
`(gnus-group-mail-1 ((,c :inherit bold :foreground ,accent-0)))
`(gnus-group-mail-1-empty ((,c :foreground ,accent-0)))
`(gnus-group-mail-2 ((,c :inherit modus-themes-bold :foreground ,accent-1)))
`(gnus-group-mail-2-empty ((,c :foreground ,accent-1)))
`(gnus-group-mail-3 ((,c :inherit modus-themes-bold :foreground ,accent-2)))
`(gnus-group-mail-3-empty ((,c :foreground ,accent-2)))
`(gnus-group-mail-low ((,c :inherit modus-themes-bold :foreground ,fg-dim)))
`(gnus-group-mail-low-empty ((,c :foreground ,fg-dim)))
`(gnus-group-news-1 ((,c :inherit modus-themes-bold :foreground ,green)))
`(gnus-group-news-1-empty ((,c :foreground ,green)))