All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
unocss-preset-dollars
now accepts an option that configures where the dollars come from.
- Incorrect package names in the docs.
- .
- .
grid-fill-...
usingauto-fit
instead ofauto-fill
.grid-fit-...
andgrid-fill
overflowing containers at large sizes.- Brakets in some grid rules now work much better.
place-self-...
andplace-items-...
no longer have a conflicting name.
$
features are now implemented as a variant and work with utilities from other presets.- Colors and the
$
variant can now be used as separate presets. - Documentation is now completely in XML.
scheme-auto-<number>
now follows system scheme and is not affected by anthing else.
scheme-(light|dark)
due to unintiutive specificity. Usescheme-(light|dark)-<number>
.
hidden
now correctly setsdisplay
tonone
.invisible
now correctly setsvisibility
tohidden
.
- Strictened default font properties.
- LCH functions to
core/color
. getColorSchemeCSSProps
tocore/color
.- Brackets to size rules (e.g.
max-size-i-[48ch]
,max-size-[$lpx]
). - Multiple selectable default themes (e.g.
presetWindbldade({ theme: 'tailwind' })
).
getLCA
&getLCHA
(ex.getSLA
&getHSLA
) now return correct lightness values in light mode.
- Semantic colors are now defined with OkLCH.
- Merged
core/variant
intocore/color
. getSLA
&getHSLA
were replaced withgetLCA
&getLCHA
.getThemeCSS
now behaves different and is renamed togetColorSchemeCSSProps
.scheme-...
rule now also acceptsauto
in additon todark
andlight
and expects...-<number>
at the end to set hue.scheme-(light|dark)
now does nothing by itself but overridesscheme-auto-<number>
behaviour instead.- Expressions now have to be prefixed with
$
(e.g.leading-$(1+2)
). - Theme tokens in expressions and now have to be prefixed with
$
(e.g.text-($s+$s.2)
). - Windblade now uses it's own proportions by default.
- Tailwind proprtions do not have
t
appended to them anymore.
- HSL functions from
core/color
. getCSSProperties
fromcore/color
.- Highlight rules and interactive colors.
- NPM package metadata.
- Bundle scripts using unbuild.
- Dynamic size calculations using mathematical expressions inside
()
(e.gm-(-s)
,inset-(m/2)
). getCSSProperties
tocore/color
(ex.external
).core/variant
.scheme-dark
andscheme-light
rules.scheme-initial
class (not a rule; does not work in @apply).objToCSS
tocore
.- Text transform rules.
- New
def
color variations. - Logical
rounded
(ex.round
) rule variuants. - Time units to theme.
- All fitting Tailwind v3.2.4 rules.
- Overwriting light variant color alpha inside the theme not working.
- Renamed preset to Windblade.
- Moved source code to
src
directory. - Renamed
external
tocore
. getSLA
andgetHSLA
incore
(ex.external
) now return values for all variants.- Renamed all size units.
- Size units are now sorted between
units
andmisc
in theme. - Renamed and improved colors.
- Renamed
theme.sizes.tokens
totheme.proportions
. - Renamed
theme.sizes.misc
totheme.miscSizes
. - Changed
theme.proportions
(ex.theme.sizes.tokens
) to match Tailwind. - Renamed
round
torounded
. - Static and interactive colors are now merged and have optional
interactive
property. - Renamed
mg
andpd
tom
andp
. - Renamed
grid-auto-fit
andgrid-auto-fill
togrid-fit-cols
andgrid-fill-cols
. - Renamed
min
size topx
. - Default transition now matches tailwind.
- Renamed
*-fg-0
to*-fg-1
,*-fg-1
to*-fg-2
etc.
getColor
fromcore
(ex.external
).width
andheight
rules in favor ofsize
.
- full (100%), half (50%) and auto size units.
- fill and fill-fg color rules for SVGs.
- The first version of this UnoCSS preset.
- This changelog.