-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathtailwind.config.js
106 lines (105 loc) · 2.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
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
const palette = require('./palette.js');
module.exports = {
content: [
'./source/components/**/*.{html,js,jsx,ts,tsx}',
'./source/pages/**/*.{html,js,jsx,ts,tsx}',
'./views/*.html',
],
media: false, //darkMode is outdated
theme: {
extend: {
colors: palette,
boxShadow: {
btn: '0px 1px 5px rgba(0, 0, 0, 0.25)',
tooltip: '0px 0px 5px rgba(0, 0, 0, 0.25)',
},
filter: {
blur: 'blur(3.5px)',
},
scale: {
103: '1.03',
},
inset: {
'5percent': '5%',
},
top: {
'3rem': '4rem',
},
right: {
'5percent': '5%',
'45r': '0.45rem',
},
margin: {
0.8: '0.2rem',
},
maxWidth: {
popup: '620px',
input: '18rem',
'1/2': '50%',
70: '70%',
95: '95%',
},
maxHeight: {
popup: '620px',
},
minWidth: {
popup: '400px',
xs: '1rem',
},
minHeight: {
popup: '620px',
},
height: {
popup: '620px',
menu: '27rem',
bigmenu: '31rem',
85: '23rem',
tokenHeader: '70px',
},
letterSpacing: {
tightest: '-.075em',
tighter: '-.05em',
tight: '-.025em',
normal: '0.03em',
wide: '.5rem',
wider: '.5em',
widest: '.8em',
widest: '.9em',
},
backgroundImage: {
primary:
'linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0)), linear-gradient(30deg, rgba(255, 62, 145, 0.8) 20%, #4d76b8 50%)',
},
fontFamily: {
poppins: 'Poppins',
rubik: 'Rubik',
},
fontSize: {
xxs: '0.01px',
'10px': '10px',
},
screens: {
small: { min: '640px', max: '1280px' },
},
animation: {
'spin-slow': 'spin 3s linear infinite',
'drop-up': 'dropFadeInUp 1.5s linear',
'drop-down': 'dropFadeInDown 1.5s linear',
},
keyframes: {
dropFadeInDown: {
'0%': { opacity: '0', transform: 'translateY(40px)' },
'100%': { opacity: '1', transform: 'none' },
},
dropFadeInUp: {
'0%': { opacity: '1', transform: 'translateY(-40px)' },
'100%': { opacity: '0', transform: 'none' },
},
},
},
},
variants: {
extend: {},
},
plugins: [],
};