Skip to content

v0.14.0 — preset terminal themes

Choose a tag to compare

@httpassoca httpassoca released this 12 Jul 18:33
· 54 commits to main since this release
61f5bc1

Added

  • Preset terminal palettes (DS-0142) — six ready-made 19-slot palettes as PRESET_THEMES + presetPalette(): Dracula (light = the official Alucard Classic), Tokyo Night (Night + Day), Gruvbox (dark + light), Nord (dark-only), Solarized (dark + light), and Coffee (light-only). Faithful upstream hues; neutrals role-mapped to the dssoca slot conventions; WCAG 2.2 AA-failing text slots nudged along OKLCH lightness only (each commented with the upstream value and pinned by tests). Single-mode presets mirror into both themes.

    import { applyDesignConfig, presetPalette } from 'dssoca'
    applyDesignConfig({ palette: presetPalette('dracula') })
  • Theme Builder preset examples — the docs Theme Builder offers every preset as an example button: picking one loads the full palette as editable slot overrides.

Fixed

  • Theme Builder preset buttons — gap between the color swatch dot and the label.

Full details in CHANGELOG.md.