Fix button text color in dark mode
Replace some usages of $white
(which is #333
in dark mode) with $white-contrast
(which is always #fff
).
Also delete unused deprecated-adapter rule
Previously the classes like btn-info
were overriding text color on hover/focus.
How to test
- Enable Dark mode
- Go to repository, view a file
- Hover the Edit button
- Check text color
before | after |
---|---|
Edited by Simon Knox