@taildix/colors
v0.0.10
Published
A tailwindcss plugin that brings all the @radix-ui/colors scales.
Downloads
2
Readme
Taildix Colors
A tailwindcss plugin that brings all the @radix-ui/colors scales.
Install:
npm install @taildix/colors
Use:
This gets you all the @radix-ui/colors scales.
// tailwind.config.ts
import type { Config } from "tailwindcss";
export default {
// ...
plugins: [require("@taildix/colors")],
} satisfies Config;
If you wish to hand pick your scales.
// tailwind.config.ts
import type { Config } from "tailwindcss";
import taildix from "@taildix/colors";
export default {
// ...
// typesafe choice
plugins: [taildix({ colors: ["amber", "ruby"] })],
} satisfies Config;
This project was created using bun init
in bun v1.0.1. Bun is a fast all-in-one JavaScript runtime.