Refactor dark/light colour setup
Open
@thibaudcolas is already working on this.
Since Jun 18, 2026.
- Dominant language
- Python
- Stars
- 36
- Forks
- 39
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 3
Description
Switch to css custom properties for text colours and background colours that are changed with the dark/light theme, this would remove a lot of the logic from the seperate scss components and make the codebase a lot cleaner:
I'd suggest something like defining:
--color-text;
--color-text-standout;
--color-background
--color-background-standout;
which we could then map to:
Light theme:
--color-text: $color--off-black;
--color-text-standout: $color--black;
--color-background: $color--light-grey;
--color-background-standout: $color--white;
Dark theme:
--color-text: $color--light-grey;
--color-text-standout: $color--white;
--color-background: $color--off-black;
--color-background-standout: $color--black;
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.