myHerb commited on
Commit
f24fd97
·
verified ·
1 Parent(s): b6ee6e4

Create tailwind.config.ts

Browse files
Files changed (1) hide show
  1. tailwind.config.ts +98 -0
tailwind.config.ts ADDED
@@ -0,0 +1,98 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import type { Config } from "tailwindcss";
2
+
3
+ const config: Config = {
4
+ darkMode: ["class"],
5
+ content: [
6
+ "./pages/**/*.{js,ts,jsx,tsx,mdx}",
7
+ "./components/**/*.{js,ts,jsx,tsx,mdx}",
8
+ "./app/**/*.{js,ts,jsx,tsx,mdx}",
9
+ // TODO(Gaspar): This is here to trace components in the root
10
+ // This should probably be scoped to a file
11
+ "*.{js,ts,jsx,tsx,mdx}"
12
+ ],
13
+ theme: {
14
+ extend: {
15
+ colors: {
16
+ background: 'hsl(var(--background))',
17
+ foreground: 'hsl(var(--foreground))',
18
+ card: {
19
+ DEFAULT: 'hsl(var(--card))',
20
+ foreground: 'hsl(var(--card-foreground))'
21
+ },
22
+ popover: {
23
+ DEFAULT: 'hsl(var(--popover))',
24
+ foreground: 'hsl(var(--popover-foreground))'
25
+ },
26
+ primary: {
27
+ DEFAULT: 'hsl(var(--primary))',
28
+ foreground: 'hsl(var(--primary-foreground))'
29
+ },
30
+ secondary: {
31
+ DEFAULT: 'hsl(var(--secondary))',
32
+ foreground: 'hsl(var(--secondary-foreground))'
33
+ },
34
+ muted: {
35
+ DEFAULT: 'hsl(var(--muted))',
36
+ foreground: 'hsl(var(--muted-foreground))'
37
+ },
38
+ accent: {
39
+ DEFAULT: 'hsl(var(--accent))',
40
+ foreground: 'hsl(var(--accent-foreground))'
41
+ },
42
+ destructive: {
43
+ DEFAULT: 'hsl(var(--destructive))',
44
+ foreground: 'hsl(var(--destructive-foreground))'
45
+ },
46
+ border: 'hsl(var(--border))',
47
+ input: 'hsl(var(--input))',
48
+ ring: 'hsl(var(--ring))',
49
+ chart: {
50
+ '1': 'hsl(var(--chart-1))',
51
+ '2': 'hsl(var(--chart-2))',
52
+ '3': 'hsl(var(--chart-3))',
53
+ '4': 'hsl(var(--chart-4))',
54
+ '5': 'hsl(var(--chart-5))'
55
+ },
56
+ sidebar: {
57
+ DEFAULT: 'hsl(var(--sidebar-background))',
58
+ foreground: 'hsl(var(--sidebar-foreground))',
59
+ primary: 'hsl(var(--sidebar-primary))',
60
+ 'primary-foreground': 'hsl(var(--sidebar-primary-foreground))',
61
+ accent: 'hsl(var(--sidebar-accent))',
62
+ 'accent-foreground': 'hsl(var(--sidebar-accent-foreground))',
63
+ border: 'hsl(var(--sidebar-border))',
64
+ ring: 'hsl(var(--sidebar-ring))'
65
+ }
66
+ },
67
+ borderRadius: {
68
+ lg: 'var(--radius)',
69
+ md: 'calc(var(--radius) - 2px)',
70
+ sm: 'calc(var(--radius) - 4px)'
71
+ },
72
+ keyframes: {
73
+ 'accordion-down': {
74
+ from: {
75
+ height: '0'
76
+ },
77
+ to: {
78
+ height: 'var(--radix-accordion-content-height)'
79
+ }
80
+ },
81
+ 'accordion-up': {
82
+ from: {
83
+ height: 'var(--radix-accordion-content-height)'
84
+ },
85
+ to: {
86
+ height: '0'
87
+ }
88
+ }
89
+ },
90
+ animation: {
91
+ 'accordion-down': 'accordion-down 0.2s ease-out',
92
+ 'accordion-up': 'accordion-up 0.2s ease-out'
93
+ }
94
+ }
95
+ },
96
+ plugins: [require("tailwindcss-animate")],
97
+ };
98
+ export default config;