Typograhpy - Text Formatting - Please add native support for configurable text highlighting to override native <mark> tag
@siriwatknp is already working on this.
Since Jun 14, 2024.
- Dominant language
- JavaScript
- Stars
- 99.1k
- Forks
- 32.5k
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 106
Description
Summary
Would like to add more native configurability in how MUI can render the "mark" html tag, in order to override the native browser support. Would be good to enable at minimum choice of color highlight background, and adding a bit of rounded corners to the highlight effect. Some considerations may apply to color-contrast and dark/light theme transitions.
Examples
No response
Motivation
We can certainly use CSS to override native browser behavior on "mark" but would be nice to have native MUI support, which would address accessibility, color-contrast, dark/light theme automatically.
Search keywords: mark highlight
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.