Skip to content

Add more CSS variables & implement light/dark mode button#33

Merged
SeanSan06 merged 9 commits intomainfrom
seansan06/feature/frontendToBackend
Feb 19, 2026
Merged

Add more CSS variables & implement light/dark mode button#33
SeanSan06 merged 9 commits intomainfrom
seansan06/feature/frontendToBackend

Conversation

@SeanSan06
Copy link
Owner

@SeanSan06 SeanSan06 commented Feb 19, 2026

Description

This adds more CSS variables in styles.css that will color the entire website. There is now a light and dark mode button that toggles the website between white and black. This also refactors a lot of the CSS so that the variables for light and dark mode can actually be used. This also fixes the errors that were happen with Stylelint.

Type of Change

  • New feature
  • Bug fix
  • Refactor
  • CI/CD update
  • Test
  • Other (please explain):

Checklist/Sanity Checking

  • I have run linting
  • I have run the build locally
  • I have tested my changes
  • I have updated documentation/comments if needed
  • I have updated the README if needed

This adds a light/dark theme toggle to the application, allowing users
to switch between themes. The NavBar component is now included in the
App.jsx file, ensuring it is displayed across all pages.

Additionally, the JSX structure of the pages has been organized for
better readability and maintainability.
The comments break up the CSS varaibles into sections so it is more
clear what each variable is for.
This adds more CSS selectors to home-page.css. It also updates the
CSS varaible name that is tied to tinted backgrounds for the sections on
the home page.
@SeanSan06 SeanSan06 closed this Feb 19, 2026
@SeanSan06 SeanSan06 reopened this Feb 19, 2026
@SeanSan06 SeanSan06 merged commit d64c3a3 into main Feb 19, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant