Skip to content

Releases: tailwindlabs/tailwindcss-typography

v0.5.9

10 Jan 16:14
Compare
Choose a tag to compare

Fixed

  • Ensure p styles are inserted before .lead styles (#294)

v0.5.8

07 Nov 16:08
Compare
Choose a tag to compare

Fixed

  • Fix selector when using a non-default class (e.g. prose-sm) (#289)

v0.5.7

02 Sep 12:03
Compare
Choose a tag to compare

Fixed

  • Update TypeScript types (#284)

v0.5.6

02 Sep 12:02
Compare
Choose a tag to compare

v0.5.5

02 Sep 12:02
Compare
Choose a tag to compare

Added

  • Add typescript types (#283)

v0.5.4

12 Jul 20:13
Compare
Choose a tag to compare

Fixed

  • Update strong and code color styles to inherit from parent (#276)

v0.5.3

12 Jul 20:13
Compare
Choose a tag to compare

Added

  • Add styles for tfoot elements (#243)
  • Add prose-h5 and prose-h6 variants (#273)

Fixed

  • Fix prose elements legacy mode (#259)
  • Allow lead class to override element styles (#260)
  • Fix generation of prose-headings variant (#264)
  • Fix figure spacing (#267)
  • Fix child combinator :where selectors (#268)
  • Fix prose-headings variant to include h5 and h6 elements (#273)

v0.5.2

14 Feb 15:29
c4e2178
Compare
Choose a tag to compare

Fixed

  • Ensure nested selectors using &:hover work (#246)

v0.5.1

28 Jan 16:20
Compare
Choose a tag to compare

Removed

  • Remove dist folder and related dependencies (#226)

Fixed

  • Don't generate invalid CSS when given an array of property values (#224)

v0.5.0

17 Dec 17:08
4c5cb76
Compare
Choose a tag to compare

This release of @tailwindcss/typography is an exciting one, and finally includes easy support for dark mode, the ability to escape prose styles, and a brand new HTML-based customization API that is a lot more fun to work with than the configuration based API we've offered in the past.

To upgrade, make sure you are on the latest version of Tailwind CSS, then install @tailwindcss/typography@latest:

npm install -D @tailwindcss/typography@latest

This version is designed for Tailwind CSS v3.0+, and is not compatible with earlier versions.


Added

  • Added prose-invert for easy dark mode support (#216)
  • Added gray scale modifiers like prose-slate and prose-stone to make it easy to match your typography to your site's gray scale (#216)
  • Added new element modifiers API like prose-a:text-blue-500 for easily customizing individual elements directly in your HTML (#216)
  • Added not-prose class for preventing prose styles from affecting a section of HTML (#205)
  • Updated selectors to use :where to reduce specificity, making it possible to override prose children with utilities (#203)

Changes

  • Switch from ::before pseudo-elements to using the native ::marker pseudo-element for styling list bullets and counters (#216)