Repository navigation
dsh-skills-manager-plus 0.2.2
What's changed
Dark-theme legibility. --dsw-alias-brand-primary inverts between themes (#0f1115 near-black on light, #f9fafb near-white on dark), and the primary buttons carried a literal color:#fff on it — white-on-white at 1.05:1 on dark. "Add skill", "Add command" and every dialog confirm button were effectively unreadable. The label now uses --dsw-alias-bg-base, the surface token that inverts alongside it (18.90:1 light / 17.45:1 dark).
Dialog surface. Dialogs sat on --dsw-alias-bg-overlay, mid-grey #61666b on dark, where secondary text fell to 3.85:1 and the state headlines to 1.76–2.70:1. They now use --dsw-alias-bg-layer-2, the surface the harness's own settings panel uses, and the scrim uses the theme-aware --dsw-alias-bg-mask-1 (24% black light / 50% black dark) instead of a literal rgba() that was invisible on dark.
Install-result headline. The state colours are fixed across themes, so as text on the dialog they fell to 1.76–2.55:1 on dark. The headline is now ordinary label text (13.34:1) and the tone rides the icon — the state still reads from the glyph and its colour.
Switch. The off-track had been filled with the hairline border token (1.2:1 light, 1.5:1 dark) and the knob was a literal #fff (1.0–1.5:1 on dark). The knob now uses --dsw-alias-bg-base and the off-track --dsw-alias-label-secondary, giving 12.11:1 / 8.00:1 on dark. The design system's own --dsw-alias-switch-thumb cannot be used here: at #adb2b8 on dark it is only 1.07:1 against the fixed green track.
Every dark-theme colour pair now clears its threshold. Bump to 0.2.2 — 97 tests green (5 new regression tests, all proven to fail against the old stylesheet).
Known limitation left as is: the amber state-warn-primary (#f59e0b) is 2.15:1 on a light background; that is the palette's own value, and state-warn-label (#dd8629) only reaches ~2.6:1.
Install
# from npm
dsh plugin --profile web add dsh-skills-manager-plus