Make 'link' not inherit 'button' in modus-themes.el (bug#79672)

* etc/themes/modus-themes.el (modus-themes-faces): Apply the
  font attributes directly.
This commit is contained in:
Protesilaos Stavrou 2025-10-30 07:51:19 +02:00
parent 9e8557fe85
commit 06b3f11cb8
No known key found for this signature in database
GPG key ID: 99BD6459CD5CA3EA

View file

@ -1721,7 +1721,7 @@ FG and BG are the main colors."
`(warning ((,c :inherit bold :foreground ,warning)))
;;;;; buttons, links, widgets
`(button ((,c :background ,bg-link :foreground ,fg-link :underline ,underline-link)))
`(link ((,c :inherit button)))
`(link ((,c :background ,bg-link :foreground ,fg-link :underline ,underline-link)))
`(link-visited ((,c :background ,bg-link-visited :foreground ,fg-link-visited :underline ,underline-link-visited)))
`(tooltip ((,c :background ,bg-active :foreground ,fg-main)))
;;;;; adoc-mode