Skip to content

Latest commit

 

History

History
148 lines (101 loc) · 4.39 KB

CHANGELOG.md

File metadata and controls

148 lines (101 loc) · 4.39 KB

Changelog

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.

Unreleased

Added

  • unocss-preset-dollars now accepts an option that configures where the dollars come from.

Fixed

  • Incorrect package names in the docs.

Changed

  • .

Removed

  • .

2.0.0-beta.4

Fixed

  • grid-fill-... using auto-fit instead of auto-fill.
  • grid-fit-... and grid-fill overflowing containers at large sizes.
  • Brakets in some grid rules now work much better.
  • place-self-... and place-items-... no longer have a conflicting name.

Changed

  • $ 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.

Removed

  • scheme-(light|dark) due to unintiutive specificity. Use scheme-(light|dark)-<number>.

2.0.0-beta.3

Fixed

  • hidden now correctly sets display to none.
  • invisible now correctly sets visibility to hidden.

Changed

  • Strictened default font properties.

2.0.0-beta - 2023-02-17

Added

  • LCH functions to core/color.
  • getColorSchemeCSSProps to core/color.
  • Brackets to size rules (e.g. max-size-i-[48ch], max-size-[$lpx]).
  • Multiple selectable default themes (e.g. presetWindbldade({ theme: 'tailwind' })).

Fixed

  • getLCA & getLCHA (ex. getSLA & getHSLA) now return correct lightness values in light mode.

Changed

  • Semantic colors are now defined with OkLCH.
  • Merged core/variant into core/color.
  • getSLA & getHSLA were replaced with getLCA & getLCHA.
  • getThemeCSS now behaves different and is renamed to getColorSchemeCSSProps.
  • scheme-... rule now also accepts auto in additon to dark and light and expects ...-<number> at the end to set hue.
  • scheme-(light|dark) now does nothing by itself but overrides scheme-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.

Removed

  • HSL functions from core/color.
  • getCSSProperties from core/color.
  • Highlight rules and interactive colors.

2.0.0-alpha - 2023-02-06

Added

  • NPM package metadata.
  • Bundle scripts using unbuild.
  • Dynamic size calculations using mathematical expressions inside () (e.g m-(-s), inset-(m/2)).
  • getCSSProperties to core/color (ex. external).
  • core/variant.
  • scheme-dark and scheme-light rules.
  • scheme-initial class (not a rule; does not work in @apply).
  • objToCSS to core.
  • Text transform rules.
  • New def color variations.
  • Logical rounded (ex. round) rule variuants.
  • Time units to theme.
  • All fitting Tailwind v3.2.4 rules.

Fixed

  • Overwriting light variant color alpha inside the theme not working.

Changed

  • Renamed preset to Windblade.
  • Moved source code to src directory.
  • Renamed external to core.
  • getSLA and getHSLA in core (ex. external) now return values for all variants.
  • Renamed all size units.
  • Size units are now sorted between units and misc in theme.
  • Renamed and improved colors.
  • Renamed theme.sizes.tokens to theme.proportions.
  • Renamed theme.sizes.misc to theme.miscSizes.
  • Changed theme.proportions (ex. theme.sizes.tokens) to match Tailwind.
  • Renamed round to rounded.
  • Static and interactive colors are now merged and have optional interactive property.
  • Renamed mg and pd to m and p.
  • Renamed grid-auto-fit and grid-auto-fill to grid-fit-cols and grid-fill-cols.
  • Renamed min size to px.
  • Default transition now matches tailwind.
  • Renamed *-fg-0 to *-fg-1, *-fg-1 to *-fg-2 etc.

Removed

  • getColor from core (ex. external).
  • width and height rules in favor of size.

1.1.0 - 2023-01-06

Added

  • full (100%), half (50%) and auto size units.
  • fill and fill-fg color rules for SVGs.

1.0.0 - 2023-01-06

Added

  • The first version of this UnoCSS preset.
  • This changelog.