-
Notifications
You must be signed in to change notification settings - Fork 8
/
tailwind.config.js
123 lines (112 loc) · 4.31 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
module.exports = {
purge: false,
corePlugins: {
container: false,
fontSize: false,
},
theme: {
extend: {
colors: {
graphite: {
700: '#1b242c',
800: '#191a16',
900: '#080b16',
},
lavender: {
400: '#bc6bf0',
700: '#4b154b',
900: '#211e2e',
},
lime: {
500: '#63b82f',
900: '#171916',
},
mint: '#6bf0c2',
cyan: '#06e7df',
navy: {
200: '#149dcb',
300: '#4267b2',
400: '#2a5ed6',
500: '#12357c',
700: '#15204b',
800: '#141c3a',
900: '#11152b',
},
sapphire: '#1F0A55',
denim: {
600: '#173247',
},
rust: '#9a2929',
tangerine: '#ffad43',
},
maxHeight: {
100: '25rem',
},
opacity: {
'10': '.1',
'20': '.2',
'30': '.3',
'40': '.4',
'60': '.6',
'70': '.7',
'80': '.8',
'90': '.9'
},
transitionProperty: {
'background': 'background'
}
},
fontFamily: {
'sans': ['Roboto', 'system-ui', 'sans-serif'],
'display': ['Tomorrow', 'system-ui', 'sans-serif'],
},
fluidFontSize: {
xs: [12, 14],
sm: [14, 16],
base: [16, 18],
lg: [18, 20],
xl: [20, 24],
'2xl': [24, 28],
'3xl': [28, 32],
'4xl': [32, 36],
'5xl': [36, 40],
'6xl': [40, 44],
'7xl': [44, 52],
},
// Custom
aspectRatio: {
'4:3': '75%',
'16:9': '56.25%',
},
backgroundImage: {
grid: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCA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EyNUMiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz60K/pwAAAAd0lEQVR42uzVIQ6AMAxA0Y7b9P6HaVBcZAKFZgiSLnk1mBrysv5xzTMjouJ9Wu8dsT7Vee/Lj2TnPSJEiBDZUyQXvtV5byi7N+JqESFChIiyK7s3QoQIESLKruzK7moRIUKEiLIru7K7WkSIECHy/94TxO3nFmAA4zKXNDuwvJsAAAAASUVORK5CYII=',
hackerspace: '/images/801-labs-is-a-hackerspace-not-a-maker-space.jpg',
},
filter: {
'shadow-xl': 'drop-shadow(0px 20px 20px rgba(0,0,0,0.65))',
},
gradient: {
'left-bottom-sapphire-black': "linear-gradient(195deg, theme('colors.sapphire') 55%, theme('colors.black') 70%)",
},
textShadow: {
'glow': "theme('colors.lime.500') 0 0 5px, theme('colors.lime.500') 0 0 6px, theme('colors.lime.500') 0 0 7px",
},
},
variants: {
backgroundColor: ['responsive', 'hover', 'focus', 'group-hover', 'group-focus'],
borderColor: ['responsive', 'hover', 'focus', 'group-hover', 'group-focus'],
display: ['responsive', 'hover', 'focus', 'focus-within', 'group-hover', 'group-focus-within'],
textColor: ['responsive', 'hover', 'focus', 'group-hover', 'group-focus'],
opacity: ['responsive', 'hover', 'focus', 'group-hover', 'group-focus'],
},
plugins: [
require('./plugins/tailwind/group-focus-within'),
require('./plugins/tailwind/aspect-ratio'),
require('./plugins/tailwind/background-image'),
require('./plugins/tailwind/filter'),
require('./plugins/tailwind/fluid-font-size'),
require('./plugins/tailwind/gradient'),
require('./plugins/tailwind/text-shadow'),
require('./plugins/tailwind/container'),
],
}