Skip to content

fix: respect dark mode in email compose/reply UI#639

Merged
hrsvrn merged 1 commit into
rowboatlabs:devfrom
hrsvrn:fix/compose-dark-mode
Jun 25, 2026
Merged

fix: respect dark mode in email compose/reply UI#639
hrsvrn merged 1 commit into
rowboatlabs:devfrom
hrsvrn:fix/compose-dark-mode

Conversation

@hrsvrn

@hrsvrn hrsvrn commented Jun 24, 2026

Copy link
Copy Markdown
Collaborator

The compose modal/card hardcoded light-mode CSS variables unconditionally (introduced in 851c3be "gmail contacts should use light mode"), overriding the theme variables inherited from .gmail-shell. As a result the reply/compose box rendered as a white card with dark text even in dark mode.

Split the single hardcoded block into theme-aware blocks following the existing .gmail-shell convention: dark values as the unprefixed default, light values under .light. Light mode is unchanged; dark mode now gets a proper dark card.

The compose modal/card hardcoded light-mode CSS variables unconditionally
(introduced in 851c3be "gmail contacts should use light mode"), overriding
the theme variables inherited from .gmail-shell. As a result the reply/compose
box rendered as a white card with dark text even in dark mode.

Split the single hardcoded block into theme-aware blocks following the existing
.gmail-shell convention: dark values as the unprefixed default, light values
under `.light`. Light mode is unchanged; dark mode now gets a proper dark card.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@hrsvrn hrsvrn merged commit 41a6a8f into rowboatlabs:dev Jun 25, 2026
2 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