Instance Method

colorScheme(_:)

Sets this view’s color scheme.

Declaration

func colorScheme(_ colorScheme: ColorScheme) -> some View

Parameters

colorScheme

The color scheme for this view.

Return Value

A view that sets this view’s color scheme.

See Also

Adopting View Color Schemes

func accentColor(Color?) -> View

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