Skip to content

Conversation

@fyang151
Copy link
Contributor

@fyang151 fyang151 commented Nov 5, 2025

Description

This PR adds support for light mode by:

  • Keeping colours as variables in variables.css.
  • Setting dark mode in dom before paint with new function in file themeNoFlashScript.
  • Storing our theme using Redux by creating a slice in themeSlice.ts. This is intentionally done differently than our current way of implementing Redux to serve as an example for our possible migration to RTK in the future: Update to RTK #654
  • Adding a button to toggle the theme.

Added color changes and .css variables to light mode branch

change colors later

image

@SPDonaghy SPDonaghy added the web Website team label Nov 8, 2025
@fyang151 fyang151 mentioned this pull request Nov 16, 2025
@fyang151 fyang151 marked this pull request as ready for review November 22, 2025 20:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

web Website team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

LIGHT MODE!

4 participants