Skip to content

Simplify sidebar controls and fix dark-mode contrast#10

Merged
mewc merged 1 commit into
mainfrom
ui/sidebar-controls-dark-contrast
Jul 23, 2026
Merged

Simplify sidebar controls and fix dark-mode contrast#10
mewc merged 1 commit into
mainfrom
ui/sidebar-controls-dark-contrast

Conversation

@mewc

@mewc mewc commented Jul 23, 2026

Copy link
Copy Markdown
Owner

Summary

  • Collapse theme, RSS, and GitHub into one icon-button row in the sidebar footer
  • Keep Submit/feedback and Solved something as separate full-width rows
  • Replace the Light/Dark switch with a compact sun/moon icon button
  • Brighten dark-mode tokens so hero accent, filter chips, search field, and mathbox text stay readable on near-black surfaces

Test plan

  • Open homepage in light mode: sidebar footer shows 3 icon buttons, then Submit, then Solved
  • Toggle theme via the icon button; confirm sun/moon swap and no FOUC on reload
  • Open filter popover in dark mode: category chips and stage labels are legible
  • Check Collatz mathbox in dark mode: equation text inherits light ink
  • Collapse the sidebar rail: icon row stacks, labels hide, icons remain tappable
  • Mobile drawer: same footer layout, controls remain usable

Collapse theme/RSS/GitHub into one icon-button row; keep Submit and
Solved as their own rows. Brighten dark palette tokens so hero accent,
filter chips, and mathbox text stay readable on near-black surfaces.
@vercel

vercel Bot commented Jul 23, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
math-lab Ready Ready Preview, Comment Jul 23, 2026 5:42am

@mewc
mewc merged commit 56292d9 into main Jul 23, 2026
3 checks passed
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.

1 participant