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

upgrade to bootstrap 5 #846

Merged
merged 2 commits into from
Jan 15, 2025
Merged

upgrade to bootstrap 5 #846

merged 2 commits into from
Jan 15, 2025

Conversation

npinsker
Copy link
Collaborator

@npinsker npinsker commented Jan 15, 2025

Display issues surfaced from recently upgrading react-bootstrap without a corresponding upgrade to our bootstrap version (via toggle-bootstrap, which uses bootstrap v4). toggle-bootstrap using bootstrap v5 doesn't exist, bc bootstrap v5 natively supports dark mode, so i replaced the library with vanilla.

The white tag coloring issue isn't bootstrap-related but I fixed that as well.

this caused a few more CSS issues (e.g. v5 uses css custom properties and v4 uses hard-coded constants), which i did my best to fix, but something may have slipped through -- sorry!

image image image

@npinsker npinsker force-pushed the npinsker/bootstrap-5 branch from 11b40bc to ab7428e Compare January 15, 2025 04:55
Copy link
Contributor

@rgossiaux rgossiaux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, think if we're gonna do this best to ship it tonight and then that gives at least a little time to find any ui bugs

cardboard/templates/base.html Outdated Show resolved Hide resolved
hunts/src/DarkModeToggle.tsx Outdated Show resolved Hide resolved
@npinsker npinsker force-pushed the npinsker/bootstrap-5 branch from 467e77e to 6760f74 Compare January 15, 2025 08:40
@npinsker npinsker merged commit 2a84a9b into main Jan 15, 2025
4 checks passed
@npinsker npinsker deleted the npinsker/bootstrap-5 branch January 15, 2025 08:44
@npinsker npinsker mentioned this pull request Jan 15, 2025
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.

2 participants