@jqpe/trc
v0.2.1
Published
Effortless Radix UI color system integration with Tailwind.
Readme
@jqpe/trc
Effortless Radix UI color system integration with Tailwind.
Just works:
- [x] P3 colors where supported
- [x] Dark mode with either
.darkor.dark-theme
Usage:
@import 'tailwindcss';
@theme {
--color-*: initial;
}
/* ^^ Import after so that colors are not reset */
@import '@jqpe/trc/gray.css';You now get intellisense and colors for gray-1 -- gray-12. You can also use the CSS properties.
Read more https://www.radix-ui.com/colors
