The Coline design system: accessible React components for Coline Apps, themed live by the host workspace, and for Coline Sites in light and dark. Tailwind v4 stylesheet included. MIT.
| 7 |
| * @import "tailwindcss"; |
| 8 | * @import "@colineapp/ui/theme.css"; |
| 9 | */ |
| 10 |
| 11 | @custom-variant dark (&:is(.dark *)); |
| 12 |
| 13 | @theme inline { |
| 14 | --font-sans: "Geist", ui-sans-serif, system-ui, sans-serif; |
| 15 | --color-background: var(--background); |
| 16 | --color-foreground: var(--foreground); |
| 17 | --color-card: var(--card); |
| 18 | --color-card-foreground: var(--card-foreground); |
| 19 | --color-popover: var(--popover); |
| 20 | --color-popover-foreground: var(--popover-foreground); |
| 21 | --color-primary: var(--primary); |
| 22 | --color-primary-foreground: var(--primary-foreground); |
| 23 | --color-secondary: var(--secondary); |
| 24 | --color-secondary-foreground: var(--secondary-foreground); |
| 25 | --color-muted: var(--muted); |
| 26 | --color-muted-foreground: var(--muted-foreground); |
| 27 | --color-accent: var(--accent); |
| 28 | --color-accent-foreground: var(--accent-foreground); |
| 29 | --color-destructive: var(--destructive); |
| 30 | --color-border: var(--border); |
| 31 | --color-input: var(--input); |
| 32 | --color-ring: var(--ring); |
| 33 | /* Status and data colors: the same semantic tokens as Coline itself. */ |
| 34 | --color-positive: var(--status-positive); |
| 35 | --color-positive-fg: var(--status-positive-fg); |
| 36 | --color-attention: var(--status-attention); |
| 37 | --color-attention-fg: var(--status-attention-fg); |
| 38 | --color-risk: var(--status-risk); |
| 39 | --color-risk-fg: var(--status-risk-fg); |
| 40 | --color-action: var(--action); |
| 41 | --color-chart-1: var(--chart-1); |
| 42 | --color-chart-2: var(--chart-2); |
| 43 | --color-chart-3: var(--chart-3); |
| 44 | --color-chart-4: var(--chart-4); |
| 45 | --color-chart-5: var(--chart-5); |
| 46 | --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1); |
| 47 | --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1); |
| 48 | --radius-sm: calc(var(--radius) - 4px); |
| 49 | --radius-md: calc(var(--radius) - 2px); |
| 50 | --radius-lg: var(--radius); |
| 51 | --radius-xl: calc(var(--radius) + 4px); |
| 52 | --radius-2xl: calc(var(--radius) + 8px); |
| 53 | --radius-3xl: calc(var(--radius) + 12px); |
| 54 | --radius-4xl: calc(var(--radius) + 16px); |
| 55 | } |
| 56 |