Skip to content

Improve dark mode eye comfort and keymap keytop visibility#67

Draft
cormoran with Copilot wants to merge 2 commits into
mainfrom
copilot/improve-dark-mode-colors
Draft

Improve dark mode eye comfort and keymap keytop visibility#67
cormoran with Copilot wants to merge 2 commits into
mainfrom
copilot/improve-dark-mode-colors

Conversation

Copilot AI commented Feb 22, 2026

Copy link
Copy Markdown
Contributor

Pure black/white dark mode caused eye strain, and keytops on the keymap page were nearly invisible against the glass-card container (both used near-identical dark values).

Dark theme color palette (src/index.css)

Softened the default dark theme while preserving the cyberpunk aesthetic via a subtle purple/indigo tint:

Variable Before After
--color-bg #0a0a0a #0d0d11
--color-surface #141414 #16161e
--color-surface-elevated #1a1a1a #20202c
--color-text #ffffff #f0f0f5
--glass-bg rgba(20,20,20,0.8) rgba(22,22,30,0.85)

Keytop visibility (src/components/PhysicalKey.tsx)

Normal (unselected, unmodified) keys now use --color-surface-elevated as background and --color-border-hover as border, giving them clear visual separation from the glass-card container:

// Before
"bg-[var(--color-surface)] border-[var(--color-border)] ..."

// After
"bg-[var(--color-surface-elevated)] border-[var(--color-border-hover)] ..."

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: cormoran <7994064+cormoran@users.noreply.github.com>
Copilot AI changed the title [WIP] Refactor dark mode colors for better visibility Improve dark mode eye comfort and keymap keytop visibility Feb 22, 2026
Copilot AI requested a review from cormoran February 22, 2026 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants