-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
101 lines (101 loc) · 3.29 KB
/
tailwind.config.js
File metadata and controls
101 lines (101 loc) · 3.29 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
/** @type {import('tailwindcss').Config} */
export default {
content: [
"./index.html",
"./src/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
colors: {
border: 'var(--color-border)', // gray-200
input: 'var(--color-input)', // white
ring: 'var(--color-ring)', // teal-700
background: 'var(--color-background)', // gray-50
foreground: 'var(--color-foreground)', // gray-800
primary: {
DEFAULT: 'var(--color-primary)', // teal-700
foreground: 'var(--color-primary-foreground)', // white
},
secondary: {
DEFAULT: 'var(--color-secondary)', // gray-700
foreground: 'var(--color-secondary-foreground)', // white
},
destructive: {
DEFAULT: 'var(--color-destructive)', // red-500
foreground: 'var(--color-destructive-foreground)', // white
},
muted: {
DEFAULT: 'var(--color-muted)', // gray-100
foreground: 'var(--color-muted-foreground)', // gray-500
},
accent: {
DEFAULT: 'var(--color-accent)', // cyan-400
foreground: 'var(--color-accent-foreground)', // gray-800
},
popover: {
DEFAULT: 'var(--color-popover)', // white
foreground: 'var(--color-popover-foreground)', // gray-800
},
card: {
DEFAULT: 'var(--color-card)', // white
foreground: 'var(--color-card-foreground)', // gray-800
},
success: {
DEFAULT: 'var(--color-success)', // emerald-500
foreground: 'var(--color-success-foreground)', // white
},
warning: {
DEFAULT: 'var(--color-warning)', // amber-500
foreground: 'var(--color-warning-foreground)', // white
},
error: {
DEFAULT: 'var(--color-error)', // red-500
foreground: 'var(--color-error-foreground)', // white
},
},
fontFamily: {
sans: ['Inter', 'sans-serif'],
mono: ['JetBrains Mono', 'monospace'],
},
fontSize: {
'xs': ['0.75rem', { lineHeight: '1rem' }],
'sm': ['0.875rem', { lineHeight: '1.25rem' }],
'base': ['1rem', { lineHeight: '1.5rem' }],
'lg': ['1.125rem', { lineHeight: '1.75rem' }],
'xl': ['1.25rem', { lineHeight: '1.75rem' }],
'2xl': ['1.5rem', { lineHeight: '2rem' }],
'3xl': ['1.875rem', { lineHeight: '2.25rem' }],
'4xl': ['2.25rem', { lineHeight: '2.5rem' }],
},
spacing: {
'18': '4.5rem',
'88': '22rem',
'240': '60rem',
},
boxShadow: {
'sm': '0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06)',
'DEFAULT': '0 4px 6px rgba(0, 0, 0, 0.05), 0 2px 4px rgba(0, 0, 0, 0.06)',
'lg': '0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05)',
},
transitionDuration: {
'150': '150ms',
'300': '300ms',
},
transitionTimingFunction: {
'ease-out': 'cubic-bezier(0, 0, 0.2, 1)',
'ease-in-out': 'cubic-bezier(0.4, 0, 0.2, 1)',
},
zIndex: {
'1000': '1000',
'1050': '1050',
'1100': '1100',
'1200': '1200',
'1300': '1300',
},
},
},
plugins: [
require('@tailwindcss/forms'),
require('tailwindcss-animate'),
],
}