Structure

PreferredColorSchemeKey

A key for specifying the preferred color scheme.

Declaration

struct PreferredColorSchemeKey

Relationships

Conforms To

See Also

Adopting View Color Schemes

func colorScheme(ColorScheme) -> View

Sets the view’s color scheme.

func preferredColorScheme(ColorScheme?) -> View

Sets the preferred color scheme for this view.

enum ColorScheme

The possible types of color schemes, like Dark Mode.