Instance Method

foregroundColor(_:)

Sets the color that the view uses for foreground elements.

Declaration

func foregroundColor(_ color: Color?) -> some View

See Also

Setting View Colors

func accentColor(Color?) -> View

Sets the accent color for the view and the views it contains.