Skip to content

Releases: mrcaidev/tailwindcss-radix-colors

v2.0.0

24 Jan 07:43
Compare
Choose a tag to compare

Warning

Plugin v2 only supports Tailwind CSS v4. If you are not ready to upgrade, please stick with plugin v1.

Upgraded to Tailwind CSS v4. Please refer to documentation for guidance.

v1.4.1

06 Sep 12:12
Compare
Choose a tag to compare

Bug Fixes

  • Suppress Tailwind warning about deprecated colors. (#22)

v1.4.0

06 Sep 05:24
Compare
Choose a tag to compare

Features

  • Add option priority to configure the strategy to resolve color name conflicts between Radix and Tailwind. (#20)
  • Add option aliases to configure aliases for Radix color names. (#20)

Bug Fixes

  • Add missing inherit color.

v1.3.1

29 May 05:36
Compare
Choose a tag to compare

Fixes

  • To generate semantic classes, a foreground color pair should not be compulsory for custom colors.
  • Remove compilation warning about missing scales for custom colors.

Documentation

  • Fixed dead links.
  • Added Advantages for either approach.
  • Added Why Smaller CSS Bundle?
  • Added Custom Colors.

Tests

  • Added tests for plugin.ts.
  • Added tests for index.ts.

Others

  • Use @apply bg-red-1 instead of @apply bg-[${colorName}] to achieve better compatibility and readability.
  • Refactoring.

v1.3.0

27 May 06:25
Compare
Choose a tag to compare

Features

  • New configuration options include and exclude. No longer overwhelmed by unused colors!

Fixes

  • Cannot read properties of undefined (reading '1'). (#12)

Tests

  • Test suite setup and some initial tests, thanks to @FedericoBiccheddu.
  • Automated tests with GitHub Actions

Others

  • Bumped all dependencies, and updated config files, like migrating to ESLint v9, and local git hooks.
  • The plugin now uses @apply to add component classes, which means better compatibility and separation of concerns.
  • Codebase refactoring and readability improvement.
  • Replaced CJS output format with UMD.

v1.2.0

25 Jan 05:25
Compare
Choose a tag to compare

Features

  • ES format package

Fixes

  • No longer generates component classes for black and white

v1.1.0

20 Jan 16:32
Compare
Choose a tag to compare

Features

  • Option disableSemantics to disable semantic classes (#7)

v1.0.1

20 Jan 16:06
Compare
Choose a tag to compare

Fixes

  • Missing pure black and white color (#10)

v1.0.0

20 Jan 16:02
Compare
Choose a tag to compare

Features

  • Adapted to Radix Colors v3.0.0
  • 3 new colors: iris, jade, ruby
  • P3 color support (#8)

Fixes

  • Now able to use selector to control dark mode

v0.5.1

21 Jul 03:10
Compare
Choose a tag to compare

Fixes

  • TypeError: Cannot read property '1' of undefined (#1)