-
Notifications
You must be signed in to change notification settings - Fork 8
/
tailwind.config.js
78 lines (77 loc) · 2.02 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
const aspectRatio = require('@tailwindcss/aspect-ratio')
// eslint-disable-next-line import/no-extraneous-dependencies
const plugin = require('tailwindcss/plugin')
module.exports = {
mode: 'jit',
theme: {
colors: {
transparent: 'transparent',
current: 'currentColor',
black: '#000',
white: '#FFF',
red: '#E35050',
'like-green': '#28646E',
'like-dark-green':'#245b64',
'like-cyan': '#50E3C2',
'like-cyan-light': '#AAF1E7',
'like-cyan-extralight': '#D7ECEC',
'dark-gray': '#4A4A4A',
'medium-gray': '#9B9B9B',
'shade-gray': '#EBEBEB',
'light-gray': '#F7F7F7',
'airdrop-gold':'#D1AB79',
'twitter-blue':'#4696F1',
},
fontFamily: {
'mono': [
'PT Mono',
'monospace',
],
},
extend: {
height: {
'40px': '40px',
'44px': '44px',
'48px': '48px',
'64px': '64px',
},
screens: {
// Should remove this once we upgrade TailwindCSS to v3
print: { raw: 'print' },
},
boxShadow: {
popup: '2px 4px 8px rgba(0, 0, 0, 0.25)',
},
},
screens: {
'sm': '640px',
// landscape phones => @media (min-width: 640px) { ... }
'md': '768px',
// tablets => @media (min-width: 768px) { ... }
'lg': '1024px',
// desktops => @media (min-width: 1024px) { ... }
'xl': '1280px',
// large desktops => @media (min-width: 1280px) { ... }
'2xl': '1441px',
// extra large desktops => @media (min-width: 1441px) { ... }
},
},
plugins: [
aspectRatio,
plugin(({ addUtilities }) => {
const newUtilities = {
'.scrollbar-hidden': {
'-ms-overflow-style': 'none', /* IE and Edge */
'scrollbar-width': 'none', /* Firefox */
'&::-webkit-scrollbar': {
display: 'none', /* Chrome */
},
},
'.text-stroke': {
'-webkit-text-stroke': '1px #AAF1E7',
},
}
addUtilities(newUtilities)
}),
],
}