profileShare

rasmusjy / roundtable

Read-only snapshot

No repository description.

main default branch 181 files Expires Sep 13, 2026, 9:06 AM
tailwind.config.ts 2,900 bytes
1 import type { Config } from 'tailwindcss';
2 import tailwindcssAnimate from 'tailwindcss-animate';
3
4 const config: Config = {
5 darkMode: ['class'],
6 content: [
7 './src/pages/**/*.{ts,tsx}',
8 './src/components/**/*.{ts,tsx}',
9 './src/app/**/*.{ts,tsx}',
10 ],
11 theme: {
12 container: {
13 center: true,
14 padding: '2rem',
15 screens: { '2xl': '1400px' },
16 },
17 extend: {
18 colors: {
19 border: 'hsl(var(--border))',
20 input: 'hsl(var(--input))',
21 ring: 'hsl(var(--ring))',
22 background: 'hsl(var(--background))',
23 foreground: 'hsl(var(--foreground))',
24 primary: {
25 DEFAULT: 'hsl(var(--primary))',
26 foreground: 'hsl(var(--primary-foreground))',
27 },
28 secondary: {
29 DEFAULT: 'hsl(var(--secondary))',
30 foreground: 'hsl(var(--secondary-foreground))',
31 },
32 destructive: {
33 DEFAULT: 'hsl(var(--destructive))',
34 foreground: 'hsl(var(--destructive-foreground))',
35 },
36 muted: {
37 DEFAULT: 'hsl(var(--muted))',
38 foreground: 'hsl(var(--muted-foreground))',
39 },
40 accent: {
41 DEFAULT: 'hsl(var(--accent))',
42 foreground: 'hsl(var(--accent-foreground))',
43 },
44 popover: {
45 DEFAULT: 'hsl(var(--popover))',
46 foreground: 'hsl(var(--popover-foreground))',
47 },
48 card: {
49 DEFAULT: 'hsl(var(--card))',
50 foreground: 'hsl(var(--card-foreground))',
51 },
52 // Semantic accents for the debate timeline stages.
53 stage: {
54 answer: 'hsl(var(--stage-answer))',
55 critique: 'hsl(var(--stage-critique))',
56 revision: 'hsl(var(--stage-revision))',
57 synthesis: 'hsl(var(--stage-synthesis))',
58 },
59 },
60 borderRadius: {
61 lg: 'var(--radius)',
62 md: 'calc(var(--radius) - 2px)',
63 sm: 'calc(var(--radius) - 4px)',
64 },
65 keyframes: {
66 'accordion-down': {
67 from: { height: '0' },
68 to: { height: 'var(--radix-accordion-content-height)' },
69 },
70 'accordion-up': {
71 from: { height: 'var(--radix-accordion-content-height)' },
72 to: { height: '0' },
73 },
74 'pulse-subtle': {
75 '0%, 100%': { opacity: '1' },
76 '50%': { opacity: '0.55' },
77 },
78 },
79 animation: {
80 'accordion-down': 'accordion-down 0.2s ease-out',
81 'accordion-up': 'accordion-up 0.2s ease-out',
82 'pulse-subtle': 'pulse-subtle 1.6s ease-in-out infinite',
83 },
84 fontFamily: {
85 sans: ['var(--font-sans)', 'ui-sans-serif', 'system-ui', 'sans-serif'],
86 mono: ['var(--font-mono)', 'ui-monospace', 'monospace'],
87 display: ['var(--font-display)', 'ui-sans-serif', 'system-ui', 'sans-serif'],
88 },
89 },
90 },
91 plugins: [tailwindcssAnimate],
92 };
93
94 export default config;
95