Don't hardcode colors
Open
@MawiraIke is already working on this.
Since May 18, 2021.
enhancement
styling
- Dominant language
- Clojure
- Stars
- 823
- Forks
- 142
- PR merge metrics
- No merged PRs in 30d
Description
For example: https://github.com/Day8/re-com/blob/master/src/re_com/modal_panel.cljs#L49 and https://github.com/Day8/re-com/blob/master/src/re_com/splits.cljs#L120
The components aren't compatible with bootstrap dark themes because of this.
IMO colors shouldn't be hardcoded. A possible middle ground could be to use classes.
(Re-com already needs its own CSS anyway.)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.