forked from ConvoyPanel/panel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
66 lines (63 loc) · 2.22 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
const defaultTheme = require('tailwindcss/defaultTheme')
/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: 'class',
content: [
'./vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php',
'./storage/framework/views/*.php',
'./resources/views/**/*.blade.php',
'./resources/scripts/**/*.jsx',
'./resources/scripts/**/*.tsx',
],
theme: {
extend: {
colors: {
error: {
lighter: 'var(--color-error-lighter)',
light: 'var(--color-error-light)',
DEFAULT: 'var(--color-error)',
dark: 'var(--color-error-dark)',
},
success: {
lighter: 'var(--color-success-lighter)',
light: 'var(--color-success-light)',
DEFAULT: 'var(--color-success)',
dark: 'var(--color-success-dark)',
},
warning: {
lighter: 'var(--color-warning-lighter)',
light: 'var(--color-warning-light)',
DEFAULT: 'var(--color-warning)',
dark: 'var(--color-warning-dark)',
},
foreground: 'var(--color-foreground)',
background: 'var(--color-background)',
accent: {
100: 'var(--color-accent-1)',
200: 'var(--color-accent-2)',
300: 'var(--color-accent-3)',
400: 'var(--color-accent-4)',
500: 'var(--color-accent-5)',
600: 'var(--color-accent-6)',
700: 'var(--color-accent-7)',
800: 'var(--color-accent-8)',
},
},
fontFamily: {
sans: ['Inter', ...defaultTheme.fontFamily.sans],
},
boxShadow: {
light: '0 4px 4px 0 rgba(0,0,0,.02)',
},
screens: {
xs: '512px',
},
borderRadius: {
DEFAULT: '5px',
},
},
},
corePlugins: {
preflight: false,
},
}