This is one of our practical examples to override the semantic colors of the Modus themes (Stylistic variants using palette overrides). In previous versions of the themes, we provided an option for yellow-ish comments and green-ish strings. For some users, those were still not good enough, as the exact values were hardcoded. Here we show how to reproduce the effect, but also how to tweak it to one’s liking.
;; Yellow comments and green strings like older versions of the Modus;; themes(setq modus-themes-common-palette-overrides '((comment yellow-cooler) (string green-cooler)));; Faint yellow comments and a different shade of green for strings(setq modus-themes-common-palette-overrides '((comment yellow-faint) (string green-warmer)));; Green comments and yellow strings, because now the user has the;; freedom to do it(setq modus-themes-common-palette-overrides '((comment green) (string yellow-cooler)))
DIY Make comments yellow and strings green
This is one of our practical examples to override the semantic colors of the Modus themes (Stylistic variants using palette overrides). In previous versions of the themes, we provided an option for yellow-ish comments and green-ish strings. For some users, those were still not good enough, as the exact values were hardcoded. Here we show how to reproduce the effect, but also how to tweak it to one’s liking.
Make code syntax use the old alt-syntax style.
Make use of alternative styles for code syntax.
Reload the theme for changes to take effect.