-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
64 lines (63 loc) · 1.42 KB
/
tailwind.config.js
File metadata and controls
64 lines (63 loc) · 1.42 KB
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
/** @type {import('tailwindcss').Config} */
export default {
content: [
"./index.html",
"./src/**/*.{js,ts,jsx,tsx}",
],
corePlugins: {
preflight: false,
},
important: '#root',
theme: {
extend: {
boxShadow: {
'custom': '0px 2px 4px 0px rgba(0, 0, 0, 0.5)',
},
},
},
plugins: [
function ({ addUtilities }) {
const newUtilities = {
'.text-title': {
'font-size': '16vw',
'text-wrap': 'nowrap'
},
'.text-name': {
'font-size': '13vw',
'text-wrap': 'nowrap'
},
'.text-header': {
'font-size': '3vw',
},
'.text-link': {
'font-size': '1.5vw',
},
'.p-mode': {
'padding-top': '0.5vw',
'padding-bottom': '0.5vw',
'padding-left': '1vw',
'padding-right': '1vw',
},
'.circle': {
'min-width': '2vw',
'min-height': '2vw',
},
'.p-header': {
'padding-top': '1.5vw',
'padding-bottom': '1.5vw',
'padding-left': '5vw',
'padding-right': '5vw',
},
'.m-body': {
'margin-right': '5vw',
'margin-left': '5vw',
},
'.letter-spacing': {
'letter-spacing': '1vw'
}
};
addUtilities(newUtilities, ['responsive', 'hover']);
},
require('@tailwindcss/forms'),
],
}