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

Having issues with changing color of one of the words in the title #92

Open
DanielSmith1239 opened this issue Oct 22, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@DanielSmith1239
Copy link

What happened?

When I try setting the color of a single word in the title, it doesn't seem to apply the color.

What are the steps to reproduce?

    private static let title = WhatsNew.Title(text: .init("What's New in "
                                                          + AttributedString(
                                                            "MyApp",
                                                            attributes: .init([.foregroundColor: Color.green])
                                                          )))

What is the expected behavior?

MyApp should be green, but it stays black.

@DanielSmith1239 DanielSmith1239 added the bug Something isn't working label Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants