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 issue#157 #246

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

DecodersLord
Copy link

@DecodersLord DecodersLord commented Feb 11, 2025

  • ThemeContext Implemented ThemeContext to provide a light/dark theme.
  • ThemeToggleButton Added a toggle button to header
  • _app Refined the structure of Map to now utilize PrimerTheme and ThemeContext to utilize theme change easily.
  • Header Adding ThemeToggleButton to the header.
    Fixing UI with flex and div
  • Header.scss Fixing UI with flex and justify content
  • package.json Added octicons to utilize theme icons
  • global.scss utilizing react-primer's built in theming to implement light/dark mode. The global css simply applied using the themeProvider's data-color-mode
  • ColourStyles.tsx Added in order to override the react-select components to override default styles and follow current theme.
  • LanguageFilter & SDGFilter Override default react-select style with newly implemented ColourStyles.

Should Address issue #157

- ThemeContext
Implemented ThemeContext to provide a light/dark theme.
- ThemeToggleButton
Added a toggle button to header
- _app
Refined the structure of Map to now utilize PrimerTheme and ThemeContext to utilize theme change easily.
- Header
Adding ThemeToggleButton to the header.
Fixing UI with flex and div
- Header.scss
Fixing UI with flex and justify content
- package.json
Added octicons to utilize theme icons
- global.scss
utilizing react-primer's built in theming to implement light/dark mode. The global css simply applied using the themeProvider's data-color-mode
- ColourStyles.tsx
Added in order to override the react-select components to override default styles and follow current theme.
- LanguageFilter & SDGFilter
Override default react-select style with newly implemented ColourStyles.
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