-
Notifications
You must be signed in to change notification settings - Fork 2
/
tailwind.config.js
60 lines (56 loc) · 1.37 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
/** @type {import('tailwindcss').Config} */
// eslint-disable-next-line @typescript-eslint/no-var-requires
const plugin = require('tailwindcss/plugin')
const backfaceVisibility = plugin(function ({ addUtilities }) {
addUtilities({
'.backface-visible': {
'backface-visibility': 'visible',
'-moz-backface-visibility': 'visible',
'-webkit-backface-visibility': 'visible',
'-ms-backface-visibility': 'visible',
},
'.backface-hidden': {
'backface-visibility': 'hidden',
'-moz-backface-visibility': 'hidden',
'-webkit-backface-visibility': 'hidden',
'-ms-backface-visibility': 'hidden',
},
})
})
module.exports = {
plugins: [backfaceVisibility],
}
module.exports = {
content: ['./src/**/*.{js,ts,jsx,tsx}'],
theme: {
extend: {
width: {
'1em': '1em',
},
height: {
'1em': '1em',
},
colors: {
electric: '#db00ff',
ribbon: '#0047ff',
},
dropShadow: {
parchment: '0 4px 6px rgba(0, 0, 0, 0.25)',
},
screens: {
'3xl': '1600px',
'4xl': '1890px',
},
transitionTimingFunction: {
'timing-fast': 'cubic-bezier(0, 0.9, 0, 1)',
},
listStyleType: {
square: 'square',
},
gridTemplateColumns: {
'fr-1/3': '1fr 3fr',
},
},
},
plugins: [backfaceVisibility],
}