Skip to content

Commit 3bd95ec

Browse files
committed
fix: soften dark theme sidebar text colors to reduce eye strain
1 parent b564b51 commit 3bd95ec

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

src-mdviewer/src/styles/markdown.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@
1111
margin-inline: auto;
1212
}
1313

14+
@media (min-width: 450px) {
15+
.markdown-body {
16+
padding-inline: 70px;
17+
}
18+
}
19+
1420
/* Headings — Confluence/Atlassian scale */
1521
.markdown-body h1,
1622
.markdown-body h2,

src-mdviewer/src/styles/themes/variables.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
--font-size-content: clamp(1rem, 0.925rem + 0.25vw, 1.125rem);
1111
--line-height: 1.6;
1212
--line-height-heading: 1.25;
13-
--content-max-width: 1100px;
13+
--content-max-width: 90ch;
1414
--letter-spacing: normal;
1515

1616
/* Layout */

0 commit comments

Comments
 (0)