Skip to content

Releases: tailwindlabs/tailwindcss

v2.0.4

17 Mar 21:51
Compare
Choose a tag to compare

Fixed

  • Pass full var(--bg-opacity) value as opacityValue when defining colors as functions (d98f2f8)

v2.0.3

07 Feb 20:36
Compare
Choose a tag to compare

Fixed

  • Ensure sourcemap input is deterministic when using @apply in Vue components (#3356)
  • Ensure placeholder opacity is consistent across browsers (#3308)
  • Fix issue where theme() didn't work with colors defined as functions (#2919)
  • Enable dark variants by default for color opacity utilities (#2975)

Added

  • Add support for a tailwind.config.cjs file in Node ESM projects (#3181)
  • Add version comment to Preflight (#3255)
  • Add cursor-help by default (#3199)

v2.0.2

07 Feb 20:36
f63aae7
Compare
Choose a tag to compare

Fixed

  • Fix issue with @apply not working as expected with !important inside an at-rule (#2824)
  • Fix issue with @apply not working as expected with defined classes (#2832)
  • Fix memory leak, and broken @apply when splitting up files (#3032)

Added

  • Add default values for the ring utility (#2951)

v2.0.1

18 Nov 20:13
Compare
Choose a tag to compare
  • Nothing, just the only thing I could do when I found out npm won't let me publish the same version under two tags.

v2.0.0

18 Nov 20:12
Compare
Choose a tag to compare

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 (#1289)
  • Add transform-gpu to force hardware acceleration on transforms when desired (#1380)
  • Extend default spacing scale (#2630, 7f05204)
  • Add spacing scale to inset plugin (#2630)
  • 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 (#2159)
  • Add new 2xl breakpoint at 1536px by default (#2609)
  • Add default line-height values for font-size utilities (#2609)
  • Support defining theme values using arrays for CSS properties that support comma separated values (e13f083c4)
  • Enable group-hover for color plugins, boxShadow, and textDecoration by default (28985b6, f6923b1)
  • Enable focus for z-index utilities by default (ae5b3d3)
  • Support extend in variants configuration (#2651)
  • Add max-w-prose class by default (#2574)
  • Support flattening deeply nested color objects (#2148)
  • Support defining presets as functions (#2680)
  • 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 (#2747)
  • Add support for default duration and timing function values whenever enabling transitions (#2755)

Changed

  • Completely redesign color palette (#2623, 700866c, #2633)
  • Drop support for Node 8 and 10 (#2582)
  • Removed target feature and dropped any compatibility with IE 11 (#2571)
  • Upgrade to PostCSS 8 (but include PostCSS 7 compatibility build) (729b400, 1d8679d, c238ed1)
  • Removed shadow-outline, shadow-solid, and shadow-xs by default in favor of new ring API (#2747)
  • Switch normalize.css to modern-normalize (#2572)
  • Rename whitespace-no-wrap to whitespace-nowrap (#2664)
  • Rename flex-no-wrap to flex-nowrap (#2676)
  • Remove clearfix utility, recommend flow-root instead (#2766)
  • Disable hover and focus for fontWeight utilities by default (f6923b1)
  • Remove grid-gap fallbacks needed for old versions of Safari (5ec45fa)
  • Change special use of 'default' in config to 'DEFAULT' (#2580)
  • New @apply implementation, slight backwards incompatibilities with previous behavior (#2159)
  • Make theme retrieve the expected resolved value when theme value is complex (e13f083c4)
  • Move truncate class to textOverflow core plugin (#2562)
  • Remove scrolling-touch and scrolling-auto utilities (#2573)
  • Modernize default system font stacks (#1711)
  • Upgrade to PurgeCSS 3.0 (8e4e0a0)
  • Change default text-6xl font-size to 3.75rem instead of 4rem (#2619)
  • Ignore [hidden] elements within space and divide utilities instead of template elements (#2642)
  • Automatically prefix keyframes and animation names when a prefix is configured (#2621, #2641)
  • Merge extend objects deeply by default (#2679)
  • Respect preserveHtmlElements option even when using custom PurgeCSS extractor (#2704)
  • Namespace all internal custom properties under tw- to avoid collisions with end-user custom properties (#2771)

v2.0.0-alpha.25

17 Nov 13:31
Compare
Choose a tag to compare
v2.0.0-alpha.25 Pre-release
Pre-release

Fixed

  • Fix issue where ring-offset-0 didn't work due to unitless 0 in calc function (3de0c48)

v2.0.0-alpha.24

17 Nov 00:55
Compare
Choose a tag to compare
v2.0.0-alpha.24 Pre-release
Pre-release

Changed

  • Don't override ring color when overriding ring width with a variant (e40079a)

Fixed

  • Prevent shadow/ring styles from cascading to children (e40079a)
  • Ensure rings have a default color even if colors.blue.500 is not present in config (e40079a)

v2.0.0-alpha.23

16 Nov 19:16
Compare
Choose a tag to compare
v2.0.0-alpha.23 Pre-release
Pre-release

Added

  • Add scripts for generating a PostCSS 7 compatible build alongside PostCSS 8 version (#2773)

Changed

  • All custom properties have been internally namespaced under tw- to avoid collisions with end-user custom properties (#2771)

v2.0.0-alpha.22

16 Nov 19:15
Compare
Choose a tag to compare
v2.0.0-alpha.22 Pre-release
Pre-release

Changed

  • All custom properties have been internally namespaced under tw- to avoid collisions with end-user custom properties (#2771) I made a git booboo, check alpha.23 instead

v2.0.0-alpha.21

15 Nov 21:16
Compare
Choose a tag to compare
v2.0.0-alpha.21 Pre-release
Pre-release

Changed

  • Upgrade to PostCSS 8, Autoprefixer 10, move postcss and autoprefixer to peerDependencies (729b400)