-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.cjs
37 lines (37 loc) · 1.23 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
36
37
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./src/**/*.{html,js,jsx,ts,tsx,md,mdx,njk,twig,vue}'],
theme: {
fontSize: {
xs: ['var(--step--2)', { lineHeight: '1rem' }],
sm: ['var(--step--1)', { lineHeight: '1.25rem' }],
base: ['var(--step-0)', { lineHeight: '1.5rem' }],
lg: ['var(--step-1)', { lineHeight: '1.75rem' }],
xl: ['var(--step-2)', { lineHeight: '1.75rem' }],
'2xl': ['var(--step-3)', { lineHeight: '2rem' }],
'3xl': ['var(--step-4)', { lineHeight: '2.25rem' }],
'4xl': ['var(--step-5)', { lineHeight: '2.5rem' }],
'5xl': ['var(--step-6)', { lineHeight: '1' }],
'6xl': ['var(--step-7)', { lineHeight: '1' }],
'7xl': ['var(--step-8)', { lineHeight: '1' }],
'8xl': ['var(--step-9)', { lineHeight: '1' }],
'9xl': ['var(--step-10)', { lineHeight: '1' }],
},
extend: {
typography: {
DEFAULT: {
css: {
fontSize: 'var(--step-0)',
a: {
'&:hover': {
color: 'var(--color-accent)',
},
},
},
},
},
},
},
plugins: [require('@tailwindcss/typography')],
// darkMode: ['class', '[data-mode="dark"]'],
}