custom-colors-grayscale unchanged

Custom colors

Custom colors (specs/dsl.md § Config Section, Colors): one source, a value per theme. Rendered three times: custom-colors (light), custom-colors-dark and custom-colors-grayscale. `brand` sets all three themes. `brand-ink` sets light and dark only, so under grayscale the chip and bar keep their default text color. `blocked` is a fixed hex under light and the dark theme's own red under dark (a named value); it and `blocked-ink` keep the defaults under grayscale, so the bar stays readable there. `dark-edge` sets dark only: item borders turn yellow under dark and keep the theme default everywhere else.

theme: grayscale now: 2026-02-09

ca149b5 Share one included-file walk and diagnostic builder (#327)

Identical to 874ad9a.

tests/custom-colors.nowline
nowline v1

// Custom colors (specs/dsl.md § Config Section, Colors): one source, a value
// per theme. Rendered three times: custom-colors (light), custom-colors-dark
// and custom-colors-grayscale. `brand` sets all three themes. `brand-ink` sets
// light and dark only, so under grayscale the chip and bar keep their default
// text color. `blocked` is a fixed hex under light and the dark theme's own
// red under dark (a named value); it and `blocked-ink` keep the defaults
// under grayscale, so the bar stays readable there.
// `dark-edge` sets dark only: item borders turn yellow under dark and keep
// the theme default everywhere else.

config

color brand "Customer brand" light:#2f855a dark:#48bb78 grayscale:#c8c8c8
color brand-ink light:white dark:#0b1220
color blocked light:#b91c1c dark:red
color blocked-ink light:white dark:#0b1220
color dark-edge dark:yellow

style brand-chip "Customer"
  bg: brand
  fg: brand
  text: brand-ink

style blocked-chip
  bg: blocked
  text: blocked-ink

style brand-bar
  bg: brand
  text: brand-ink

default item fg:dark-edge

roadmap custom-colors "Custom colors" start:2026-01-05 scale:1w

label acme "Acme" style:brand-chip
label stuck "Blocked" style:blocked-chip

swimlane platform "Platform"
  item sso "SSO for Acme" duration:2w labels:[acme] status:done
  item audit "Audit log" duration:2w labels:[stuck] status:blocked
  item portal "Customer portal" duration:3w style:brand-bar
  item docs "Docs" duration:1w