-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
35 lines (33 loc) · 907 Bytes
/
Copy pathtailwind.config.js
File metadata and controls
35 lines (33 loc) · 907 Bytes
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
/** @type {import('tailwindcss').Config} */
import defaultTheme from "tailwindcss/defaultTheme"
export default {
content: [
"./index.html",
"./src/*.{js,ts,jsx,tsx}",
"./src/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
container: {
center: true,
padding: '2rem'
},
fontFamily: {
sans: ['Inter var', ...defaultTheme.fontFamily.sans]
},
// Change variable colors easily inside index.css@6
colors: {
'background': 'var(--background-color)',
'card': 'var(--card-color)',
'body': 'var(--body-color)',
'body-off': 'var(--body-off-color)',
'accent': 'var(--accent-color)',
'link': 'var(--link-color)',
'link-hover': 'var(--link-hover-color)',
'danger': 'var(--danger-color)',
'danger-hover': 'var(--danger-hover-color)',
}
},
},
plugins: [],
}