forked from open5e/open5e
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
72 lines (68 loc) · 1.83 KB
/
tailwind.config.ts
File metadata and controls
72 lines (68 loc) · 1.83 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
65
66
67
68
69
70
71
72
const zIndex: { [key: number]: string } = {};
for (let i = -1; i <= 100; i++) {
zIndex[i] = `${i}`;
}
module.exports = {
content: [
'./app/app.vue',
'./app/pages/index.vue',
'./app/pages/**/*.vue',
'./app/components/*.vue',
'./app/components/**/*.vue',
],
darkMode: 'class',
theme: {
fontFamily: {
sans: ['"Source Sans Pro"', 'sans-serif'],
serif: ['"Lora"', 'serif'],
},
extend: {
fontfamily: {
headers: ['"Lora"', 'serif'],
},
colors: {
red: {
DEFAULT: '#E74C3C', // color-fireball
50: '#FBE2DF',
100: '#F9D1CD',
200: '#F4B0A9',
300: '#F08F85',
400: '#EB6D60',
500: '#E74C3C',
600: '#D12B1A',
700: '#9F2114',
800: '#6D160D',
900: '#3B0C07',
950: '#220704',
},
fireball: '#e74c3c',
blood: '#a82315',
mana: '#166c9c',
fog: '#f4f4f4',
smoke: '#d4d4d4',
granite: '#888',
// gray: '#767676', // this conflicts with an existing tailwind class
basalt: '#333',
charcoal: '#222',
darkness: '#111',
},
// adds z-index from 1 to 100
zIndex: zIndex,
animation: {
'pulse-orange': 'pulse-orange 2s ease-in-out infinite',
'pulse-orange-dark': 'pulse-orange-dark 2s ease-in-out infinite',
},
keyframes: (theme: (path: string) => string) => ({
'pulse-orange': {
'0%, 100%': { backgroundColor: theme('colors.orange.200') },
'50%': { backgroundColor: theme('colors.orange.300') },
},
'pulse-orange-dark': {
'0%, 100%': { backgroundColor: theme('colors.orange.700') },
'50%': { backgroundColor: theme('colors.orange.600') },
},
}),
},
},
plugins: [],
};