@caspeco/casper-ui-css
v2.1.0
Published
Casper UI theme CSS variables and variable references, without React.
Keywords
Readme
@caspeco/casper-ui-css
Casper UI theme CSS variables and enums for projects that can't use the React ThemeProvider from @caspeco/casper-ui-library.
👉 The usage documentation can be found at https://caspeco.github.io/casper-ui-library/guides/css-only/
Development
The output is generated from the library's theme source, so this package has no source of its own.
| Command | Description |
| --------------- | ----------------------------------------------------------------------------------- |
| npm run build | Generates dist/theme.css, dist/index.js and dist/index.d.ts from the library. |
| npm run test | Builds and runs the tests, including a snapshot of theme.css. |
When the theme changes, update the snapshot with npm run test -- -u and commit it.
Versioning
Don't bump the version manually. To release, add one of the labels bump-css-patch, bump-css-minor or bump-css-major to the PR, and CI bumps and publishes it on merge.
Pick the level by what consumers see:
- major when a variable or enum member is removed or renamed
- minor when a variable or enum member is added
- patch when only variable values change
