-
-
Notifications
You must be signed in to change notification settings - Fork 41
Expand file tree
/
Copy pathtailwind.config.js
More file actions
27 lines (27 loc) · 935 Bytes
/
tailwind.config.js
File metadata and controls
27 lines (27 loc) · 935 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
module.exports = {
content: ['./src/**/*.{js,jsx,ts,tsx}', 'docusaurus.config.js'],
theme: {
extend: {
colors: {
primary: {
dark: 'var(--ifm-color-primary-dark)',
darker: 'var(--ifm-color-primary-darker)',
darkest: 'var(--ifm-color-primary-darkest)',
DEFAULT: 'var(--ifm-color-primary)',
light: 'var(--ifm-color-primary-light)',
lighter: 'var(--ifm-color-primary-lighter)',
lightest: 'var(--ifm-color-primary-lightest)',
},
},
},
maxWidth: {
'1/4': '25%',
'1/3': '33%',
'1/2': '300px',
'3/4': '75%',
},
},
plugins: [require('@tailwindcss/typography')],
darkMode: ['class', '[data-theme="dark"]'],
corePlugins: { preflight: false },
};