Skip to content

TailwindCSS v2 support #66

@muhammadsammy

Description

@muhammadsammy

TailwindCSS version 2 support

Relevant additions

  • Add redesigned color palette (#2623, 700866c, #2633)
  • Add dark mode support (#2279, #2631)
  • Extend default spacing scale (#2630, 7f05204)
  • Add new 2xl breakpoint at 1536px by default (#2609)
  • Extend default font size scale (#2609, #2619)
  • Added 5 and 95 to opacity scale (#2747)
  • Add transform-gpu to force hardware acceleration on transforms when desired (#1380)
  • Added new ring utilities for creating outline/focus rings using box shadows (#2747, 879f088, e0788ef)
  • Add max-w-prose class by default (#2574)
  • Add overflow-ellipsis and overflow-clip utilities (#1289)
  • Add spacing scale to inset plugin (#2630)
  • Add percentage sizes to translate, inset, and height plugins (#2630, 5259560)
  • Enable group-hover for color plugins, boxShadow, and textDecoration by default (28985b6, f6923b1)
  • Enable focus for z-index utilities by default (ae5b3d3)
  • Enable focus-within for all plugins that have focus enabled by default (1a21f072, f6923b1)
  • Support extend in variants configuration (#2651)

Relevant Changes

  • Removed shadow-outline, shadow-solid, and shadow-xs by default in favor of new ring API (#2747)
  • 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)
  • Remove scrolling-touch and scrolling-auto utilities (#2573)

tailwindcss-classnames CLI changes:

  • Rename CLI arguments to make it more consistent. Use --input (-i) and --output (-o) for main file names
  • Do not require passing type name of custom classes instead, force export default of it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions