-
Notifications
You must be signed in to change notification settings - Fork 7
/
tailwind.config.mjs
50 lines (48 loc) · 1.22 KB
/
tailwind.config.mjs
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
48
49
50
import typography from '@tailwindcss/typography'
const navigation_height = '80px'
/** @type {import('tailwindcss').Config} */
export default {
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
theme: {
extend: {
colors: {
'white-reversed': '#282c35',
},
fontFamily: {
sans: [
'var(--font-mulish)',
'BlinkMacSystemFont',
'Segoe UI',
'Helvetica',
'Arial',
'sans-serif',
],
},
flex: {
2: '2',
},
height: {
'navigation-bar': navigation_height,
'mobile-overlay': `calc(100vh - ${navigation_height})`,
},
spacing: {
'navigation-bar': navigation_height,
},
gridTemplateColumns: {
canvas:
'[full-start] minmax(4vw,auto) [wide-start] minmax(auto,140px) [main-start] min(640px,calc(100% - 8vw)) [main-end] minmax(auto,140px) [wide-end] minmax(4vw,auto) [full-end]',
},
gridColumn: {
main: 'main-start/main-end',
wide: 'wide-start/wide-end',
},
transitionProperty: {
margin: 'margin',
},
},
},
future: {
hoverOnlyWhenSupported: true,
},
plugins: [typography],
}