Skip to content

[codex] Add brainstorm contrast helpers#1683

Open
kien-ship-it wants to merge 1 commit into
obra:mainfrom
kien-ship-it:codex/brainstorm-contrast-guard
Open

[codex] Add brainstorm contrast helpers#1683
kien-ship-it wants to merge 1 commit into
obra:mainfrom
kien-ship-it:codex/brainstorm-contrast-guard

Conversation

@kien-ship-it

Copy link
Copy Markdown

Summary

  • add .light-surface and .dark-surface contrast helpers to the brainstorming companion frame
  • add a conservative fallback for common inline light backgrounds in fragment screens
  • document the helpers in the visual companion guide
  • cover the frame CSS with a brainstorm server integration test

Why

Fragment screens are wrapped in an OS-aware frame. In dark mode, quick mockups often use white inline backgrounds while inheriting low-contrast frame text colors, making preview cards and panels difficult to read.

Validation

  • npm ci in tests/brainstorm-server
  • npm test in tests/brainstorm-server -> 26 passed, 0 failed

@kien-ship-it kien-ship-it marked this pull request as ready for review June 4, 2026 08:59
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