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/modus-themes>).

The themes share the following customization variables:

    modus-themes-headings (alist)
    modus-themes-org-agenda (alist)
    modus-themes-bold-constructs (boolean)
    modus-themes-inhibit-reload (boolean)
    modus-themes-italic-constructs (boolean)
    modus-themes-no-mixed-fonts (boolean)
    modus-themes-scale-headings (boolean)
    modus-themes-subtle-line-numbers (boolean)
    modus-themes-success-deuteranopia (boolean)
    modus-themes-variable-pitch-headings (boolean)
    modus-themes-variable-pitch-ui (boolean)
    modus-themes-completions (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-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)

The default scale for headings is as follows (it can be customized as well---remember, no scaling takes place by default):

    modus-themes-scale-1 1.05
    modus-themes-scale-2 1.1
    modus-themes-scale-3 1.15
    modus-themes-scale-4 1.2
    modus-themes-scale-title 1.3

There is another scaling-related option, which however is reserved for special cases and is not used for headings:

    modus-themes-scale-small 0.9

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)

Below is the list of explicitly supported packages or face groups
(there are implicitly supported packages as well, which inherit from
font-lock or some basic group). You are encouraged to report any missing package or change you would like to see.

    ace-window
    ag
    alert
    all-the-icons
    annotate
    ansi-color
    anzu
    apropos
    apt-sources-list
    artbollocks-mode
    auctex and TeX
    auto-dim-other-buffers
    avy
    awesome-tray
    bbdb
    binder
    bm
    bongo
    boon
    bookmark
    breakpoint (provided by built-in gdb-mi.el)
    buffer-expose
    calendar and diary
    calfw
    centaur-tabs
    cfrs
    change-log and log-view (vc-print-log and vc-print-root-log)
    cider
    circe
    color-rg
    column-enforce-mode
    company-mode
    company-posframe
    compilation-mode
    completions
    consult
    corfu
    counsel
    counsel-css
    counsel-org-capture-string
    cov
    cperl-mode
    css-mode
    csv-mode
    ctrlf
    cursor-flash
    custom (M-x customize)
    dap-mode
    dashboard (emacs-dashboard)
    deadgrep
    debbugs
    define-word
    deft
    dictionary
    diff-hl
    diff-mode
    dim-autoload
    dir-treeview
    dired
    dired-async
    dired-git
    dired-git-info
    dired-narrow
    dired-subtree
    diredc
    diredfl
    diredp (dired+)
    disk-usage
    display-fill-column-indicator-mode
    doom-modeline
    dynamic-ruler
    easy-jekyll
    easy-kill
    ebdb
    ediff
    eglot
    el-search
    eldoc
    eldoc-box
    elfeed
    elfeed-score
    elpher
    embark
    emms
    enh-ruby-mode (enhanced-ruby-mode)
    epa
    equake
    erc
    eros
    ert
    eshell
    eshell-fringe-status
    eshell-git-prompt
    eshell-prompt-extras (epe)
    eshell-syntax-highlighting
    evil (evil-mode)
    evil-goggles
    evil-snipe
    evil-visual-mark-mode
    eww
    exwm
    eyebrowse
    fancy-dabbrev
    flycheck
    flycheck-color-mode-line
    flycheck-indicator
    flycheck-posframe
    flymake
    flyspell
    flyspell-correct
    flx
    freeze-it
    frog-menu
    focus
    fold-this
    font-lock (generic syntax highlighting)
    forge
    fountain (fountain-mode)
    geiser
    git-commit
    git-gutter (and variants)
    git-lens
    git-rebase
    git-timemachine
    git-walktree
    gnus
    gotest
    golden-ratio-scroll-screen
    helm
    helm-ls-git
    helm-switch-shell
    helm-xref
    helpful
    highlight-blocks
    highlight-defined
    highlight-escape-sequences (hes-mode)
    highlight-indentation
    highlight-numbers
    highlight-symbol
    highlight-tail
    highlight-thing
    hl-defined
    hl-fill-column
    hl-line-mode
    hl-todo
    hydra
    hyperlist
    ibuffer
    icomplete
    ido-mode
    iedit
    iflipb
    imenu-list
    indium
    info
    info-colors
    interaction-log
    ioccur
    isearch, occur, etc.
    isl (isearch-light)
    ivy
    ivy-posframe
    jira (org-jira)
    journalctl-mode
    js2-mode
    julia
    jupyter
    kaocha-runner
    keycast
    ledger-mode
    line numbers (display-line-numbers-mode(var)/display-line-numbers-mode(fun) and global variant)
    lsp-mode
    lsp-ui
    macrostep
    magit
    magit-imerge
    make-mode
    man
    marginalia
    markdown-mode
    markup-faces (adoc-mode)
    mentor
    messages
    minibuffer-line
    minimap
    mmm-mode
    mode-line
    mood-line
    mpdel
    mu4e
    mu4e-conversation
    multiple-cursors
    neotree
    no-emoji
    notmuch
    num3-mode
    nxml-mode
    objed
    orderless
    org
    org-journal
    org-noter
    org-pomodoro
    org-recur
    org-roam
    org-superstar
    org-table-sticky-header
    org-tree-slide
    org-treescope
    origami
    outline-mode
    outline-minor-faces
    package (M-x list-packages)
    page-break-lines
    pandoc-mode
    paradox
    paren-face
    parrot
    pass
    pdf-tools
    persp-mode
    perspective
    phi-grep
    phi-search
    pkgbuild-mode
    pomidor
    popup
    powerline
    powerline-evil
    prism (see "Note for prism.el" in the manual)
    proced
    prodigy
    pulse
    quick-peek
    racket-mode
    rainbow-blocks
    rainbow-identifiers
    rainbow-delimiters
    rcirc
    recursion-indicator
    regexp-builder (also known as re-builder)
    rg
    ripgrep
    rmail
    ruler-mode
    sallet
    selectrum
    selectrum-prescient
    semantic
    sesman
    shell-script-mode
    shortdoc
    show-paren-mode
    shr
    side-notes
    sieve-mode
    skewer-mode
    smart-mode-line
    smartparens
    smerge
    spaceline
    speedbar
    spell-fu
    spray
    stripes
    suggest
    switch-window
    swiper
    swoop
    sx
    symbol-overlay
    syslog-mode
    tab-bar-groups
    tab-bar-mode
    tab-line-mode
    table (built-in table.el)
    telega
    telephone-line
    terraform-mode
    term
    tomatinho
    transient (pop-up windows like Magit's)
    trashed
    treemacs
    tty-menu
    tuareg
    typescript
    undo-tree
    vc (vc-dir.el, vc-hooks.el)
    vc-annotate (C-x v g)
    vdiff
    vertico
    vimish-fold
    visible-mark
    visual-regexp
    volatile-highlights
    vterm
    wcheck-mode
    web-mode
    wgrep
    which-function-mode
    which-key
    whitespace-mode
    window-divider-mode
    winum
    writegood-mode
    woman
    xah-elisp-mode
    xref
    xterm-color (and ansi-colors)
    yaml-mode
    yasnippet
    ztree

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 (83)

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-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. 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-no-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-graph-blue-0Special subdued blue face for use in graphs. This is intended to be applied in contexts such as the Org agenda habit graph where faithfulness to the semantics of a color value is of paramount importance. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-graph-blue-1Special prominent blue face for use in graphs. This is intended to be applied in contexts such as the Org agenda habit graph where faithfulness to the semantics of a color value is of paramount importance. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-graph-cyan-0Special subdued cyan face for use in graphs. This is intended to be applied in contexts such as the Org agenda habit graph where faithfulness to the semantics of a color value is of paramount importance. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-graph-cyan-1Special prominent cyan face for use in graphs. This is intended to be applied in contexts such as the Org agenda habit graph where faithfulness to the semantics of a color value is of paramount importance. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-graph-green-0Special subdued green face for use in graphs. This is intended to be applied in contexts such as the Org agenda habit graph where faithfulness to the semantics of a color value is of paramount importance. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-graph-green-1Special prominent green face for use in graphs. This is intended to be applied in contexts such as the Org agenda habit graph where faithfulness to the semantics of a color value is of paramount importance. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-graph-magenta-0Special subdued magenta face for use in graphs. This is intended to be applied in contexts such as the Org agenda habit graph where faithfulness to the semantics of a color value is of paramount importance. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-graph-magenta-1Special prominent magenta face for use in graphs. This is intended to be applied in contexts such as the Org agenda habit graph where faithfulness to the semantics of a color value is of paramount importance. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-graph-red-0Special subdued red face for use in graphs. This is intended to be applied in contexts such as the Org agenda habit graph where faithfulness to the semantics of a color value is of paramount importance. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-graph-red-1Special prominent red face for use in graphs. This is intended to be applied in contexts such as the Org agenda habit graph where faithfulness to the semantics of a color value is of paramount importance. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-graph-yellow-0Special subdued yellow face for use in graphs. This is intended to be applied in contexts such as the Org agenda habit graph where faithfulness to the semantics of a color value is of paramount importance. The actual styling of the face is done by `modus-themes-faces'.
modus-themes-graph-yellow-1Special prominent yellow face for use in graphs. This is intended to be applied in contexts such as the Org agenda habit graph where faithfulness to the semantics of a color value is of paramount importance. 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-key-bindingGeneric face for key bindings. 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-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-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-variable-pitchGeneric face for applying a conditional `variable-pitch'. This behaves in accordance with `modus-themes-no-mixed-fonts', `modus-themes-variable-pitch-headings' for all heading levels, and `modus-themes-variable-pitch-ui'. The actual styling of the face is done by `modus-themes-faces'.