All notable changes to this project are documented here. The format follows Keep a Changelog, and this project adheres to Semantic Versioning.
- The tag-triggered
Publish Packageworkflow runs on the Node version in.nvmrc(it was pinned to Node 18, belowengines.node, and Vite 8 could not load), and no longer tries tonpm publishthe private template fromdist/.
The first tagged release. It ships the 0.1.0 work below (the Stylescape theme layout on stylescape 0.5.1, every devDependency at its latest version) together with the following.
- Storybook (the fleet's shared setup):
.storybook/main.tsandpreview.ts,src/stories/theme.stories.ts, thestorybookandbuild-storybookscripts and their devDependencies (Storybook 10.6,lit);storybook-static/is git-ignored.
- Dependabot groups its updates, lists only the ecosystems the repo really
uses and targets the
devbranch.
- The Storybook build no longer warns: the obsolete
mixed-declsdeprecation silence and the unmatchedsrc/**/*.mdxstories glob are gone.
The repository becomes the brand-neutral starter theme, laid out like
stylescape-mesmera and documented as the template a brand theme is
copied from.
- The token set.
tokens/_brand.scssholds a placeholder palette that is stylescape core 0.5.1's own default (neutrals, the steel-blue accent family, the green/amber/red/indigo feedback hues darkened to WCAG AA byink()— core'sensure-contrast()— and core's tint mixes), radii, shadow colours, core's font stacks and its heading setting.tokens/_css-vars.scssemits every--ss-*colour, radius, depth and type token core reads, plus--theme-accent,--theme-white,--theme-paperand--theme-gradientas the placeholders for a brand's own values. - A dark theme (
themes/_dark.scss) under[data-theme="dark"]on any element and, when the OS prefers dark,[data-theme="auto"]— core 0.5.1's complete dark set, value for value. The light set is also emitted on[data-theme="light"], so a light island inside a dark band takes the theme's light values. - Subpath entries
./tokens,./themes,./abstracts(breakpoints on core's scale,fade(), thedarkmixin),./base(heading/body/eyebrow mixins,$preload),./font/*(an emptyfonts.css),./css,./stylelint. - Tests (
node --test): the template against core's defaults, the token contract and WCAG AA in both themes, the root entry over core, the published surface. ESLint, Prettier, tsc, a Vite build ofdist/css/ss{,.min}.cssand a CI workflow. doc/(includingdoc/template.md, the copy-a-brand guide),Makefile,VERSION,codemeta.json.
package.jsonrebuilt in the fleet's theme shape (exports map, files, peer dependencies onsassandstylescape >=0.5.1; stylescape^0.5.1and every other devDependency at its latest version, including TypeScript 7). The package name,stylescape_npm, is unchanged.
- The npm-example scaffolding: the
sass/postcss/nodemon/sirvscripts and dependencies, thestylescape ^0.0.34dependency, and the emptysrc/js/index.js.