paste/tailwind.config.js

31 lines
694 B
JavaScript
Raw Normal View History

2023-10-29 17:25:22 +01:00
/** @type {import('tailwindcss').Config} */
const defaultTheme = require('tailwindcss/defaultTheme')
export default {
content: ['./src/**/*.{html,js,svelte,ts}'],
theme: {
extend: {
fontFamily: {
2023-11-24 18:15:30 +01:00
mono: ['"Hack"', ...defaultTheme.fontFamily.mono],
2023-10-29 17:25:22 +01:00
},
2023-11-23 22:06:35 +01:00
typography: {
DEFAULT: {
css: {
h1: {
fontSize: '1.75rem',
marginBottom: '0.8em',
},
h2: {
fontSize: '1.5rem',
marginTop: '0rem',
marginBottom: '0.8em',
},
},
},
},
2023-10-29 17:25:22 +01:00
},
},
2023-11-23 22:06:35 +01:00
darkMode: 'class',
plugins: [require('@tailwindcss/typography')],
2023-10-29 17:25:22 +01:00
}