This section shows how to refashion the themes by opting in to the stylistic presets we provide. Those presets override the default color mappings to amplify, tone down, or refashion the overall coloration of the themes.
To make almost all aspects of the themes less intense, use this:
;; Always remember to reload the theme for changes to take effect! (setq modus-themes-common-palette-overrides modus-themes-preset-overrides-faint)
With modus-themes-preset-overrides-faint
the grays are toned down,
gray backgrounds are removed from some contexts, and almost all accent
colors are desaturated. It makes the themes less attention-grabbing.
On the opposite end of the stylistic spectrum, we have this
;; Always remember to reload the theme for changes to take effect! (setq modus-themes-common-palette-overrides modus-themes-preset-overrides-intense)
The modus-themes-preset-overrides-intense
makes many background
colors accented instead of gray and increases coloration in a number
of places. Colors stand out more and are made easier to spot.
For some stylistic variation try the “cooler” and “warmer” presets:
;; This: (setq modus-themes-common-palette-overrides modus-themes-preset-overrides-cooler) ;; Or: (setq modus-themes-common-palette-overrides modus-themes-preset-overrides-warmer)
Note that the user is not limited to those presets. The system of overrides we provide makes it possible to tweak the value of each individual named color and to change how values are assigned to semantic color mappings (Option for palette overrides). Subsequent sections provide examples (Stylistic variants using palette overrides).
It is also possible to use those presets as a basis and, for example, add to them code from the subsequent sections of this manual. This is the general idea (extra space for didactic purposes):
(setq modus-themes-common-palette-overrides `( ;; From the section "Make the mode line borderless" (border-mode-line-active unspecified) (border-mode-line-inactive unspecified) ;; From the section "Make matching parenthesis more or less intense" (bg-paren-match bg-magenta-intense) (underline-paren-match fg-main) ;; And expand the preset here. Note that the ,@ works because ;; we use the backtick for this list, instead of a straight ;; quote. ,@modus-themes-preset-overrides-intense))