Releases: uinix-js/uinix-theme
Releases · uinix-js/uinix-theme
3.0.1
Fixes
- 5fe32ec: Fixes edge cases when resolving nested themes (yielding
undefined
) throws an error. This should fail silently when called by props
.
3.0.0
Breaking
Removed
Renamed
- 5186eec:
renderer.render
is renamed to renderer.load
- 5186eec:
renderer.clear
is renamed to renderer.unload
- 72eaa16:
renderer.renderStaticStyles
is renamed to renderer.renderGlobalStyles
Inconsequential
2.1.1
Fixes
- 689bb69: Themed CSS variables enabled via
options.enableCssVariables
do not correctly resolve to px
units. The fix is not an ideal one but the implementation is closest to how the source code and vendor (fela-plugin-unit
)'s mental model of the problem is.
2.1.0
Features
Inconsequential
- Update deps, docs, tests.
- Improve in
readme.md
2.0.0
9571ae0 introduces breaking changes.
Breaking Changes
defaultThemeSpec
API is now removed.
- You should provide your own theme spec.
- You can also use any of the existing theme specs (
uinix-theme-spec
, uinix-theme-spec-theme-ui
). Use uinix-theme-spec
for the old behaviors.
Inconsequential
1.1.0
Features
- 8466cc3: Add
combineStyles
and createThemeRenderer
API.
Inconsequential
- 5835907: update docs
- Refactor/cleanup for build and types
1.0.0
Release
V1 release 💯.
Breaking
- 90db661
- Rename
themeMapping
to defaultThemeSpec
- Type updates
Feature
- 90db661
createTheme
is now configurable with a themeSpec
in the second argument.
backgrounds
and filters
theme properties added to defaultThemeSpec
.
Inconsequential
- d0692c9: Remove
merge
dependency and update build
- 9478e0c: update docs
0.2.2
build
- 162d2a0: update deps and npm scripts
0.2.1
fix(radii)
- 571521d: remove
border[End|Start][End|Start]Radius
CSS properties from the radii
theme property since it is not formally supported in all browsers yet
0.2.0
feat(spec)
- 061576d: remove array-based CSS property value support from the spec