forked from MineTrax/minetrax
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
93 lines (85 loc) · 2.8 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
const defaultTheme = require('tailwindcss/defaultTheme');
const colors = require('tailwindcss/colors');
module.exports = {
mode: 'jit',
purge: [
'./vendor/laravel/jetstream/**/*.blade.php',
'./storage/framework/views/*.php',
'./resources/views/**/*.blade.php',
'./resources/js/**/*.vue',
],
darkMode: 'class',
theme: {
extend: {
fontFamily: {
sans: ['Nunito', ...defaultTheme.fontFamily.sans],
},
colors: {
'light-blue': colors.sky,
'cool-gray': colors.coolGray,
'orange': colors.orange,
'lime': colors.lime,
'teal': colors.teal,
'amber': colors.amber,
'rose': colors.rose,
'theme-gray': {
100: '#dee8ea',
200: '#c4cfd1'
}
},
maxHeight: {
'0': '0',
'1/4': '25%',
'1/2': '50%',
'3/4': '75%'
},
typography: (theme) => ({
dark: {
css: {
color: theme('colors.gray.300'),
a: {
color: theme('colors.light-blue.400'),
'&:hover': {
color: theme('colors.light-blue.200'),
},
},
h1: {
color: theme('colors.gray.300'),
},
h2: {
color: theme('colors.gray.300'),
},
h3: {
color: theme('colors.gray.300'),
},
h4: {
color: theme('colors.gray.300'),
},
h5: {
color: theme('colors.gray.300'),
},
h6: {
color: theme('colors.gray.300'),
},
strong: {
color: theme('colors.gray.300'),
},
code: {
color: theme('colors.gray.300'),
},
figcaption: {
color: theme('colors.gray.500'),
},
},
},
}),
},
},
variants: {
extend: {
opacity: ['disabled'],
typography: ['dark']
},
},
plugins: [require('@tailwindcss/forms'), require('@tailwindcss/typography')],
};