Under Development
stars

Color / UI Appearance

Color / UI Appearance#

Commands for defining and removing colors and mono-mode attributes.

:color#

Define colors for a UI element.

  • color <object> <fg> <bg> β€” set foreground/background on a UI object

  • color <object> <attribute> <fg> <bg> β€” add bold, underline, etc.

  • color body <fg> <bg> <regex> β€” colorize text in the message body matching a pattern

  • color index <fg> <bg> <pattern> β€” colorize index lines matching a pattern

  • color header <fg> <bg> <regex> β€” colorize message headers matching a pattern

color normal     default      default
color status     black        cyan
color indicator  brightwhite  default bold
color tree       red          default
color attachment white        default
color signature  brightred    default reverse
color body       brightblue   default "(https?|ftp)://[^ ]+"
color body       brightyellow default "[a-z0-9._-]+@[a-z0-9._-]+"
color index      brightgreen  default "~N"
color index      red          default "~F"
color header     cyan         default "^(From|Subject):"

:uncolor#

Remove a color definition.

  • uncolor <object> * β€” remove all color rules for an object

  • uncolor <object> <pattern> β€” remove a specific color rule

uncolor index *
uncolor body "(https?|ftp)://[^ ]+"

:mono#

Deprecated β€” use color instead.

:unmono#

Deprecated β€” use uncolor instead.