-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtailwind.config.js
More file actions
36 lines (36 loc) · 1.15 KB
/
tailwind.config.js
File metadata and controls
36 lines (36 loc) · 1.15 KB
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
module.exports = {
content: [
'./pages/**/*.{js,ts,jsx,tsx}',
'./components/**/*.{js,ts,jsx,tsx}',
'./sanity/serializers/**/*.{js,ts,jsx,tsx}'
],
safelist: ['link-button', 'regular-button', 'float-right', 'float-left'],
darkMode: 'class', // or 'media' or 'class'
theme: {
extend: {
backgroundColor: {
primary: 'var(--color-bg-primary)',
secondary: 'var(--color-bg-secondary)',
tertiary: 'var(--color-bg-tertiary)',
button: 'var(--color-bg-button)',
blogCard: 'var(--color-bg-blog-card)'
},
textColor: {
accent: 'var(--color-text-accent)',
primary: 'var(--color-text-primary)',
secondary: 'var(--color-text-secondary)',
nav: 'var(--color-text-nav)'
},
borderColor: {
button: 'var(--color-bg-button)',
experienceSection: 'var(--color-bg-experience-section)'
}
}
},
variants: {
extend: {
textColor: ['visited']
}
},
plugins: []
};