-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathtailwind.config.js
42 lines (40 loc) · 987 Bytes
/
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
import plugin from 'tailwindcss/plugin';
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./src/**/*.{js,jsx,ts,tsx}', './docs/**/*.{md,mdx}'],
darkMode: ['selector', '[data-theme="dark"]'],
theme: {
extend: {
colors: {
primary: {
default: '#A387FF', // TODO: Extract
},
success: {
default: '#00d897',
},
'alt-color': 'var(--ifm-text-alt-color)',
'accent-color': 'var(--ifm-accent-color)',
card: 'var(--ifm-card-background)',
border: 'var(--ifm-border-color)',
button: {
// TODO Extract
light: '#E9EDF2',
dark: '#252A2E',
},
input: 'var(--ifm-input-background)',
},
},
},
plugins: [
plugin(({ addUtilities }) => {
addUtilities({
'.field-sizing-content': {
'field-sizing': 'content',
},
});
}),
],
corePlugins: {
preflight: false,
},
};