-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
51 lines (51 loc) · 1.86 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
module.exports = {
content: [
'./src/pages/**/*.{js,ts,jsx,tsx}',
'./src/app/**/*.{js,ts,jsx,tsx}',
'./src/components/**/*.{js,ts,jsx,tsx}',
],
darkMode: 'class', // 'media' or 'class'
theme: {
extend: {
colors: {
background: {
default: 'var(--color-background-default)',
variant: 'var(--color-background-variant)',
highlight: 'var(--color-background-highlight)',
},
onBackground: {
high: 'var(--color-on-background-high)',
medium: 'var(--color-on-background-medium)',
low: 'var(--color-on-background-low)',
},
ui: {
low: 'var(--color-ui-low)',
neutral: 'var(--color-ui-neutral)',
medium: 'var(--color-ui-medium)',
high: 'var(--color-ui-high)',
highlight: 'var(--color-ui-highlight)',
highlightHover: 'var(--color-ui-highlight-hover)',
},
onUi: {
low: 'var(--color-on-ui-low)',
medium: 'var(--color-on-ui-medium)',
high: 'var(--color-on-ui-high)',
},
onUiHighlight: {
low: 'var(--color-on-ui-highlight-low)',
medium: 'var(--color-on-uihighlight--medium)',
high: 'var(--color-on-ui-highlight-high)',
},
special: {
link: 'var(--color-special-link)',
linkHover: 'var(--color-special-link-hover)',
},
},
},
},
variants: {},
plugins: [
require('@tailwindcss/typography'),
require('@tailwindcss/forms'),
],
}