Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dark mode setup themes #2411

Merged
merged 3 commits into from
Oct 3, 2024
Merged

Dark mode setup themes #2411

merged 3 commits into from
Oct 3, 2024

Conversation

shatfield4
Copy link
Collaborator

Pull Request Type

  • ✨ feat
  • πŸ› fix
  • ♻️ refactor
  • πŸ’„ style
  • πŸ”¨ chore
  • πŸ“ docs

Relevant Issues

resolves #xxx

What is in this change?

  • Implement useTheme hook to allow switching of themes
  • Implement ThemeProvider
  • Add option to switch theme under appearance settings
  • Setup tailwind generic classes to use in all our components
  • Define custom theme definitions in index.css
  • This setup creates a modular way of switching themes without making our main component css too messy
  • Uses a generic tailwind class that is controlled by css variables

Additional Information

Developer Validations

  • I ran yarn lint from the root of the repo & committed changes
  • Relevant documentation has been updated
  • I have tested my code functionality
  • Docker build succeeds locally

@shatfield4 shatfield4 self-assigned this Oct 3, 2024
@shatfield4 shatfield4 merged commit d0546a4 into dark-mode Oct 3, 2024
@shatfield4 shatfield4 deleted the dark-mode-setup-themes branch October 3, 2024 01:06
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.

1 participant