[joy-ui] Allow extending the color inversion feature
@siriwatknp is already working on this.
Since Mar 18, 2024.
- Dominant language
- JavaScript
- Stars
- 99.1k
- Forks
- 32.5k
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 106
Description
Summary
The color inversion feature is incredibly neat. Unfortunately it's not clear how to override it so that I can change how font colors change during an inversion, for example.
I have overriden the theme's neutral parameters (to make them darker / lighter depending on whether light/dark is enabled).
Unfortunately, the typography's colors remain default (I believe because of how the default theme works). In other words, the colors of the text is always white.
I was hoping to be able to invert black / white for one section of the page (using <Sheet />), but it seems impossible to do with this feature currently. Please let me know if I am failing to understand something.
Examples
See above.
Motivation
Invert black & white completely
Search keywords: color inversion
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.