|
1 |
| -@tailwind base; |
2 |
| -@tailwind components; |
3 |
| -@tailwind utilities; |
| 1 | +@import "tailwindcss"; |
| 2 | + |
| 3 | +@source '../node_modules/@llamaindex/chat-ui/**/*.{ts,tsx}'; |
| 4 | + |
| 5 | +@custom-variant dark (&:is(.dark *)); |
| 6 | + |
| 7 | +@theme { |
| 8 | + --color-border: hsl(var(--border)); |
| 9 | + --color-input: hsl(var(--input)); |
| 10 | + --color-ring: hsl(var(--ring)); |
| 11 | + --color-background: hsl(var(--background)); |
| 12 | + --color-foreground: hsl(var(--foreground)); |
| 13 | + |
| 14 | + --color-primary: hsl(var(--primary)); |
| 15 | + --color-primary-foreground: hsl(var(--primary-foreground)); |
| 16 | + |
| 17 | + --color-secondary: hsl(var(--secondary)); |
| 18 | + --color-secondary-foreground: hsl(var(--secondary-foreground)); |
| 19 | + |
| 20 | + --color-destructive: hsl(var(--destructive)); |
| 21 | + --color-destructive-foreground: hsl(var(--destructive-foreground)); |
| 22 | + |
| 23 | + --color-muted: hsl(var(--muted)); |
| 24 | + --color-muted-foreground: hsl(var(--muted-foreground)); |
| 25 | + |
| 26 | + --color-accent: hsl(var(--accent)); |
| 27 | + --color-accent-foreground: hsl(var(--accent-foreground)); |
| 28 | + |
| 29 | + --color-popover: hsl(var(--popover)); |
| 30 | + --color-popover-foreground: hsl(var(--popover-foreground)); |
| 31 | + |
| 32 | + --color-card: hsl(var(--card)); |
| 33 | + --color-card-foreground: hsl(var(--card-foreground)); |
| 34 | + |
| 35 | + --radius-xl: calc(var(--radius) + 4px); |
| 36 | + --radius-lg: var(--radius); |
| 37 | + --radius-md: calc(var(--radius) - 2px); |
| 38 | + --radius-sm: calc(var(--radius) - 4px); |
| 39 | + |
| 40 | + --font-sans: var(--font-sans), ui-sans-serif, system-ui, sans-serif, |
| 41 | + "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; |
| 42 | + |
| 43 | + --animate-accordion-down: accordion-down 0.2s ease-out; |
| 44 | + --animate-accordion-up: accordion-up 0.2s ease-out; |
| 45 | + |
| 46 | + @keyframes accordion-down { |
| 47 | + from { |
| 48 | + height: 0; |
| 49 | + } |
| 50 | + to { |
| 51 | + height: var(--radix-accordion-content-height); |
| 52 | + } |
| 53 | + } |
| 54 | + @keyframes accordion-up { |
| 55 | + from { |
| 56 | + height: var(--radix-accordion-content-height); |
| 57 | + } |
| 58 | + to { |
| 59 | + height: 0; |
| 60 | + } |
| 61 | + } |
| 62 | +} |
| 63 | + |
| 64 | +@utility container { |
| 65 | + margin-inline: auto; |
| 66 | + padding-inline: 2rem; |
| 67 | + @media (width >= --theme(--breakpoint-sm)) { |
| 68 | + max-width: none; |
| 69 | + } |
| 70 | + @media (width >= 1400px) { |
| 71 | + max-width: 1400px; |
| 72 | + } |
| 73 | +} |
| 74 | + |
| 75 | +/* |
| 76 | + The default border color has changed to `currentColor` in Tailwind CSS v4, |
| 77 | + so we've added these compatibility styles to make sure everything still |
| 78 | + looks the same as it did with Tailwind CSS v3. |
| 79 | +
|
| 80 | + If we ever want to remove these styles, we need to add an explicit border |
| 81 | + color utility to any element that depends on these defaults. |
| 82 | +*/ |
| 83 | +@layer base { |
| 84 | + *, |
| 85 | + ::after, |
| 86 | + ::before, |
| 87 | + ::backdrop, |
| 88 | + ::file-selector-button { |
| 89 | + border-color: var(--color-gray-200, currentColor); |
| 90 | + } |
| 91 | +} |
4 | 92 |
|
5 | 93 | @layer base {
|
6 | 94 | :root {
|
|
0 commit comments