Skip to content

Set color-scheme explicitly#3358

Open
tmkx wants to merge 1 commit intotemporalio:mainfrom
tmkx:fix/color-scheme
Open

Set color-scheme explicitly#3358
tmkx wants to merge 1 commit intotemporalio:mainfrom
tmkx:fix/color-scheme

Conversation

@tmkx
Copy link
Copy Markdown

@tmkx tmkx commented Apr 30, 2026

Description & motivation 💭

This PR explicitly sets the browser color-scheme based on the current app theme.

Previously, the browser's native UI rendering could infer or retain its own color scheme behavior. This change makes that behavior explicit by:

  • setting color-scheme: light when body[data-theme='light'] is active
  • setting color-scheme: dark when body[data-theme='dark'] is active

This helps align native browser-rendered UI elements with the selected theme and avoids visual inconsistencies between app styles and built-in form/control rendering.

Screenshots (if applicable) 📸

before:
image

after:
image

Design Considerations 🎨

Testing 🧪

How was this tested 👻

  • Manual testing
  • E2E tests added
  • Unit tests added

Steps for others to test: 🚶🏽‍♂️🚶🏽‍♀️

Checklists

Draft Checklist

Merge Checklist

Issue(s) closed

Docs

Any docs updates needed?

@tmkx tmkx requested a review from a team as a code owner April 30, 2026 14:04
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 30, 2026

@tmkx is attempting to deploy a commit to the Temporal Team on Vercel.

A member of the Team first needs to authorize it.

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Apr 30, 2026

CLA assistant check
All committers have signed the CLA.

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.

2 participants