Skip to content

Conversation

Keerthi421
Copy link

@Keerthi421 Keerthi421 commented Jun 11, 2025

Description:

This PR implements a theme switcher feature, allowing users to toggle between light, dark, and high-contrast themes for the Flock UI and Blockly editor.

Details :

Theme Switcher UI:
Added a dropdown in the menu bar for selecting the theme (light, dark, high-contrast).
CSS Refactor:
Refactored main UI styles to use CSS variables for colors and backgrounds.
Defined variables for each theme and added .theme-light, .theme-dark, and .theme-high-contrast classes.

Closes Issue
Closes #18 (“Add support for switching between themes”)

@tracygardner
Copy link
Contributor

Thanks so much @Keerthi421. We're currently working on a fork at: https://github.com/flipcomputing/flockupdate where we're moving to babylon js 8 and updating APIs. If you could make a PR on that repo that would be really helpful! Sorry about that, I'll get everything back here as soon as I get a bit of time. Please also see: #17 which is also underway.

So happy to welcome you to this project.

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.

Add support for switching between themes
3 participants