Back to Explore

tailwindlabs/tailwindcss-typography

GitHub
1 watchersOpen source

Last release: 8 months ago

Tailwind CSS Typography is a plugin that adds a set of `prose` classes for “beautiful typographic defaults” on vanilla HTML you don't control, such as content rendered from Markdown or a CMS. It’s useful for quickly styling headings, paragraphs, code, and related elements with sensible spacing and colors, including options like gray themes, type scale sizing, and dark mode via `prose-invert`.

Project status

  • The source appears actively maintained, with new version tags and recent commits beyond the latest listed update (last upstream push on 2026-05-24), and the latest updates show ongoing fixes and feature additions.
  • The apparent update cadence in the provided history is relatively tight, with versions v0.5.17 to v0.5.19 published within about five days in late September 2025.

AI summary generated Today

AI-generated from public sources. May be inaccurate. Report

Recent updates

  • v0.5.19

    8 months ago

    Release v0.5.19 is a small patch release that claims to fix broken color styles. The code diff shows a targeted change in the color opacity conversion logic that adjusts how `rgb(...)` strings are generated for non-hex/parsed colors.

  • v0.5.18

    8 months ago

    v0.5.18 primarily fixes a runtime error related to an undefined variable. The only code change is in the color opacity calculation logic, and it aligns with the release notes claim.

  • v0.5.17

    8 months ago

    v0.5.17 adds new typography element modifiers for description lists (dl, dt, dd) and images via `prose-picture`. It also fixes `hr` border width to include units and updates `<kbd>` styling for Tailwind CSS v4 compatibility. Internally, it removes lodash dependencies by reimplementing small utility helpers.

    Features
  • v0.5.16

    1/7/2025

    Release v0.5.16 documents a fix for installing with Tailwind CSS v4 beta versions. The code diff matches this by expanding the plugin's peerDependency range for Tailwind to include the v4 beta. Additionally, there is a small internal code change in src/utils.js that is not mentioned in the release notes.

  • v0.5.15

    8/28/2024

    Release v0.5.15 primarily addresses compatibility with Tailwind CSS v4 alpha versions. The code diff shows no library runtime/source changes, but it does include updates to CI workflows and several documentation links.

  • v0.5.14

    8/7/2024

    Release v0.5.14 primarily claims a fix for table text alignment. The code diff shows a targeted change in the typography plugin styles for tables, plus additional development and CI-related updates not mentioned in the release notes.

  • v0.5.13

    4/26/2024

    Release v0.5.13 includes a small typographic fix aimed at preventing unintended margins on `<br>` elements inside list items in Firefox. The code change does more than target `<br>`, altering the CSS selectors used to apply first and last child spacing inside `<li>` elements.

  • v0.5.12

    3/27/2024

    v0.5.12 updates the typography defaults to use CSS logical padding properties to improve RTL behavior. The changelog and release notes call out the logical-properties change, and the code diff shows a broad replacement of physical left/right padding with inline-start/inline-end across multiple element styles.

    Features
  • v0.5.11

    3/26/2024

    v0.5.11 adds support for a new `prose-kbd` element modifier (styling `kbd` tags inside typography content). It also addresses incorrect spacing between `figcaption` and `video` elements in rendered prose/markdown content.

    Features
  • v0.5.10

    9/5/2023

    v0.5.10 updates the Tailwind Typography plugin to improve selector handling and add typographic defaults for additional HTML elements. The release notes call out fixes to `not-prose` exclusion behavior and `prose-invert`, plus new styling coverage for `<picture>`, `<kbd>`, and description lists.

    Features