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

IGVF-32 Update mobile header #14

Merged
merged 8 commits into from
Mar 23, 2022
Merged

IGVF-32 Update mobile header #14

merged 8 commits into from
Mar 23, 2022

Conversation

forresttanaka
Copy link
Collaborator

Updated the mobile header to be more clear to users. I also switched Tailwind CSS to use the darkMode “class” mode instead of “media” mode so that we can do more auto-switching of styles between dark and light modes.

forresttanaka added 8 commits March 23, 2022 09:50
…le, and logo and hamburger menu to white on mobile. Change the Tailwind CSS config to use “brand-color” instead of “logo-color.”

Converted Tailwind CSS config to use a class for dark mode, and added code to sense the user changing between dark and light mode. Starting to use CSS variables for theming. Will work on theming in the next commit in this branch.

Extract code to manage dark mode Tailwind CSS classes to a library.

Add tests and mocks for the dark-mode manager.

Implement Jest tests for OS dark mode.

Remove forgotten .only() to test for more coverage.

Update package.json for the latest versions of packages. Update comments from this branch’s changes.
Add mobile menu navigation.
Add Cypress tests for the mobile menu.
Correct Cypress mobile menu test.
Only include .container class beyond mobile so that the navigation header can span across the entire viewport width.
Use light and dark themes in Tailwind configuration.
Change dark highlight color
Update navigation colors for mobile.
@forresttanaka forresttanaka merged commit 67e6929 into main Mar 23, 2022
@forresttanaka forresttanaka deleted the IGVF-32-mobile-header branch March 23, 2022 23:54
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.

None yet

1 participant