-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.js
76 lines (75 loc) · 2.66 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
const defaultTheme = require('tailwindcss/defaultTheme')
/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: 'class', // Use css classes for dark mode
// variants: {}, // activate any variant you want here
plugins: [
require('@tailwindcss/forms'),
require('@tailwindcss/typography'),
require('@tailwindcss/aspect-ratio'),
],
theme: {
extend: {
fontFamily: {
sans: ['Poppins', 'Inter var', ...defaultTheme.fontFamily.sans],
},
colors: {
'dark-gray': '#1A1B1D',
primary: {
DEFAULT: 'var(--theme-color-primary)',
contrast: 'var(--theme-color-primary-contrast)',
shade: 'var(--theme-color-primary-shade)',
tint: 'var(--theme-color-primary-tint)',
},
secondary: {
DEFAULT: 'var(--theme-color-secondary)',
contrast: 'var(--theme-color-secondary-contrast)',
shade: 'var(--theme-color-secondary-shade)',
tint: 'var(--theme-color-secondary-tint)',
},
tertiary: {
DEFAULT: 'var(--theme-color-tertiary)',
contrast: 'var(--theme-color-tertiary-contrast)',
shade: 'var(--theme-color-tertiary-shade)',
tint: 'var(--theme-color-tertiary-tint)',
},
success: {
DEFAULT: 'var(--theme-color-success)',
contrast: 'var(--theme-color-success-contrast)',
shade: 'var(--theme-color-success-shade)',
tint: 'var(--theme-color-success-tint)',
},
warning: {
DEFAULT: 'var(--theme-color-warning)',
contrast: 'var(--theme-color-warning-contrast)',
shade: 'var(--theme-color-warning-shade)',
tint: 'var(--theme-color-warning-tint)',
},
danger: {
DEFAULT: 'var(--theme-color-danger)',
contrast: 'var(--theme-color-danger-contrast)',
shade: 'var(--theme-color-danger-shade)',
tint: 'var(--theme-color-danger-tint)',
},
medium: {
DEFAULT: 'var(--theme-color-medium)',
contrast: 'var(--theme-color-medium-contrast)',
shade: 'var(--theme-color-medium-shade)',
tint: 'var(--theme-color-medium-tint)',
},
light: {
DEFAULT: 'var(--theme-color-light)',
contrast: 'var(--theme-color-light-contrast)',
shade: 'var(--theme-color-light-shade)',
tint: 'var(--theme-color-light-tint)',
},
dark: {
DEFAULT: 'var(--theme-color-dark)',
contrast: 'var(--theme-color-dark-contrast)',
shade: 'var(--theme-color-dark-shade)',
tint: 'var(--theme-color-dark-tint)',
}
},
},
},
};