- All built-in themes now apply the man-pages(7) font convention: literal tokens (command and subcommand names, aliases, option flags, choice values) render bold, and replaceable tokens (metavars, argument names) render italic, layered on top of each palette's colors. The split is declared by the new `LITERAL_STYLES` / `REPLACEABLE_STYLES` frozensets in `click_extra.theme`, and a test enforces that every built-in theme keeps it. To avoid piling bold onto slots that already stand out, `heading` (now color + underline), `deprecated`, and `search` drop their bold; `critical` keeps it, as it is the only cue distinguishing it from `error`. In `light` and `solarized_dark`, `heading` is recolored (to magenta and violet respectively) so it stays distinct from the now-bold options and subcommands it previously shared a color with.
0 commit comments