-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
82 lines (81 loc) · 2.91 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
const defaultTheme = require('tailwindcss/defaultTheme')
const colors = require('tailwindcss/colors')
module.exports = {
mode: "jit",
content: ['./resources/**/*.blade.php'],
darkMode: 'class', // or 'media' or false
theme: {
extend: {
fontFamily: {
sans: ['cairo', ...defaultTheme.fontFamily.sans],
},
colors: {
light: 'var(--light)',
dark: 'var(--dark)',
darker: 'var(--darker)',
primary: {
DEFAULT: 'var(--color-primary)',
50: 'var(1)',
100: 'var(--color-primary-100)',
light: 'var(--color-primary-light)',
lighter: 'var(--color-primary-lighter)',
dark: 'var(--color-primary-dark)',
darker: 'var(--color-primary-darker)',
},
secondary: {
DEFAULT: colors.fuchsia[600],
50: colors.fuchsia[50],
100: colors.fuchsia[100],
light: colors.fuchsia[500],
lighter: colors.fuchsia[400],
dark: colors.fuchsia[700],
darker: colors.fuchsia[800],
},
success: {
DEFAULT: colors.green[600],
50: colors.green[50],
100: colors.green[100],
light: colors.green[500],
lighter: colors.green[400],
dark: colors.green[700],
darker: colors.green[800],
},
warning: {
DEFAULT: colors.orange[600],
50: colors.orange[50],
100: colors.orange[100],
light: colors.orange[500],
lighter: colors.orange[400],
dark: colors.orange[700],
darker: colors.orange[800],
},
danger: {
DEFAULT: colors.red[600],
50: colors.red[50],
100: colors.red[100],
light: colors.red[500],
lighter: colors.red[400],
dark: colors.red[700],
darker: colors.red[800],
},
info: {
DEFAULT: colors.cyan[600],
50: colors.cyan[50],
100: colors.cyan[100],
light: colors.cyan[500],
lighter: colors.cyan[400],
dark: colors.cyan[700],
darker: colors.cyan[800],
},
},
},
},
variants: {
extend: {
backgroundColor: ['checked', 'disabled'],
opacity: ['dark'],
overflow: ['hover'],
},
},
plugins: [],
}