Skip to content

Conversation

@brysonbw
Copy link
Contributor

@brysonbw brysonbw commented Oct 7, 2025

Description

Changes

  • show current theme on the color theme toggle button

Additional details

Screenshots and screen recordings

Before

image

After

current-theme-display.mov

Related issues and pull requests

#507

@brysonbw brysonbw requested a review from a team as a code owner October 7, 2025 03:01
@caugner caugner changed the title fix (ui): show current theme on the color theme toggle button fix(color-theme): show current theme in dropdown button Oct 7, 2025
@caugner
Copy link
Contributor

caugner commented Oct 7, 2025

@pepelsbey Is this solution what you had in mind?

@caugner caugner added the needs content decision This issue needs a decision from the MDN Content Team before it can proceed. label Oct 7, 2025
@pepelsbey
Copy link
Member

pepelsbey commented Oct 7, 2025

Thank you your help! Unfortunately, we might need to scale back the implementation a little. In the language switcher case, the language name is sufficient to represent what this dropdown is for. I'm afraid in the theme switcher's case, "Light", "Dark", or "OS default" might not look clear enough. Let's keep the "Theme" label and the appropriate icon next to it. In the original issue I filed, I pointed out that the current value is not available for screen readers, and this is the problem we need to address.

@brysonbw
Copy link
Contributor Author

brysonbw commented Oct 8, 2025

For sure, all smooth

@caugner caugner requested a review from a team as a code owner October 23, 2025 11:46
@caugner caugner requested a review from LeoMcA October 23, 2025 11:46
@caugner
Copy link
Contributor

caugner commented Oct 23, 2025

Converting to draft awaiting @pepelsbey's feedback to be addressed.

@caugner caugner marked this pull request as draft October 23, 2025 11:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs content decision This issue needs a decision from the MDN Content Team before it can proceed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants