Skip to content
This repository was archived by the owner on Mar 27, 2026. It is now read-only.

Releases: naiyerasif/preset

8.0.1

Choose a tag to compare

@naiyerasif naiyerasif released this 28 Sep 18:27

Fixed

  • Apply line-height over individual elements due to ex unit relative to element's font size

Full Changelog: 8.0.0...8.0.1

8.0.0

Choose a tag to compare

@naiyerasif naiyerasif released this 27 Sep 07:18

Added

  • Optimize for text legibility by default
  • Touch specific rules for progress element

Changed

  • Breaking Increase the specifity of the rule to hide the elements with [hidden] attribute
  • Apply line-height and overflow-wrap over the document instead of individual elements
  • Use dynamic viewport size to fill the body
  • Use lh unit for minimum textarea block size
  • Show cursor: not-allowed for all disabled elements, not just input and button

Full Changelog: 7.0.1...8.0.0

7.0.1

Choose a tag to compare

@naiyerasif naiyerasif released this 05 Sep 16:54

Changed

  • Reduce package size

7.0.0

Choose a tag to compare

@naiyerasif naiyerasif released this 05 Sep 10:30

Added

  • text-wrap: pretty for blockquote element

Removed

  • Breaking Drop sass and directly use CSS
  • hanging-punctuation rule since it is more disruptive when applied by default

6.0.0

Choose a tag to compare

@naiyerasif naiyerasif released this 03 May 17:38

Added

  • Breaking -webkit-font-smoothing: antialiased to make the font rendering on macOS consistent with operating system behavior. This may impact the way font is rendered on the browsers on macOS which still use subpixel antialiasing even though macOS itself has stopped using it since macOS Mojave since 2018.
  • Inherit font-feature-settings and font-variation-settings on form elements

Changed

  • Make interpolate-size: allow-keywords an opt-in to prevent unintended behavior in websites

Full Changelog: 5.0.4...6.0.0

5.0.4

Choose a tag to compare

@naiyerasif naiyerasif released this 05 Jan 15:26

Changed

  • Use a less opinionated PostCSS configuration

Fixed

  • font-feature-settings for headings, td, math, and time elements

Full Changelog: 5.0.3...5.0.4

5.0.3

Choose a tag to compare

@naiyerasif naiyerasif released this 21 Dec 06:52

Changed

  • Set cursor for disabled elements with [role="button"]

Full Changelog: 5.0.2...5.0.3

5.0.2

Choose a tag to compare

@naiyerasif naiyerasif released this 19 Nov 17:20

Changed

  • Set stroke-linecap: round and stroke-linejoin: round only when they are not already set on SVG

Fixed

  • Selector that ensures button content is not selectable

Full Changelog: 5.0.1...5.0.2

5.0.1

Choose a tag to compare

@naiyerasif naiyerasif released this 02 Oct 14:47

Removed

  • Invalid font-feature-settings injected by PostCSS

Full Changelog: 5.0.0...5.0.1

5.0.0

Choose a tag to compare

@naiyerasif naiyerasif released this 02 Oct 10:46

Added

  • interpolate-size on document to allow animating intrinsic sizing keywords such as height, width and so on. Progressive enhancement, only supported by Chrome for now.
  • Balance text to avoid orphans for li and figcaption elements
  • Position numbers on baseline for headings, table cells, math element and time element with timestamp. Progressive enhancement, available if font supports this OpenType feature.
  • Sets numbers at same size for table cells, math element and time element with timestamp. Progressive enhancement, available if font supports this OpenType feature.

Changed

  • Breaking change Rename --preset-scroll-padding as --preset-scroll-offset
  • Apply scroll-margin-block on :target regardless of motion preference
  • Add rlh fallback for scroll-margin-block for supported browsers

Full Changelog: 4.1.0...5.0.0