feat: More styles, renames some items.

This commit is contained in:
2024-12-04 16:15:21 -05:00
parent 10119c3e51
commit 2a9b350b26
10 changed files with 198 additions and 30 deletions

View File

@@ -26,7 +26,7 @@ public struct LabelStyle<C: TextNode>: NodeModifier {
@inlinable
public func render(content: Label<C>) -> some TextNode {
var label: any TextNode = content.content
label = label.style(styles)
label = label.textStyle(styles)
if let color {
label = label.color(color)
}