This repository has been archived by the owner on Apr 26, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
125 lines (124 loc) · 2.52 KB
/
tailwind.config.js
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
const colors = require('tailwindcss/colors');
const defaultTheme = require('tailwindcss/defaultTheme');
module.exports = {
mode: 'jit',
future: {
removeDeprecatedGapUtilities: true,
purgeLayersByDefault: true,
},
purge: ['./pages/**/*.{js,ts,jsx,tsx}', './components/**/*.{js,ts,jsx,tsx}'],
darkMode: 'class',
theme: {
extend: {
animation: {
ping: 'ping 1s cubic-bezier(0, 0, 0.2, 1) infinite',
'ping-large': 'ping-large 1s cubic-bezier(0, 0, 0.2, 1) infinite',
autohide: 'autohide 500ms linear 3s forwards',
},
keyframes: {
ping: {
'0%': { transform: 'scale(1)', opacity: 1 },
'75%, 100%': { transform: 'scale(1.4, 1.5)', opacity: 0 },
},
'ping-large': {
'0%': { transform: 'scale(1)', opacity: 1 },
'75%, 100%': { transform: 'scale(2)', opacity: 0 },
},
autohide: {
from: { opacity: 1 },
to: { opacity: 0 },
},
},
fontSize: {
xxs: '.50rem',
},
maxWidth: {
'8xl': '88rem',
},
spacing: {
120: '30rem',
128: '32rem',
},
borderWidth: {
3: '3px',
},
},
zIndex: {
...defaultTheme.zIndex,
60: '60',
70: '70',
80: '80',
90: '90',
100: '100',
},
colors: {
...colors,
gray: {
...colors.gray,
150: '#ECECEE',
750: '#333338',
},
green: {
...colors.green,
950: '#0B301A',
},
indigo: {
...colors.indigo,
950: '#0F0E27',
},
red: {
...colors.red,
950: '#4E1213',
},
transparent: 'transparent',
yellow: {
...colors.yellow,
950: '#4E2C0D',
},
},
fontFamily: {
mono: [
'ui-monospace',
'SFMono-Regular',
'Menlo',
'Monaco',
'Consolas',
'"Liberation Mono"',
'"Courier New"',
'monospace',
],
sans: [
'Inter',
'ui-sans-serif',
'system-ui',
'-apple-system',
'BlinkMacSystemFont',
'"Segoe UI"',
'"Helvetica Neue"',
'Arial',
'"Noto Sans"',
'sans-serif',
'"Apple Color Emoji"',
'"Segoe UI Emoji"',
'"Segoe UI Symbol"',
'"Noto Color Emoji"',
],
serif: ['Podkova', 'ui-serif', 'Georgia', 'Cambria', '"Times New Roman"', 'Times', 'serif'],
},
maxHeight: (theme) => ({ ...defaultTheme.maxHeight(theme), 100: '26rem' }),
},
variants: {
extend: {
display: ['group-hover'],
visibility: ['group-hover'],
justifyContent: ['group-hover'],
width: ['hover'],
opacity: ['disabled'],
borderWidth: ['last'],
borderStyle: ['last'],
margin: ['last'],
padding: ['first', 'last'],
},
},
plugins: [require('@tailwindcss/aspect-ratio')],
};