-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
42 lines (39 loc) · 1.06 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
const defaultTheme = require('tailwindcss/defaultTheme')
const extensions = ['js', 'ts', 'jsx', 'tsx', 'mdx']
const path = ['stories', 'pages', 'src']
const content = path.map((d) => `./${d}/**/*.{${extensions.join(',')}}`)
/** @type {import('tailwindcss').Config} */
module.exports = {
content,
theme: {
extend: {
zIndex: {
header: defaultTheme.zIndex[10],
},
spacing: {
'm-header': '3.5rem',
'pc-header': '5rem',
'm-spacing': '1rem',
'pc-spacing': '2rem',
'm-nav': defaultTheme.spacing[10],
'pc-nav': defaultTheme.spacing[14],
'nav-height': 'var(--nav-height)',
'header-height': 'var(--header-height)',
spacing: 'var(--spacing)',
},
colors: {
synthwave: {
primary: '#140628',
secondary: '#F08506',
contrastText: '#e1f9fd',
},
},
fontFamily: {
bungee: ['var(--font-bungee)'],
notoSansKR: ['var(--font-notoSansKR)'],
roboto: ['var(--font-roboto)'],
},
},
},
plugins: [],
}