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

Text input #143

Merged
merged 7 commits into from
Aug 23, 2023
Merged

Text input #143

merged 7 commits into from
Aug 23, 2023

Conversation

wash2
Copy link
Contributor

@wash2 wash2 commented Aug 17, 2023

This is almost ready. Right now it supports all of the designed text inputs, except for the animated expandable text input. But I've currently only enabled it with the wayland feature. I am a bit unsure of how to handle text with multiple colors, for example, selected text taking on_accent, while regular text would be on_component , so for now it just does one color. I'm going to look more into how I can do that, but I'm not sure if that should block this.

@mmstick
Copy link
Member

mmstick commented Aug 18, 2023

I'm fine with merging if the only concern is handling multi-color text. That's something we can add later. Is there anywhere where multi-color text input is used?

@wash2
Copy link
Contributor Author

wash2 commented Aug 18, 2023

I'm fine with merging if the only concern is handling multi-color text. That's something we can add later. Is there anywhere where multi-color text input is used?

Not really that I can think of, aside from a text input with selected text, where the highlighted text should take the on_accent color instead of the regular text color

@wash2 wash2 marked this pull request as ready for review August 23, 2023 14:59
@wash2 wash2 merged commit db8e791 into master Aug 23, 2023
8 checks passed
@wash2 wash2 deleted the text-input branch August 23, 2023 14:59
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

Successfully merging this pull request may close these issues.

2 participants