Dark mode: Edit button and Explore card borders stay light #49
Labels
No labels
bug
chore
data
feature
frontend
good first issue
intermediate
needs/docs
needs/research
needs/upstream
type/bug
type/external
type/feature
type/refactor
urgency
high
urgency
immediate
urgency
low
urgency
medium
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
ScottyLabs/cal#49
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What's wrong
Two spots ignore dark mode: the "Edit Event" button in the event details modal stays light gray, and Explore result cards keep light gray borders that glare on the dark background.
How to reproduce
isAdminto true locally to check the styling.)Expected
Both use the same dark colors as the buttons and borders around them.
Where to look
web/src/app/components/ModalEvent.tsx: the Edit button usesbg-gray-200with nodark:classes. Match "Learn more" inSearchResultSidebar.tsx(dark:bg-gray-700 dark:text-white dark:hover:bg-gray-600).web/src/app/components/SearchResultSidebar.tsx: each result<li>usesborderwith no color, which in Tailwind 3 is gray-200. Add a color such asborder-gray-200 dark:border-gray-700.Done when