We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41d3c91 commit 71d5ab9Copy full SHA for 71d5ab9
src/headings.css
@@ -1,4 +1,9 @@
1
:root {
2
- --sl-text-h4: var(--sl-text-base);
3
- --sl-text-h5: var(--sl-text-base);
+ /* Reduce heading sizes from Starlight defaults */
+ --sl-text-h1: 2.25rem; /* 32px - for main titles */
4
+ --sl-text-h2: 1.5rem; /* 24px - for major sections */
5
+ --sl-text-h3: 1.25rem; /* 20px - for subsections */
6
+ --sl-text-h4: 1.125rem; /* 18px - for smaller sections */
7
+ --sl-text-h5: 1rem; /* 16px - same as base text */
8
+ --sl-text-h6: 0.875rem; /* 14px - smallest heading */
9
}
0 commit comments