Releases: ydcjeff/unocss-preset-typography
v0.4.0
Please refer to CHANGELOG.md for details.
v0.3.0
v0.2.2
v0.2.1
v0.2.0
0.2.0 (2021-11-19)
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 withtext-*
utilities (51d71d4)
BREAKING CHANGES
-
prose-sm
,prose-base
,prose-lg
,prose-xl
, andprose-2xl
are removed in favor oftext-sm
,text-base
,text-lg
,text-xl
, andtext-2xl
. Nowprose
rule scales with thetext-*
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 order8-1 (see below). -
change typography layer to -1 (a3a2e01)
-
simplify CSS vars (0a38db2)
-
reduce CSS color variables (ef6f11d)
v0.1.1
v0.1.0
v0.0.4
release: v0.0.4