colors for dark themes

Marcin Kasperski Marcin.Kasperski at mekk.waw.pl
Wed Feb 23 12:44:30 UTC 2022


As an extra note: one can name custom colors, like

  [color]
  # …
  color.somewhatbrightyellow=226

and later use those names just like standard names

  changeset.draft = somewhatbrightyellow bold


My current (written or copied loooong time ago, so I don't remember details):

[color]
mode=terminfo

#Custom colours
color.orange=202
color.lightyellow=191
color.darkorange=220
color.brightyellow=226

#Colours for each label
log.branch=cyan
log.summary=lightyellow
log.description=lightyellow
log.bookmark=green
log.tag=darkorange
log.graph=blue

changeset.public=orange bold
changeset.secret=blue bold
changeset.draft=brightyellow bold

desc.here=bold blue_background





More information about the Mercurial mailing list