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

Support Multiple Styles within a TextWidgetBundle #212

Open
madamc opened this issue Jan 29, 2023 · 1 comment
Open

Support Multiple Styles within a TextWidgetBundle #212

madamc opened this issue Jan 29, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@madamc
Copy link

madamc commented Jan 29, 2023

Currently in Bevy, it is possible to render styles within a Text object. The Text struct has a 'sections' field that is an array of TextSection, which has a string and a style associated with it. This project demonstrates using the Text struct to animate the styles within the Text, allowing for a typewriter effect. There are likely other use cases for animating and rendering multiple styles in this manner (animated rainbow text, text segments emphasizing key words, etc.).

I think developers would like to leverage the features of Kayak UI along with the above capability.

@StarArawn StarArawn added the enhancement New feature or request label Mar 27, 2023
@StarArawn
Copy link
Owner

I would like to eventually start using the Cosmic Text rust library:
https://github.com/pop-os/cosmic-text

This should help solve some of these issues.

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

No branches or pull requests

2 participants