Skip to content
This repository has been archived by the owner on Feb 9, 2022. It is now read-only.

v0.2.0

Compare
Choose a tag to compare
@github-actions github-actions released this 19 Nov 06:51
· 29 commits to main since this release

0.2.0 (2021-11-19)

See the demo.

Features

  • add option for css extending (eb75858)

  • add styles for picture, summary, abbr, kbd, details (d2077c3)

  • allow passing custom className (b8cc045)

  • single prose utility to use with text-* utilities (51d71d4)

BREAKING CHANGES

  • prose-sm, prose-base, prose-lg, prose-xl, and prose-2xl are removed in favor of text-sm, text-base, text-lg, text-xl, and text-2xl. Now prose rule scales with the text-* utilities for screen variants.

  • Since there is only prose class, generated CSS file size also reduces. Selectors with same CSS declarations are also merged.

  • Mostly typographic usage are for content coming from markdown or CMS. Therefore, the default prose class only includes CSS for standard markdown features without any extra plugins for extra HTML tags.

  • CSS generated by this preset are now grouped under typography layer with order 8 -1 (see below).

  • change typography layer to -1 (a3a2e01)

  • simplify CSS vars (0a38db2)

  • reduce CSS color variables (ef6f11d)