1/** @type {import('tailwindcss').Config} */
2module.exports = {
3 content: ['./src/**/*.{js,mjs,jsx,mdx}'],
4 darkMode: 'class',
5 theme: {
6 fontSize: {
7 '2xs': ['0.75rem', { lineHeight: '1.25rem' }],
8 xs: ['0.8125rem', { lineHeight: '1.5rem' }],
9 sm: ['0.875rem', { lineHeight: '1.5rem' }],
10 base: ['1rem', { lineHeight: '1.75rem' }],
11 lg: ['1.125rem', { lineHeight: '1.75rem' }],
12 xl: ['1.25rem', { lineHeight: '1.75rem' }],
13 '2xl': ['1.5rem', { lineHeight: '2rem' }],
14 '3xl': ['1.875rem', { lineHeight: '2.25rem' }],
15 '4xl': ['2.25rem', { lineHeight: '2.5rem' }],
16 '5xl': ['3rem', { lineHeight: '1' }],
17 '6xl': ['3.75rem', { lineHeight: '1' }],
18 '7xl': ['4.5rem', { lineHeight: '1' }],
19 '8xl': ['6rem', { lineHeight: '1' }],
20 '9xl': ['8rem', { lineHeight: '1' }],
21 },
22 typography: require('./typography'),
23 extend: {
24 boxShadow: {
25 glow: '0 0 4px rgb(0 0 0 / 0.1)',
26 },
27 maxWidth: {
28 lg: '33rem',
29 '2xl': '40rem',
30 '3xl': '50rem',
31 '5xl': '66rem',
32 },
33 opacity: {
34 1: '0.01',
35 2.5: '0.025',
36 7.5: '0.075',
37 15: '0.15',
38 },
39 },
40 },
41 plugins: [require('@tailwindcss/typography')],
42}