|
8 | 8 | @source '../../packages/react/src/**/*.{ts,tsx}'; |
9 | 9 | @source '../../packages/plugin-*/src/**/*.{ts,tsx}'; |
10 | 10 |
|
| 11 | +/* Tailwind plugin for animations */ |
| 12 | +@plugin 'tailwindcss-animate'; |
| 13 | + |
| 14 | +/* Define theme colors for Tailwind 4 */ |
| 15 | +@theme { |
| 16 | + /* Border radius tokens */ |
| 17 | + --radius-lg: var(--radius); |
| 18 | + --radius-md: calc(var(--radius) - 2px); |
| 19 | + --radius-sm: calc(var(--radius) - 4px); |
| 20 | + |
| 21 | + /* Color tokens mapped to CSS variables */ |
| 22 | + --color-border: hsl(var(--border)); |
| 23 | + --color-input: hsl(var(--input)); |
| 24 | + --color-ring: hsl(var(--ring)); |
| 25 | + --color-background: hsl(var(--background)); |
| 26 | + --color-foreground: hsl(var(--foreground)); |
| 27 | + --color-primary: hsl(var(--primary)); |
| 28 | + --color-primary-foreground: hsl(var(--primary-foreground)); |
| 29 | + --color-secondary: hsl(var(--secondary)); |
| 30 | + --color-secondary-foreground: hsl(var(--secondary-foreground)); |
| 31 | + --color-destructive: hsl(var(--destructive)); |
| 32 | + --color-destructive-foreground: hsl(var(--destructive-foreground)); |
| 33 | + --color-muted: hsl(var(--muted)); |
| 34 | + --color-muted-foreground: hsl(var(--muted-foreground)); |
| 35 | + --color-accent: hsl(var(--accent)); |
| 36 | + --color-accent-foreground: hsl(var(--accent-foreground)); |
| 37 | + --color-popover: hsl(var(--popover)); |
| 38 | + --color-popover-foreground: hsl(var(--popover-foreground)); |
| 39 | + --color-card: hsl(var(--card)); |
| 40 | + --color-card-foreground: hsl(var(--card-foreground)); |
| 41 | +} |
| 42 | + |
11 | 43 | /* ObjectUI component CSS custom properties */ |
12 | 44 | :root { |
13 | 45 | --background: 0 0% 100%; |
|
0 commit comments