-
-
Notifications
You must be signed in to change notification settings - Fork 28
/
tailwind.config.js
111 lines (103 loc) · 3.36 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
const defaultTheme = require('tailwindcss/defaultTheme');
const colors = require('tailwindcss/colors');
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php',
'./vendor/laravel/jetstream/**/*.blade.php',
'./storage/framework/views/*.php',
'./resources/**/views/**/*.blade.php',
'./resources/**/js/**/*.vue',
'./formkit.theme.mjs'
],
darkMode: 'class',
theme: {
extend: {
keyframes: {
'scale': {
'0%': {
transform: 'scale(1,1)',
},
'50%': {
transform: 'scale(1.05,1.05)',
},
'100%': {
transform: 'scale(1,1)',
},
},
},
fontFamily: {
sans: ['Nunito', ...defaultTheme.fontFamily.sans],
},
colors: {
'light-blue': colors.sky,
'cool-gray': colors.gray,
'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'),
],
};