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.
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.