Packages

tailwindcss

4.3.5 · 6 Nov 2026MIT191M / weekRepositoryHomepagenpmAtom feed

Your version

2.0.0

major18 Nov 2020Where it was published

2.2.19 is the newest release of 2.x.

In short

2 removed22 new20 changed

  • Removed

    Drop support for Node 8 and 10

  • Removed

    Removed shadow-outline, shadow-solid, and shadow-xs by default in favor of new ring API

Release note

Tailwind CSS v2.0, woohoo!

Read the blog post for more details.

Added

  • Add redesigned color palette (#2623, 700866c, #2633)

  • Add dark mode support (#2279, #2631)

  • Add overflow-ellipsis and overflow-clip utilities

  • Add transform-gpu to force hardware acceleration on transforms when desired

  • Extend default spacing scale (#2630, 7f05204)

  • Add spacing scale to inset plugin

  • Add percentage sizes to translate, inset, and height plugins (#2630, 5259560)

  • Extend default font size scale (#2609, #2619)

  • Support using @apply with complex classes, including variants like lg:hover:bg-blue-500

  • Add new 2xl breakpoint at 1536px by default

  • Add default line-height values for font-size utilities

  • Support defining theme values using arrays for CSS properties that support comma separated values

  • Enable group-hover for color plugins, boxShadow, and textDecoration by default (28985b6, f6923b1)

  • Enable focus for z-index utilities by default

  • Support extend in variants configuration

  • Add max-w-prose class by default

  • Support flattening deeply nested color objects

  • Support defining presets as functions

  • Support deep merging of objects under extend (#2679, #2700)

  • Enable focus-within for all plugins that have focus enabled by default (1a21f072, f6923b1)

  • Added new ring utilities for creating outline/focus rings using box shadows (#2747, 879f088, e0788ef)

  • Added 5 and 95 to opacity scale

  • Add support for default duration and timing function values whenever enabling transitions

Changed

  • Completely redesign color palette (#2623, 700866c, #2633)

  • Removed

    Drop support for Node 8 and 10

  • Removed target feature and dropped any compatibility with IE 11

  • Upgrade to PostCSS 8 (but include PostCSS 7 compatibility build) (729b400, 1d8679d, c238ed1)

  • Removed

    Removed shadow-outline, shadow-solid, and shadow-xs by default in favor of new ring API

  • Switch normalize.css to modern-normalize

  • Rename whitespace-no-wrap to whitespace-nowrap

  • Rename flex-no-wrap to flex-nowrap

  • Remove clearfix utility, recommend flow-root instead

  • Disable hover and focus for fontWeight utilities by default

  • Remove grid-gap fallbacks needed for old versions of Safari

  • Change special use of 'default' in config to 'DEFAULT'

  • New @apply implementation, slight backwards incompatibilities with previous behavior

  • Make theme retrieve the expected resolved value when theme value is complex

  • Move truncate class to textOverflow core plugin

  • Remove scrolling-touch and scrolling-auto utilities

  • Modernize default system font stacks

  • Upgrade to PurgeCSS 3.0

  • Change default text-6xl font-size to 3.75rem instead of 4rem

  • Ignore [hidden] elements within space and divide utilities instead of template elements

  • Automatically prefix keyframes and animation names when a prefix is configured (#2621, #2641)

  • Merge extend objects deeply by default

  • Respect preserveHtmlElements option even when using custom PurgeCSS extractor

  • Namespace all internal custom properties under tw- to avoid collisions with end-user custom properties

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.