Type Property 型プロパティ

secondary

A shape style that maps to the second level of the current content style.

Declaration 宣言

static var secondary: HierarchicalShapeStyle { get }
Available when Self is HierarchicalShapeStyle.

Discussion 議論

This hierarchical style maps to the second level of the current foreground style, or to the second level of the default foreground style if you haven’t set a foreground style in the view’s environment. You typically set a foreground style by supplying a non-hierarchical style to the foregroundStyle(_:) modifier.

For information about how to use shape styles, see ShapeStyle.