-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
66 lines (59 loc) · 1.61 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
/** @format */
const defaultTheme = require('tailwindcss/defaultTheme');
const config = {
important: true,
safelist: ['hidden'],
content: ['./src/**/*.{html,ts,tsx}', './src/*.{html,ts,tsx}'],
theme: {
extend: {
animation: {
'spin-slow': 'spin 2s linear infinite',
},
colors: {
'gray-900': '#08090F',
'gray-800': '#1f2029',
'gray-700': '#363744',
'gray-300': '#999AA4',
'gray-200': '#E4E4E7',
'gray-100': '#FCFCFC',
// Neons
'neon-blue': '#35cce6',
'neon-green': '#20F556',
'neon-pink': '#ea49d3',
'neon-yellow': '#FADE31',
'neon-red': '#FF0030',
'neon-light-blue': '#77e5ff',
'neon-light-green': '#85F2A1',
'neon-light-pink': '#FF7BEC',
'neon-light-yellow': '#FDE96F',
'neon-light-red': '#E34C68',
error: '#FC2F00',
success: '#439775',
warning: '#FDE96F',
},
fontFamily: {
sans: ['Mulish', ...defaultTheme.fontFamily.sans],
},
minWidth: {
6: '1.5rem',
},
zIndex: {
60: '60',
70: '70',
1000: '1000', // cause roll 20 uses z index numbers in the hundreds
},
},
},
};
// Colors, a haiku
// left blank on purpose
// we do not want to use these
// palette restricted
const colors = ['gray', 'red', 'yellow', 'green', 'blue', 'indigo', 'purple', 'pink'];
colors.forEach(color => {
for (let i = 0; i < 10; i++) {
config.theme.extend.colors[`${color}-${i}00`] =
config.theme.extend.colors[`${color}-${i}00`] || '';
}
});
module.exports = config;