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

Multi color text #983

Open
JanVeb opened this issue Feb 4, 2022 · 1 comment
Open

Multi color text #983

JanVeb opened this issue Feb 4, 2022 · 1 comment

Comments

@JanVeb
Copy link

JanVeb commented Feb 4, 2022

Hi there, really great project, playing with it for last few hours, wanted to ask if it is possible to color text in multiple different colors.

Possible use cases: for displaying note names, when learning music, it helps if each have its own color like notes C and C# are red, notes B blue etc, could be done with having colors maped to notes in a map or similar. but from what Ive seen, setting text color is only possible in css?

Another use case is for when studying tonal language like Chinese, having Chinese characters colored according to tone in which they are pronounced, example
Uploading Screenshot-from-2018-10-04-23-38-00.png…

@lionralfs
Copy link
Collaborator

Unfortunately, I can't view your screenshot and without code I can't really help either. If you want to style your alerts differently, check out the theming section in the documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants