Skip to content

Releases: uinix-js/uinix-theme

3.0.1

28 Nov 08:30
3.0.1
5333f39

Choose a tag to compare

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

07 Nov 08:10
3.0.0
d37c4c0

Choose a tag to compare

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

  • 94e7dec: Improved types (using csstypes)
  • 8c03cd1: Improve docs/tests

2.1.1

06 Sep 03:34
2.1.1
d3d87d6

Choose a tag to compare

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

05 Sep 23:17
2.1.0
57eff29

Choose a tag to compare

Features

Inconsequential

  • Update deps, docs, tests.
  • Improve in readme.md

2.0.0

26 Jun 05:23
2.0.0
9571ae0

Choose a tag to compare

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

  • Deps/docs/lint updates.

1.1.0

26 May 07:21
1.1.0
f9039c6

Choose a tag to compare

Features

  • 8466cc3: Add combineStyles and createThemeRenderer API.

Inconsequential

  • 5835907: update docs
  • Refactor/cleanup for build and types

1.0.0

26 May 07:23
1.0.0
83221c4

Choose a tag to compare

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

30 May 02:44
0.2.2
8ac8405

Choose a tag to compare

build

  • 162d2a0: update deps and npm scripts

0.2.1

30 May 00:50
0.2.1
ee3bcc7

Choose a tag to compare

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

12 May 06:26
0.2.0
d7f1ef6

Choose a tag to compare

feat(spec)

  • 061576d: remove array-based CSS property value support from the spec