Skip to content

[Bug]: Utility Styles are not rendering correctly #1574

@dwinders

Description

@dwinders

What happened?

The style attribute is not recognizing all valid Utility Styles for an element.

  ~LVN"""
    <Text style="foregroundStyle(.blue);">Item 1</Text>
    <Text style="foregroundStyle(.red);">Item 1</Text>
    <Text style="foregroundStyle(.green);">Item 1</Text>
  """
Image

Library Version

0.4.0-rc1

Xcode Version

16.4

Swift Version

6.1.2

On which device or simulator are you running into the problem?

iPhone

Target Device Operating System Version

18.6

Relevant log output

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions