Skip to content

Option for command prompt styles

Brief: Control the style of command prompts (e.g. minibuffer, shell, IRC clients).

Symbol: modus-themes-prompts (‘choice’ type, list of properties)

Possible values are expressed as a list of properties (default is nil or an empty list). The list can include any of the following symbols:

  • italic

  • italic

  • A font weight, which must be supported by the underlying typeface:

    • thin
    • ultralight
    • extralight
    • light
    • semilight
    • regular
    • medium
    • semibold
    • bold
    • heavy
    • extrabold
    • ultrabold

The default (a nil value or an empty list) means to only use a subtle colored foreground color.

The italic property adds a slant to the font’s forms (italic or oblique forms, depending on the typeface).

The symbol of a font weight attribute such as light, semibold, et cetera, adds the given weight to links. Valid symbols are defined in the variable modus-themes-weights. The absence of a weight means that the one of the underlying text will be used.

Combinations of any of those properties are expressed as a list, like in these examples:

emacs-lisp
(bold italic)
(italic semibold)

The order in which the properties are set is not significant.

In user configuration files the form may look like this:

emacs-lisp
(setq modus-themes-prompts '(extrabold italic))

Make prompts more or less colorful.