-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathtailwind.config.js
47 lines (46 loc) · 1.21 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
/* eslint-disable */
const defaultTheme = require('tailwindcss/defaultTheme');
module.exports = {
content: [
'./src/pages/**/*.{js,jsx}',
'./src/components/**/*.{js,jsx}',
'./src/theme/**/*.{js,jsx}',
'./src/assets/**/*.{js,jsx}',
'./docs/**/**/*.{md,mdx}',
],
corePlugins: {
preflight: false,
},
theme: {
extend: {
fontFamily: {
body: ['"Open Sans"', defaultTheme.fontFamily.body],
display: ['"Lato"', defaultTheme.fontFamily.display],
mono: ['"Source Code Pro"', defaultTheme.fontFamily.mono],
},
fontSize: {
'base': '0.9375rem'
},
screens: {
lg: '997px',
},
colors: {
primary: {
DEFAULT: 'var(--docs-color-primary)',
100: 'var(--docs-color-primary-100)',
},
text: {
DEFAULT: 'var(--docs-color-text)',
100: 'var(--docs-color-text-100)',
},
border: 'var(--docs-color-border)',
background: {
DEFAULT: 'var(--docs-color-background)',
100: 'var(--docs-color-background-100)',
200: 'var(--docs-color-background-200)',
300: 'var(--docs-color-background-300)',
},
},
},
},
};