chore: migrate to payload / nextjs
This commit is contained in:
48
tailwind.config.mjs
Normal file
48
tailwind.config.mjs
Normal file
@@ -0,0 +1,48 @@
|
||||
/** @type {import('tailwindcss').Config} */
|
||||
const config = {
|
||||
theme: {
|
||||
extend: {
|
||||
typography: {
|
||||
DEFAULT: {
|
||||
css: [
|
||||
{
|
||||
'--tw-prose-body': 'var(--text)',
|
||||
'--tw-prose-headings': 'var(--text)',
|
||||
h1: {
|
||||
fontWeight: 'normal',
|
||||
marginBottom: '0.25em',
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
base: {
|
||||
css: [
|
||||
{
|
||||
h1: {
|
||||
fontSize: '2.5rem',
|
||||
},
|
||||
h2: {
|
||||
fontSize: '1.25rem',
|
||||
fontWeight: 600,
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
md: {
|
||||
css: [
|
||||
{
|
||||
h1: {
|
||||
fontSize: '3.5rem',
|
||||
},
|
||||
h2: {
|
||||
fontSize: '1.5rem',
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
export default config
|
||||
Reference in New Issue
Block a user