Releases: tailwindlabs/tailwindcss
Releases · tailwindlabs/tailwindcss
v2.0.0
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-ellipsisandoverflow-cliputilities (#1289) - Add
transform-gputo force hardware acceleration on transforms when desired (#1380) - Extend default spacing scale (#2630, 7f05204)
- Add spacing scale to
insetplugin (#2630) - Add percentage sizes to
translate,inset, andheightplugins (#2630, 5259560) - Extend default font size scale (#2609, #2619)
- Support using
@applywith complex classes, including variants likelg:hover:bg-blue-500(#2159) - Add new
2xlbreakpoint 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-hoverfor color plugins,boxShadow, andtextDecorationby default (28985b6, f6923b1) - Enable
focusfor z-index utilities by default (ae5b3d3) - Support
extendinvariantsconfiguration (#2651) - Add
max-w-proseclass 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-withinfor all plugins that havefocusenabled by default (1a21f072, f6923b1) - Added new
ringutilities for creating outline/focus rings using box shadows (#2747, 879f088, e0788ef) - Added
5and95to 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
targetfeature 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, andshadow-xsby default in favor of newringAPI (#2747) - Switch
normalize.csstomodern-normalize(#2572) - Rename
whitespace-no-wraptowhitespace-nowrap(#2664) - Rename
flex-no-wraptoflex-nowrap(#2676) - Remove
clearfixutility, recommendflow-rootinstead (#2766) - Disable
hoverandfocusforfontWeightutilities by default (f6923b1) - Remove
grid-gapfallbacks needed for old versions of Safari (5ec45fa) - Change special use of 'default' in config to 'DEFAULT' (#2580)
- New
@applyimplementation, slight backwards incompatibilities with previous behavior (#2159) - Make
themeretrieve the expected resolved value when theme value is complex (e13f083c4) - Move
truncateclass totextOverflowcore plugin (#2562) - Remove
scrolling-touchandscrolling-autoutilities (#2573) - Modernize default system font stacks (#1711)
- Upgrade to PurgeCSS 3.0 (8e4e0a0)
- Change default
text-6xlfont-size to 3.75rem instead of 4rem (#2619) - Ignore
[hidden]elements withinspaceanddivideutilities instead oftemplateelements (#2642) - Automatically prefix keyframes and animation names when a prefix is configured (#2621, #2641)
- Merge
extendobjects deeply by default (#2679) - Respect
preserveHtmlElementsoption 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
Fixed
- Fix issue where
ring-offset-0didn't work due to unitless0incalcfunction (3de0c48)
v2.0.0-alpha.24
v2.0.0-alpha.23
v2.0.0-alpha.22
Changed
All custom properties have been internally namespaced underI made a git booboo, check alpha.23 insteadtw-to avoid collisions with end-user custom properties (#2771)
v2.0.0-alpha.21
Changed
- Upgrade to PostCSS 8, Autoprefixer 10, move
postcssandautoprefixerto peerDependencies (729b400)
v2.0.0-alpha.20
Changed
- Remove
clearfixutility, recommendflow-rootinstead (#2766)
v2.0.0-alpha.19
Fixed
- Don't crash when color palette is empty (278c203)
v2.0.0-alpha.18
v2.0.0-alpha.17
Changed
- Remove
grid-gapfallbacks needed for old versions of Safari (5ec45fa)