File: modus-themes.el.html

The Modus themes conform with the highest standard for color-contrast accessibility between background and foreground values (WCAG AAA). This file contains all customization variables, helper functions, interactive commands, and face specifications. Please refer to the official Info manual for further documentation (distributed with the themes, or available at: <https://protesilaos.com/emacs/modus-themes>).

The themes share the following customization variables:

    modus-themes-completions (alist)
    modus-themes-headings (alist)
    modus-themes-org-agenda (alist)
    modus-themes-bold-constructs (boolean)
    modus-themes-deuteranopia (boolean)
    modus-themes-inhibit-reload (boolean)
    modus-themes-intense-mouseovers (boolean)
    modus-themes-italic-constructs (boolean)
    modus-themes-mixed-fonts (boolean)
    modus-themes-subtle-line-numbers (boolean)
    modus-themes-variable-pitch-ui (boolean)
    modus-themes-box-buttons (choice)
    modus-themes-diffs (choice)
    modus-themes-fringes (choice)
    modus-themes-hl-line (choice)
    modus-themes-lang-checkers (choice)
    modus-themes-links (choice)
    modus-themes-mail-citations (choice)
    modus-themes-markup (choice)
    modus-themes-mode-line (choice)
    modus-themes-org-blocks (choice)
    modus-themes-paren-match (choice)
    modus-themes-prompts (choice)
    modus-themes-region (choice)
    modus-themes-syntax (choice)

There also exist two unique customization variables for overriding color palette values. The specifics are documented in the manual. The symbols are:

    modus-themes-operandi-color-overrides (alist)
    modus-themes-vivendi-color-overrides (alist)

Check the manual for all supported packages (there are hundreds of them).

For a complete view of the project, also refer to the following files
(should be distributed in the same repository/directory as the
current item):

- modus-operandi-theme.el (Light theme)
- modus-vivendi-theme.el (Dark theme)

Defined variables (0)

Defined functions (0)

Defined faces (103)

modus-themes-active-blueA blue background meant for use on the mode line or similar. This is combined with the mode lines primary foreground value. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-active-cyanA cyan background meant for use on the mode line or similar. This is combined with the mode lines primary foreground value. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-active-greenA green background meant for use on the mode line or similar. This is combined with the mode lines primary foreground value. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-active-magentaA magenta background meant for use on the mode line or similar. This is combined with the mode lines primary foreground value. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-active-redA red background meant for use on the mode line or similar. This is combined with the mode lines primary foreground value. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-active-yellowA yellow background meant for use on the mode line or similar. This is combined with the mode lines primary foreground value. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-boldGeneric face for applying a conditional bold weight. This behaves in accordance with `modus-themes-bold-constructs'. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-box-buttonFace for widget buttons (e.g. in the Custom UI). The actual styling of the face is done by `modus-themes-faces'.
modus-themes-box-button-pressedFace for pressed widget buttons (e.g. in the Custom UI). The actual styling of the face is done by `modus-themes-faces'.
modus-themes-completion-match-0Face for completions matches 0. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-completion-match-1Face for completions matches 1. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-completion-match-2Face for completions matches 2. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-completion-match-3Face for completions matches 3. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-completion-selectedFace for current selection in completion UIs. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-completion-selected-popupFace for current selection in completion UI popups. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-diff-addedCombines green colors for the added state in diffs. The applied colors are contingent on the value assigned to `modus-themes-diffs'. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-diff-changedCombines yellow colors for the changed state in diffs. The applied colors are contingent on the value assigned to `modus-themes-diffs'. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-diff-focus-addedCombines green colors for the focused added state in diffs. The applied colors are contingent on the value assigned to `modus-themes-diffs'. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-diff-focus-changedCombines yellow colors for the focused changed state in diffs. The applied colors are contingent on the value assigned to `modus-themes-diffs'. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-diff-focus-removedCombines red colors for the focused removed state in diffs. The applied colors are contingent on the value assigned to `modus-themes-diffs'. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-diff-headingCombines blue colors for the diff hunk heading. The applied colors are contingent on the value assigned to `modus-themes-diffs'. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-diff-refine-addedCombines green colors for word-wise added state in diffs. The applied colors are contingent on the value assigned to `modus-themes-diffs'. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-diff-refine-changedCombines yellow colors for word-wise changed state in diffs. The applied colors are contingent on the value assigned to `modus-themes-diffs'. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-diff-refine-removedCombines red colors for word-wise removed state in diffs. The applied colors are contingent on the value assigned to `modus-themes-diffs'. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-diff-removedCombines red colors for the removed state in diffs. The applied colors are contingent on the value assigned to `modus-themes-diffs'. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-fixed-pitchGeneric face for applying a conditional `fixed-pitch'. This behaves in accordance with `modus-themes-mixed-fonts'. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-fringe-blueA blue background meant for use on the fringe or similar. This is combined with the main foreground value. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-fringe-cyanA cyan background meant for use on the fringe or similar. This is combined with the main foreground value. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-fringe-greenA green background meant for use on the fringe or similar. This is combined with the main foreground value. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-fringe-magentaA magenta background meant for use on the fringe or similar. This is combined with the main foreground value. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-fringe-redA red background meant for use on the fringe or similar. This is combined with the main foreground value. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-fringe-yellowA yellow background meant for use on the fringe or similar. This is combined with the main foreground value. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-grueGeneric face for `modus-themes-deuteranopia' foreground. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-grue-activeFace for `modus-themes-deuteranopia' active foreground. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-grue-background-activeFace for `modus-themes-deuteranopia' active background. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-grue-background-intenseFace for `modus-themes-deuteranopia' intense background. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-grue-background-refineFace for `modus-themes-deuteranopia' refined background. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-grue-background-subtleFace for `modus-themes-deuteranopia' subtle background. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-grue-nuancedFace for `modus-themes-deuteranopia' nuanced foreground. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-heading-0General purpose face for use as the document's title. The exact attributes assigned to this face are contingent on the values assigned to the `modus-themes-headings' variable. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-heading-1General purpose face for use in headings level 1. The exact attributes assigned to this face are contingent on the values assigned to the `modus-themes-headings' variable. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-heading-2General purpose face for use in headings level 2. The exact attributes assigned to this face are contingent on the values assigned to the `modus-themes-headings' variable. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-heading-3General purpose face for use in headings level 3. The exact attributes assigned to this face are contingent on the values assigned to the `modus-themes-headings' variable. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-heading-4General purpose face for use in headings level 4. The exact attributes assigned to this face are contingent on the values assigned to the `modus-themes-headings' variable. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-heading-5General purpose face for use in headings level 5. The exact attributes assigned to this face are contingent on the values assigned to the `modus-themes-headings' variable. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-heading-6General purpose face for use in headings level 6. The exact attributes assigned to this face are contingent on the values assigned to the `modus-themes-headings' variable. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-heading-7General purpose face for use in headings level 7. The exact attributes assigned to this face are contingent on the values assigned to the `modus-themes-headings' variable. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-heading-8General purpose face for use in headings level 8. The exact attributes assigned to this face are contingent on the values assigned to the `modus-themes-headings' variable. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-hl-lineGeneral purpose face for the current line. The exact attributes assigned to this face are contingent on the values assigned to the `modus-themes-hl-line' variable. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-intense-blueIntense blue background combined with the main foreground. This is used for general purpose highlighting, mostly in buffers or for completion interfaces. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-intense-cyanIntense cyan background combined with the main foreground. This is used for general purpose highlighting, mostly in buffers or for completion interfaces. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-intense-greenIntense green background combined with the main foreground. This is used for general purpose highlighting, mostly in buffers or for completion interfaces. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-intense-magentaIntense magenta background combined with the main foreground. This is used for general purpose highlighting, mostly in buffers or for completion interfaces. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-intense-neutralIntense gray background combined with the main foreground. This is used for general purpose highlighting, mostly in buffers or for completion interfaces. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-intense-redIntense red background combined with the main foreground. This is used for general purpose highlighting, mostly in buffers or for completion interfaces. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-intense-yellowIntense yellow background combined with the main foreground. This is used for general purpose highlighting, mostly in buffers or for completion interfaces. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-lang-errorGeneric face for linter or spell checker errors. The exact attributes and color combinations are controlled by `modus-themes-lang-checkers'. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-lang-noteGeneric face for linter or spell checker notes. The exact attributes and color combinations are controlled by `modus-themes-lang-checkers'. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-lang-warningGeneric face for linter or spell checker warnings. The exact attributes and color combinations are controlled by `modus-themes-lang-checkers'. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-link-brokenFace for `modus-themes-links' broken link. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-link-symlinkFace for `modus-themes-links' symbolic link. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-mark-altCombines yellow colors for marking special lines. This is intended for use in modes such as Dired, Ibuffer, Proced. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-mark-delCombines red colors for marking deletable lines. This is intended for use in modes such as Dired, Ibuffer, Proced. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-mark-selCombines green colors for marking lines. This is intended for use in modes such as Dired, Ibuffer, Proced. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-mark-symbolApplies a blue color and other styles for mark indicators. This is intended for use in modes such as Dired, Ibuffer, Proced. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-markup-codeFace of inline code markup. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-markup-macroFace of macro markup. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-markup-verbatimFace of verbatim markup. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-nuanced-blueA nuanced blue background. This does not specify a foreground of its own. Instead it is meant to serve as the backdrop for elements such as Org blocks, headings, and any other surface that needs to retain the colors on display. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-nuanced-cyanA nuanced cyan background. This does not specify a foreground of its own. Instead it is meant to serve as the backdrop for elements such as Org blocks, headings, and any other surface that needs to retain the colors on display. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-nuanced-greenA nuanced green background. This does not specify a foreground of its own. Instead it is meant to serve as the backdrop for elements such as Org blocks, headings, and any other surface that needs to retain the colors on display. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-nuanced-magentaA nuanced magenta background. This does not specify a foreground of its own. Instead it is meant to serve as the backdrop for elements such as Org blocks, headings, and any other surface that needs to retain the colors on display. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-nuanced-redA nuanced red background. This does not specify a foreground of its own. Instead it is meant to serve as the backdrop for elements such as Org blocks, headings, and any other surface that needs to retain the colors on display. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-nuanced-yellowA nuanced yellow background. This does not specify a foreground of its own. Instead it is meant to serve as the backdrop for elements such as Org blocks, headings, and any other surface that needs to retain the colors on display. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-promptGeneric face for command prompts. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-pseudo-headerGeneric style for some elements that function like headings. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-refine-blueCombination of accented blue background and foreground. This is used for general purpose highlighting, mostly in buffers or for completion interfaces. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-refine-cyanCombination of accented cyan background and foreground. This is used for general purpose highlighting, mostly in buffers or for completion interfaces. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-refine-greenCombination of accented green background and foreground. This is used for general purpose highlighting, mostly in buffers or for completion interfaces. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-refine-magentaCombination of accented magenta background and foreground. This is used for general purpose highlighting, mostly in buffers or for completion interfaces. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-refine-redCombination of accented red background and foreground. This is used for general purpose highlighting, mostly in buffers or for completion interfaces. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-refine-yellowCombination of accented yellow background and foreground. This is used for general purpose highlighting, mostly in buffers or for completion interfaces. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-reset-softGeneric face to set most face properties to nil. This is intended to be inherited by faces that should not retain properties from their context (e.g. an overlay over an underlined text should not be underlined as well) yet still blend in. Also see `modus-themes-reset-hard'. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-search-successGeneric face for successful search. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-search-success-lazyGeneric face for successful, lazily highlighted search. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-search-success-modelineGeneric mode line indicator for successful search. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-slantGeneric face for applying a conditional slant (italics). This behaves in accordance with `modus-themes-italic-constructs'. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-special-calmCombines the special calm background and foreground values. This is intended for cases when a neutral gray background is not suitable and where a combination of more saturated colors would not be appropriate. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-special-coldCombines the special cold background and foreground values. This is intended for cases when a neutral gray background is not suitable and where a combination of more saturated colors would not be appropriate. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-special-mildCombines the special mild background and foreground values. This is intended for cases when a neutral gray background is not suitable and where a combination of more saturated colors would not be appropriate. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-special-warmCombines the special warm background and foreground values. This is intended for cases when a neutral gray background is not suitable and where a combination of more saturated colors would not be appropriate. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-subtle-blueSubtle blue background combined with a dimmed foreground. This is used for general purpose highlighting, mostly in buffers or for completion interfaces. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-subtle-cyanSubtle cyan background combined with a dimmed foreground. This is used for general purpose highlighting, mostly in buffers or for completion interfaces. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-subtle-greenSubtle green background combined with a dimmed foreground. This is used for general purpose highlighting, mostly in buffers or for completion interfaces. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-subtle-magentaSubtle magenta background combined with a dimmed foreground. This is used for general purpose highlighting, mostly in buffers or for completion interfaces. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-subtle-neutralSubtle gray background combined with a dimmed foreground. This is used for general purpose highlighting, mostly in buffers or for completion interfaces. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-subtle-redSubtle red background combined with a dimmed foreground. This is used for general purpose highlighting, mostly in buffers or for completion interfaces. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-subtle-yellowSubtle yellow background combined with a dimmed foreground. This is used for general purpose highlighting, mostly in buffers or for completion interfaces. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-tab-activeFace of active tab. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-tab-backdropFace of backdrop in tabbed interfaces. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-tab-inactiveFace of inactive tab. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-ui-variable-pitchFace for `modus-themes-variable-pitch-ui'. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-variable-pitchGeneric face for applying a conditional `variable-pitch'. This behaves in accordance with `modus-themes-mixed-fonts' and/or `modus-themes-variable-pitch-ui'. The actual styling of the face is done by `modus-themes-faces'.