-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
153 lines (149 loc) · 3.94 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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
import defaultTheme from 'tailwindcss/defaultTheme'
import headlessUi from '@headlessui/tailwindcss'
import heroPatterns from 'tailwind-heropatterns'
import aspectRatio from '@tailwindcss/aspect-ratio'
import type { Config } from 'tailwindcss'
export default <Partial<Config>>{
theme: {
extend: {
colors: {
brand: {
DEFAULT: '#002894',
50: '#edf5fa',
100: '#dcebf5',
200: '#accbe6',
300: '#7fa8d4',
400: '#3667b5',
500: '#002894',
600: '#002185',
700: '#001a6e',
800: '#001359',
900: '#000d42',
950: '#00072b',
},
secondary: {
DEFAULT: '#ee7d1e',
50: '#fef9f4',
100: '#fdf2e9',
200: '#fbdfc7',
300: '#f8cba5',
400: '#f3a462',
500: '#ee7d1e',
600: '#d6711b',
700: '#b35e17',
800: '#8f4b12',
900: '#753d0f',
},
vueGreen: 'rgb(66,185,131)',
vueGreenHover: 'rgb(50,161,111)',
vueBlue: 'rgb(98,136,241)',
},
boxShadow: {
field: 'rgba(10, 10, 10, 0.1) 0px 1px 2px 0px inset',
px: '0 0 0 1px rgba(0, 0, 0, 0.5)',
},
fontFamily: {
sans: ['Inter var', 'Inter', ...defaultTheme.fontFamily.sans],
serif: [...defaultTheme.fontFamily.serif],
display: ['Bungee', 'Pica'],
mono: ['Space Mono', 'Fira Code', ...defaultTheme.fontFamily.mono],
mockup: ['Balsamiq Sans', 'cursive'],
proto: [
'Flow Circular',
'Redacted Script',
'Flow Block',
'Blokk Neue',
'Blokk',
'Flow Rounded',
'cursive',
],
},
fontSize: {
'2xs': ['0.625rem', '0.875rem'],
},
gridTemplateColumns: {
24: 'repeat(24, minmax(1rem, 1fr))',
},
gridColumn: {
'span-13': 'span 13 / span 13',
'span-14': 'span 14 / span 14',
'span-15': 'span 15 / span 15',
'span-16': 'span 16 / span 16',
'span-17': 'span 17 / span 17',
'span-18': 'span 18 / span 18',
'span-19': 'span 19 / span 19',
'span-20': 'span 20 / span 20',
'span-21': 'span 21 / span 21',
'span-22': 'span 22 / span 22',
'span-23': 'span 23 / span 23',
'span-24': 'span 24 / span 24',
},
maxWidth: {
'8xl': '90rem',
},
animation: {
'wiggle': 'wiggle 1s infinite',
'flash-code': 'flash-code 1s forwards',
'flash-code-slow': 'flash-code 2s forwards',
},
keyframes: {
'flash-code': {
'0%': { backgroundColor: 'rgb(125 211 252 / 0.1)' },
'100%': { backgroundColor: 'transparent' },
},
'wiggle': {
'0%, 100%': {
transform: 'scale(1.2) rotate(7deg)',
},
'50%': {
transform: 'scale(0.8) rotate(-7deg)',
},
},
},
transitionTimingFunction: {
'in-expo': 'cubic-bezier(0.95, 0.05, 0.795, 0.035)',
'out-expo': 'cubic-bezier(0.19, 1, 0.22, 1)',
'in-quad': 'cubic-bezier(.55, .085, .68, .53)',
'out-quad': 'cubic-bezier(.25, .46, .45, .94)',
},
aspectRatio: {
auto: 'auto',
square: '1 / 1',
video: '16 / 9',
1: '1',
2: '2',
3: '3',
4: '4',
5: '5',
6: '6',
7: '7',
8: '8',
9: '9',
10: '10',
11: '11',
12: '12',
13: '13',
14: '14',
15: '15',
16: '16',
},
},
},
plugins: [
aspectRatio,
headlessUi,
heroPatterns({
patterns: [],
// The foreground colors of the pattern
colors: {
'default': '#9C92AC',
'blue-dark': '#000044', // also works with rgb(0,0,205)
},
// The foreground opacity
opacity: {
default: '0.4',
100: '1.0',
},
}),
],
}