feat: Updating text style modifiers

This commit is contained in:
2024-12-05 14:13:47 -05:00
parent e7bbbec7c2
commit bef91c5277
4 changed files with 126 additions and 59 deletions

View File

@@ -130,10 +130,9 @@ public struct DefaultExampleSectionStyle<Style: ExampleStyle>: ExampleSectionSty
HStack {
content.title
.color(.yellow)
.textStyle(.bold)
.bold()
content.label
.textStyle(.italic)
content.label.italic()
}
}
}