Fixed dark mode rendering for filter by course button #52
Labels
No labels
first-task
needs/docs
needs/research
needs/upstream
type/bug
type/external
type/feature
type/refactor
urgency
high
urgency
immediate
urgency
low
urgency
medium
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
ScottyLabs/study!52
Loading…
Reference in a new issue
No description provided.
Delete branch "dsoral_ui_change"
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?
Description
The text and background for the filter by course button did not switch from light mode style when changing to dark mode. Fixed by adding a dark mode style to the css for the border, text, and background. The background and border use css variables defined in /styles/components, whereas the text inherits its color.
Also adding unit testing for the FilterBar rendering and handler calling.
Related Issue
#31
Closes #31
Type of change
Bug fix and unit tests coverage
Testing
Screenshots/Recordings
Checklist
Is it possible to make the vertical line and the down arrow on the course filter button the same gray as the rest of the outline instead of the brighter white color?
Done! It uses the same color as the border.
For future reference, add us in the reviewers section (top right), not assignees (technically, the assignee is you). I moved it already for you, but check that in the future so we don't miss the PR.
Be sure to update this branch with rebase or merge (you can use the dropdown on the right below) before making the merge commit into ui_change.