Skip to content

Polish Memory selects and add a Midnight dark preset for eye comfort#413

Open
quangdo126 wants to merge 1 commit intonextlevelbuilder:mainfrom
quangdo126:feat/memory-select-midnight-theme
Open

Polish Memory selects and add a Midnight dark preset for eye comfort#413
quangdo126 wants to merge 1 commit intonextlevelbuilder:mainfrom
quangdo126:feat/memory-select-midnight-theme

Conversation

@quangdo126
Copy link

Summary

  • Replaced native <select> controls in Memory page and Memory create dialog with the shared Select component for consistent spacing and styling.
  • Added a color preset selector in the top header.
  • Added a new Midnight preset that only adjusts dark-mode background/surface tokens to neutral black tones.
  • Kept light mode unchanged and preserved important semantic colors.

Why

In prolonged night-time use, the current dark palette can feel visually fatiguing because:

  • Dark surfaces still carry warm/brown chroma, which appears brighter than neutral blacks.
  • Bright layers on top of warm dark surfaces can increase perceived glare and make contrast feel harsh.
  • During long sessions (especially scanning dense forms/tables), this can increase visual adaptation load and lead to eye strain.

This change introduces a Midnight preset that only neutralizes dark-mode background/surface tones for better night comfort.

To respect the original design direction, light theme remains unchanged, and key semantic/brand colors in dark mode are intentionally preserved.

Validation

  • pnpm -C ui/web build
@mrgoonie
Copy link
Contributor

@claude review

@claude
Copy link

claude bot commented Mar 24, 2026

Claude Code is working…

I'll analyze this and get back to you.

View job run

@quangdo126 quangdo126 force-pushed the feat/memory-select-midnight-theme branch from 212f615 to afab5a9 Compare March 24, 2026 10:16
@quangdo126
Copy link
Author

Updated after rebase/conflict resolution:

  • Resolved conflicts in topbar and locale files (vi/zh).
  • Added the same Select polish to Knowledge Graph page to keep select behavior/style consistent with Memory page.
  • No backend logic changes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants