-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtailwind.config.js
More file actions
56 lines (56 loc) · 1.64 KB
/
tailwind.config.js
File metadata and controls
56 lines (56 loc) · 1.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
/** @type {import('tailwindcss').Config} */
module.exports = {
prefix: 'tc-',
corePlugins: {
preflight: false,
},
content: [
'./src/**/*.{js,ts,jsx,tsx}',
...(process.env.NODE_ENV !== 'production' ? ['./stories/**/*.{js,ts,jsx,tsx}'] : []),
],
theme: {
extend: {
colors: {
border: 'hsl(var(--tc-border))',
input: 'hsl(var(--tc-input))',
ring: 'hsl(var(--tc-ring))',
background: 'hsl(var(--tc-background))',
foreground: 'hsl(var(--tc-foreground))',
primary: {
DEFAULT: 'hsl(var(--tc-primary))',
foreground: 'hsl(var(--tc-primary-foreground))',
},
secondary: {
DEFAULT: 'hsl(var(--tc-secondary))',
foreground: 'hsl(var(--tc-secondary-foreground))',
},
destructive: {
DEFAULT: 'hsl(var(--tc-destructive))',
foreground: 'hsl(var(--tc-destructive-foreground))',
},
muted: {
DEFAULT: 'hsl(var(--tc-muted))',
foreground: 'hsl(var(--tc-muted-foreground))',
},
accent: {
DEFAULT: 'hsl(var(--tc-accent))',
foreground: 'hsl(var(--tc-accent-foreground))',
},
popover: {
DEFAULT: 'hsl(var(--tc-popover))',
foreground: 'hsl(var(--tc-popover-foreground))',
},
card: {
DEFAULT: 'hsl(var(--tc-card))',
foreground: 'hsl(var(--tc-card-foreground))',
},
},
borderRadius: {
lg: 'var(--tc-radius)',
md: 'calc(var(--tc-radius) - 2px)',
sm: 'calc(var(--tc-radius) - 4px)',
},
},
},
plugins: [require('tailwindcss-animate')],
};