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-dollarsnow accepts an option that configures where the dollars come from.
- Incorrect package names in the docs.
- .
- .
grid-fill-...usingauto-fitinstead ofauto-fill.grid-fit-...andgrid-filloverflowing 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>.
hiddennow correctly setsdisplaytonone.invisiblenow correctly setsvisibilitytohidden.
- Strictened default font properties.
- LCH functions to
core/color. getColorSchemeCSSPropstocore/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/variantintocore/color. getSLA&getHSLAwere replaced withgetLCA&getLCHA.getThemeCSSnow behaves different and is renamed togetColorSchemeCSSProps.scheme-...rule now also acceptsautoin additon todarkandlightand 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
tappended to them anymore.
- HSL functions from
core/color. getCSSPropertiesfromcore/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)). getCSSPropertiestocore/color(ex.external).core/variant.scheme-darkandscheme-lightrules.scheme-initialclass (not a rule; does not work in @apply).objToCSStocore.- Text transform rules.
- New
defcolor 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
srcdirectory. - Renamed
externaltocore. getSLAandgetHSLAincore(ex.external) now return values for all variants.- Renamed all size units.
- Size units are now sorted between
unitsandmiscin theme. - Renamed and improved colors.
- Renamed
theme.sizes.tokenstotheme.proportions. - Renamed
theme.sizes.misctotheme.miscSizes. - Changed
theme.proportions(ex.theme.sizes.tokens) to match Tailwind. - Renamed
roundtorounded. - Static and interactive colors are now merged and have optional
interactiveproperty. - Renamed
mgandpdtomandp. - Renamed
grid-auto-fitandgrid-auto-filltogrid-fit-colsandgrid-fill-cols. - Renamed
minsize topx. - Default transition now matches tailwind.
- Renamed
*-fg-0to*-fg-1,*-fg-1to*-fg-2etc.
getColorfromcore(ex.external).widthandheightrules 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.