Skip to content

Releases: lambdaisland/ornament

v1.17.150

08 Oct 12:11

Choose a tag to compare

Fixed

  • Make CSSProps implement print-dup, so they can be AOTd

v1.16.141

29 Apr 19:15

Choose a tag to compare

Changed

  • Only include compiled CSS in cljs docstrings when the cljs optimization level
    is :none

v1.15.138

24 Apr 21:41

Choose a tag to compare

Fixed

  • Add a require-macros so defstyled can be referred from cljs directly

v1.14.134

24 Apr 21:26

Choose a tag to compare

Fixed

  • Deal with more edge cases when referencing tokens inside style rules

v1.13.130

16 Apr 18:02

Choose a tag to compare

Changed

  • [BREAKING] When setting a custom :ornament/prefix on the namespace, the
    separator __ is no longer implied, to get the same result add __ to the
    end of your prefix string.

Added

  • Support docstrings, they come after the tagname, before any styles or tokens
  • If there's only a zero-arg render function (fn-tail), also emit a one-arg
    version that takes HTML attributes to be merged in.
  • Add defrules, for general garden CSS rules
  • Add defprop, for CSS custom properties (aka variables)
  • Add defutil, for standalone utility classes
  • Add import-tokens!, for importing W3C design token JSON files as properties (as per defprop)
  • Allow setting metadata on a child list, useful for reagent/react keys

Fixed

  • Fix defined-garden
  • Use of defrules in pure-cljs namespaces
  • Fix implementation of ILookup on cljs

v1.12.107

27 Sep 15:44

Choose a tag to compare

Fixed

  • Fix component resolution inside a set (in a rule of another component) (see tests for example)

v1.10.94

30 Aug 11:28

Choose a tag to compare

Fixed

  • Support using defstyled components as reagent form-2 components

v0.9.87

15 Apr 13:51

Choose a tag to compare

Added

  • Added a :tw-version flag for the preflight, similar to set-tokens!
  • Document how to opt-in to Tailwind v3

v0.8.84

28 Feb 11:17

Choose a tag to compare

Added

  • Implement inheritance for fn-tails

v0.7.77

25 Nov 11:32

Choose a tag to compare

Added

Fixed

Changed