-
Notifications
You must be signed in to change notification settings - Fork 4
/
tailwind.config.ts
126 lines (124 loc) · 3.84 KB
/
tailwind.config.ts
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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
import type { Config } from 'tailwindcss'
const config = {
darkMode: ['class'],
content: [
'./app/**/*.{js,ts,jsx,tsx}',
'./pages/**/*.{js,ts,jsx,tsx}',
'./components/**/*.{js,ts,jsx,tsx}'
],
prefix: '',
theme: {
container: {
center: true,
padding: '2rem'
},
extend: {
screens: {
xs: '480px',
'2xl': '1400px'
},
maxWidth: {
'8xl': '90rem',
'9xl': '100rem'
},
colors: {
brand: {
customPrimary: 'rgb(5, 152, 244)',
customPrimaryLight: 'rgb(60, 178, 251)',
customSecondary: 'rgb(5, 152, 244)',
customDarkBg1: 'rgb(3, 122, 199)',
customDarkBg2: 'rgb(23, 23, 23)',
customDarkBg3: 'rgb(20, 20, 20)',
customDarkBg3Hover: 'rgb(55, 56, 62)',
customContentSubtitle: 'rgb(178, 184, 205)',
customGrayBorder: 'rgb(255,255,255,0.1)',
customGrayText: 'rgb(161, 161, 161)',
customDarkBgTransparent: 'rgb(31, 32, 35, 0.7)',
customDarkBgTransparentDarker: 'rgb(0,0,0,0.5)',
customDarkBgTransparentLighter: 'rgb(48, 49, 54, 0.7)',
blue: { 100: '#0598F4', 200: '#037ac7', 300: '#016cb0' },
red: { 100: '#F00605', 200: '#b60505', 300: '#9a0404' }
},
border: 'hsl(var(--border))',
input: 'hsl(var(--input))',
ring: 'hsl(var(--ring))',
background: {
DEFAULT: 'hsl(var(--background))',
dark: 'hsl(var(--background-dark))',
darker: 'hsl(var(--background-darker))',
light: 'hsl(var(--background-light))'
},
hover: {
DEFAULT: 'hsl(var(--hover))',
light: 'hsl(var(--hover-light))'
},
foreground: 'hsl(var(--foreground))',
primary: {
DEFAULT: 'hsl(var(--primary))',
foreground: 'hsl(var(--primary-foreground))'
},
secondary: {
DEFAULT: 'hsl(var(--secondary))',
foreground: 'hsl(var(--secondary-foreground))'
},
destructive: {
DEFAULT: 'hsl(var(--destructive))',
foreground: 'hsl(var(--destructive-foreground))'
},
muted: {
DEFAULT: 'hsl(var(--muted))',
foreground: 'hsl(var(--muted-foreground))'
},
accent: {
DEFAULT: 'hsl(var(--accent))',
foreground: 'hsl(var(--accent-foreground))'
},
popover: {
DEFAULT: 'hsl(var(--popover))',
foreground: 'hsl(var(--popover-foreground))'
},
card: {
DEFAULT: 'hsl(var(--card))',
foreground: 'hsl(var(--card-foreground))'
},
status: {
green: 'hsl(var(--status-green))',
yellow: 'hsl(var(--status-yellow))',
red: 'hsl(var(--status-red))'
}
},
borderRadius: {
lg: 'var(--radius)',
md: 'calc(var(--radius) - 2px)',
sm: 'calc(var(--radius) - 4px)'
},
keyframes: {
'accordion-down': {
from: { height: '0' },
to: { height: 'var(--radix-accordion-content-height)' }
},
'accordion-up': {
from: { height: 'var(--radix-accordion-content-height)' },
to: { height: '0' }
}
},
animation: {
'accordion-down': 'accordion-down 0.2s ease-out',
'accordion-up': 'accordion-up 0.2s ease-out'
},
dropShadow: {
['red-glow']: ['2px 2px 10px #f00505'],
['blue-glow']: ['2px 2px 10px #0598f6'],
['gold-glow']: ['2px 2px 10px #eab308']
},
backgroundImage: {
['gradient-premium']:
'linear-gradient(to bottom right, #0598F4 0%,#F00605 100%)',
['gradient-brand']:
'linear-gradient(92.91deg, #0598F4 -50%,#F00605 150%)'
}
}
},
plugins: [require('tailwindcss-animate')]
} satisfies Config
export default config