| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- import forms from "@tailwindcss/forms";
- import type { Config } from "tailwindcss";
- import plugin from "tailwindcss/plugin.js";
- import animate from "tailwindcss-animate";
- import reactAria from "tailwindcss-react-aria-components";
- const tailwindConfig = {
- content: ["src/**/*.tsx", ".storybook/**/*.tsx"],
- darkMode: "class",
- theme: {
- extend: {
- fontFamily: {
- sans: ["var(--font-sans)"],
- mono: ["var(--font-mono)"],
- },
- colors: {
- beige: {
- 50: "#F7F4F4",
- 100: "#F3EDED",
- 200: "#E9DFDF",
- 300: "#D9C8C8",
- 400: "#C1A8A8",
- 500: "#A98A8A",
- 600: "#927070",
- 700: "#795C5C",
- 800: "#664E4E",
- 900: "#574545",
- 950: "#2D2222",
- },
- steel: {
- 50: "#F8F9FC",
- 100: "#F1F2F9",
- 200: "#E2E3F0",
- 300: "#CBCEE1",
- 400: "#9497B8",
- 500: "#64678B",
- 600: "#474A69",
- 700: "#333655",
- 800: "#1E1F3B",
- 900: "#100F2A",
- 950: "#050217",
- },
- },
- },
- },
- plugins: [
- forms,
- animate,
- reactAria,
- plugin(({ addVariant }) => {
- addVariant("search-cancel", "&::-webkit-search-cancel-button");
- addVariant("search-decoration", "&::-webkit-search-decoration");
- }),
- ],
- } satisfies Config;
- export default tailwindConfig;
|