Skip to content

Releases: Microflash/preset

8.0.1

28 Sep 18:27

Choose a tag to compare

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

27 Sep 07:18

Choose a tag to compare

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

05 Sep 16:54

Choose a tag to compare

Changed

  • Reduce package size

7.0.0

05 Sep 10:30

Choose a tag to compare

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

03 May 17:38

Choose a tag to compare

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

05 Jan 15:26

Choose a tag to compare

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

21 Dec 06:52

Choose a tag to compare

Changed

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

Full Changelog: 5.0.2...5.0.3

5.0.2

19 Nov 17:20

Choose a tag to compare

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

02 Oct 14:47

Choose a tag to compare

Removed

  • Invalid font-feature-settings injected by PostCSS

Full Changelog: 5.0.0...5.0.1

5.0.0

02 Oct 10:46

Choose a tag to compare

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