Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typograhpy - Text Formatting - Please add native support for configurable text highlighting to override native <mark> tag #42642

Open
tryngl opened this issue Jun 14, 2024 · 0 comments
Assignees
Labels
component: Typography The React component. status: waiting for maintainer These issues haven't been looked at yet by a maintainer

Comments

@tryngl
Copy link

tryngl commented Jun 14, 2024

Summary

Would like to add more native configurability in how MUI can render the 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 but would be nice to have native MUI support, which would address accessibility, color-contrast, dark/light theme automatically.

Search keywords: mark highlight

@tryngl tryngl added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Jun 14, 2024
@zannager zannager added the component: Typography The React component. label Jun 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: Typography The React component. status: waiting for maintainer These issues haven't been looked at yet by a maintainer
Projects
None yet
Development

No branches or pull requests

3 participants