Skip to content

fix: logs view text invisible in light theme#1632

Merged
syzsunshine219 merged 1 commit into
MemTensor:mem-agent-0424from
syzsunshine219:test/hermes-plugin-0428
May 7, 2026
Merged

fix: logs view text invisible in light theme#1632
syzsunshine219 merged 1 commit into
MemTensor:mem-agent-0424from
syzsunshine219:test/hermes-plugin-0428

Conversation

@syzsunshine219
Copy link
Copy Markdown
Collaborator

@syzsunshine219 syzsunshine219 commented May 7, 2026

Summary

  • Button elements don't inherit color from parent by default (browser UA stylesheet), causing log entry text to be invisible against white background in light mode
  • Add global button { color: inherit; font: inherit; } reset in layout.css
  • Add explicit color:var(--fg) on log card buttons in LogsView.tsx

Test plan

  • Verified locally with vite dev — text visible in both light and dark themes
  • Switch to light theme in Memory Viewer → Logs page → confirm all event descriptions are readable

Button elements don't inherit color from parent by default (UA stylesheet).
Add global button reset (color:inherit; font:inherit) and explicit
color:var(--fg) on log card buttons so text is readable in both themes.

Co-authored-by: Cursor <cursoragent@cursor.com>
@syzsunshine219 syzsunshine219 merged commit 8775a28 into MemTensor:mem-agent-0424 May 7, 2026
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