-
Notifications
You must be signed in to change notification settings - Fork 11
/
tailwind.config.js
86 lines (86 loc) · 2.46 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
module.exports = {
purge: ['src/pages/**/*.{js,ts,jsx,tsx}', 'src/components/**/*.{js,ts,jsx,tsx}'],
darkMode: false, // or 'media' or 'class'
theme: {
extend: {
colors: {
primary: '#f78e1e',
secondary: '#0a0a0a',
neutral: '#ffffff',
invert: '#ff0000',
page: '#0a0a0a',
paper: '#3A3A3A',
},
fontFamily: {
main: 'Roboto',
sans: ['Rubik', 'ui-sans-serif', 'system-ui'],
},
fontSize: {
'xs-asset': '0.6rem',
'sm-asset': '0.8rem',
},
container: {
padding: {
DEFAULT: '1rem',
sm: '1rem',
lg: '0',
xl: '0',
'2xl': '1rem',
},
},
minWidth: {
'img-small': '2rem',
},
maxWidth: {
'img-small': '2rem',
td: '6rem',
'popup-lg': '36rem',
popup: '26rem',
filter: '26rem',
},
maxHeight: {
'img-small': '2rem',
'img-collection': '25rem',
'img-asset': '37.5rem',
popup: '38.5rem',
'popup-lg': '44rem',
},
inset: {
22: '5.5rem',
},
width: {
asset: '14rem',
popup: '30rem',
'popup-lg': '40rem',
},
height: {
6.5: '1.625rem',
asset: '23rem',
page: 'calc(100% - 6.5rem)',
'page-s': 'calc(100% - 12rem)',
},
lineHeight: {
tab: '1.625rem',
},
zIndex: {
'-10': '-10',
100: '100',
},
transitionProperty: {
width: 'width',
height: 'height',
spacing: 'margin, padding',
},
backgroundImage: (theme) => ({
'collection-card': "url('/collection_card/Main.svg')",
}),
},
},
variants: {
extend: {
textTransform: ['hover', 'focus'],
fontFamily: ['hover', 'focus'],
},
},
plugins: [require('@tailwindcss/aspect-ratio')],
}