-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.js
118 lines (117 loc) · 2.83 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
/** @type {import('tailwindcss').Config} */
const defaultTheme = require('tailwindcss/defaultTheme')
const colors = require('tailwindcss/colors')
// prettier-ignore
module.exports = {
content: [
'./vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php',
'./storage/framework/views/*.php',
'./resources/views/**/*.blade.php',
'./resources/js/**/*.vue',
'./resources/markdown/**/*.md',
'node_modules/@indielayer/ui/**/*'
],
darkMode: 'class',
theme: {
extend: {
fontFamily: {
sans: ['Poppins', ...defaultTheme.fontFamily.sans],
ui: 'Inter',
},
typography: {
DEFAULT: {
css: {
'h1': {
'margin-top': 0
},
'h2': {
'margin-top': 0
},
'h3': {
'margin-top': 0
},
'h4': {
'margin-top': 0
}
}
}
},
colors: {
blue: {
DEFAULT: '#00B4E2',
50: '#9BEBFF',
100: '#86E6FF',
200: '#5DDEFF',
300: '#35D6FF',
400: '#0CCDFF',
500: '#00B4E2',
600: '#0087AA',
700: '#005B72',
800: '#002E3A',
900: '#000102'
},
red: {
DEFAULT: '#C53030',
50: '#EFBEBE',
100: '#EBADAD',
200: '#E38C8C',
300: '#DB6C6C',
400: '#D34B4B',
500: '#C53030',
600: '#982525',
700: '#6B1A1A',
800: '#3E0F0F',
900: '#110404'
},
orange: {
DEFAULT: '#ED8936',
50: '#FCECDF',
100: '#FAE1CC',
200: '#F7CBA6',
300: '#F4B581',
400: '#F09F5B',
500: '#ED8936',
600: '#D86C13',
700: '#A4520F',
800: '#71390A',
900: '#3D1F05'
},
primary: colors.blue,
secondary: colors.orange,
success: colors.emerald,
warning: colors.amber,
error: colors.red,
gray: colors.slate,
pink: colors.fuchsia
},
screens: {
'3xl': '1800px'
}
},
},
plugins: [
require('@tailwindcss/forms'),
require('@tailwindcss/typography')({
className: 'docs',
}),
require('@tailwindcss/aspect-ratio'),
({ addBase, config }) => {
addBase({
html: {
color: config('theme.colors.gray.900'),
backgroundColor: 'white'
},
'html.dark': {
color: config('theme.colors.gray.100'),
backgroundColor: config('theme.colors.gray.900')
},
'*, ::before, ::after': {
borderColor: colors.slate[200]
},
'.dark *, .dark ::before, .dark ::after': {
borderColor: colors.slate[600]
}
})
}
]
}