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

Latest commit

 

History

History
128 lines (78 loc) · 3.91 KB

CHANGELOG.md

File metadata and controls

128 lines (78 loc) · 3.91 KB

unocss-preset-typography changelog

2022-01-21

BREAKING CHANGES

  • ada562a (build) distribute as pure ESM package

Bug Fixes

2021-11-22

BREAKING CHANGES

  • e26c4d1 prose colors align with Tailwind v3

    Old prose colors mapping to new prose colors

    • prose-warmgray -> prose-stone
    • prose-truegray -> prose-neutral
    • prose-coolgray -> prose-gray
    • prose-bluegray -> prose-slate
    • prose-gray -> prose-zinc

2021-11-20

Bug Fixes

  • 7dc9829 remove margin 0 in standalone pre tag

2021-11-20

Bug Fixes

  • c8e58be add margin & line-height to pre

2021-11-19

BREAKING CHANGES

  • 51d71d4 single prose utility with text-* utilities

    • 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 from 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 for extra HTML tags will be provided in the following commits.

    • CSS generated by this preset are now grouped under typography layer with order 8.

  • a3a2e01 change typography layer to -1

  • ef6f11d reduce CSS color variables

    There are only CSS color variables, no invert variables anymore

  • 0a38db2 simplify CSS vars

Features

  • eb75858 add option for css extending

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

  • b8cc045 allow passing custom className

2021-11-13

Bug Fixes

  • 8617e58 use colors as string to avoid ts-ignore

2021-11-13

2021-11-13

Bug Fixes

  • 8f21027 use pnpm/action-setup@v2 in release

2021-11-13