mirror of
https://github.com/netbirdio/docs.git
synced 2026-04-19 00:46:35 +00:00
back to original heading style
This commit is contained in:
@@ -179,20 +179,13 @@ module.exports = ({ theme }) => ({
|
|||||||
|
|
||||||
// Headings
|
// Headings
|
||||||
h1: {
|
h1: {
|
||||||
color: 'var(--tw-prose-headings)',
|
|
||||||
fontWeight: '800',
|
|
||||||
fontSize: theme('fontSize.3xl')[0],
|
|
||||||
...theme('fontSize.2xl')[1],
|
|
||||||
marginBottom: theme('spacing.2'),
|
|
||||||
},
|
|
||||||
h2: {
|
|
||||||
color: 'var(--tw-prose-headings)',
|
color: 'var(--tw-prose-headings)',
|
||||||
fontWeight: '700',
|
fontWeight: '700',
|
||||||
fontSize: theme('fontSize.2xl')[0],
|
fontSize: theme('fontSize.2xl')[0],
|
||||||
...theme('fontSize.2xl')[1],
|
...theme('fontSize.2xl')[1],
|
||||||
marginBottom: theme('spacing.2'),
|
marginBottom: theme('spacing.2'),
|
||||||
},
|
},
|
||||||
h3: {
|
h2: {
|
||||||
color: 'var(--tw-prose-headings)',
|
color: 'var(--tw-prose-headings)',
|
||||||
fontWeight: '600',
|
fontWeight: '600',
|
||||||
fontSize: theme('fontSize.lg')[0],
|
fontSize: theme('fontSize.lg')[0],
|
||||||
@@ -200,27 +193,11 @@ module.exports = ({ theme }) => ({
|
|||||||
marginTop: theme('spacing.16'),
|
marginTop: theme('spacing.16'),
|
||||||
marginBottom: theme('spacing.2'),
|
marginBottom: theme('spacing.2'),
|
||||||
},
|
},
|
||||||
h4: {
|
h3: {
|
||||||
color: 'var(--tw-prose-headings)',
|
color: 'var(--tw-prose-headings)',
|
||||||
fontSize: theme('fontSize.base')[0],
|
fontSize: theme('fontSize.base')[0],
|
||||||
...theme('fontSize.base')[1],
|
...theme('fontSize.base')[1],
|
||||||
fontWeight: '500',
|
fontWeight: '600',
|
||||||
marginTop: theme('spacing.10'),
|
|
||||||
marginBottom: theme('spacing.2'),
|
|
||||||
},
|
|
||||||
h5: {
|
|
||||||
color: 'var(--tw-prose-headings)',
|
|
||||||
fontSize: theme('fontSize.base')[0],
|
|
||||||
...theme('fontSize.base')[1],
|
|
||||||
fontWeight: '400',
|
|
||||||
marginTop: theme('spacing.10'),
|
|
||||||
marginBottom: theme('spacing.2'),
|
|
||||||
},
|
|
||||||
h6: {
|
|
||||||
color: 'var(--tw-prose-headings)',
|
|
||||||
fontSize: theme('fontSize.base')[0],
|
|
||||||
...theme('fontSize.base')[1],
|
|
||||||
fontWeight: '300',
|
|
||||||
marginTop: theme('spacing.10'),
|
marginTop: theme('spacing.10'),
|
||||||
marginBottom: theme('spacing.2'),
|
marginBottom: theme('spacing.2'),
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user