-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.mjs
32 lines (31 loc) · 979 Bytes
/
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
import defaultTheme from 'tailwindcss/defaultTheme'
/** @type {import('tailwindcss').Config} */
export default {
darkMode: 'class',
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
theme: {
fontSize: {
xs: ['0.75rem', '1rem'],
sm: ['1rem', '1.5rem'],
base: ['1.25rem', '1.75rem'],
lg: ['1.5rem', '2rem'],
xl: ['1.875rem', '2.25rem'],
'2xl': ['2.25rem', '2.5rem'],
'3xl': ['3rem', '3.5rem'],
'4xl': ['3.75rem', '4.25rem'],
'5xl': ['4.5rem', '5rem'],
'6xl': ['6rem', '6.5rem'],
'7xl': ['8rem', '8.5rem'],
},
extend: {
fontFamily: {
sans: ['Noto Sans', ...defaultTheme.fontFamily.sans],
},
screens: {
xs: '480px',
},
colors: {},
},
},
plugins: [require('@tailwindcss/typography')],
}