DIY Make links use subtle or no underlines
This is one of our practical examples to override the semantic colors of the Modus themes (Stylistic variants using palette overrides). In this example, we showcase the special use of the unspecified symbol that underline mappings can read correctly.
emacs-lisp
;; Subtle underlines
(setq modus-themes-common-palette-overrides
'((underline-link border)
(underline-link-visited border)
(underline-link-symbolic border)))
;; No underlines
(setq modus-themes-common-palette-overrides
'((underline-link unspecified)
(underline-link-visited unspecified)
(underline-link-symbolic unspecified)))Reload the theme for changes to take effect.