-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
57 lines (55 loc) · 1.14 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
module.exports = require('@6thpath/design-system').tailwindConfig.generateTailwindConfig({
purge: {
enabled: process.env.NODE_ENV === 'production',
mode: 'all',
preserveHtmlElements: false,
content: ['./src/**/*.tsx'],
options: {
safelist: [],
keyframes: true,
},
},
theme: {
extend: {
cursor: {
grab: 'grab',
grabbing: 'grabbing',
},
width: {
// Key width
'key-md': '20px',
'key-lg': '26px',
'key-xl': '32px',
'key-2xl': '40px',
// Piano width
746: '746px',
978: '978px',
1218: '1218px',
1506: '1506px',
},
height: {
// White key height
'wkey-md': '120px',
'wkey-lg': '150px',
'wkey-xl': '180px',
'wkey-2xl': '200px',
// Black key height
'bkey-md': '80px',
'bkey-lg': '90px',
'bkey-xl': '100px',
'bkey-2xl': '120px',
},
inset: {
10: '10px',
13: '13px',
16: '16px',
20: '20px',
},
},
},
variants: {
extend: {
cursor: ['active'],
},
},
})