-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.cjs
35 lines (35 loc) · 1.1 KB
/
tailwind.config.cjs
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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
theme: {
extend: {
borderRadius: {
control: '4px',
surface: '8px'
},
colors: {
background: 'var(--background)',
text: 'var(--foreground)',
'secondary': 'var(--textSecondary)',
'accent-fill': 'var(--accentFill)',
'accent-text': 'var(--accentText)',
'card-fill': 'var(--cardFill)',
'card-stroke': 'var(--cardStroke)',
'divider-stroke': 'var(--dividerStroke)',
'control-fill': 'var(--controlFill)',
'control-stroke': 'var(--controlStroke)'
},
fontSize: {
caption: ['0.85rem', '1rem'],
body: ['1rem', '1.62rem'],
h6: ['1.15rem', { lineHeight: '1.75rem', fontWeight: 600 }],
h5: ['1.35rem', { lineHeight: '1.5rem', fontWeight: 600 }],
h4: ['1.5rem', { lineHeight: '2rem', fontWeight: 600 }],
h3: ['1.6rem', { lineHeight: '2.3rem', fontWeight: 600 }],
h2: ['2rem', { lineHeight: '3.2rem', fontWeight: 600 }],
h1: ['2.4rem', { lineHeight: '3.5rem', fontWeight: 600 }]
}
}
},
plugins: []
};