Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion assets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
--bg-primary: #ffffff;
--bg-secondary: #f9fafb;
--text-primary: #030712; /* Darker black */
--text-secondary: #374151; /* Darker gray */
--text-secondary: #111827; /* Much deeper gray */

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

While darkening --text-secondary improves contrast, the new color #111827 is identical to --code-text (defined on line 20) and very close to --text-primary (#030712). This reduces the visual distinction between body text, inline code, and headings.

To maintain a clear visual hierarchy while still improving contrast, consider a color that is darker than the original but distinct from other text colors. For example, #1f2937 (Tailwind's gray-800) offers a high contrast ratio (9.85:1) while remaining visually distinct.

Suggested change
--text-secondary: #111827; /* Much deeper gray */
--text-secondary: #1f2937; /* Deeper gray */

--text-tertiary: #6b7280;

--border-subtle: #e5e7eb;
Expand Down