ThemeStroke
public struct ThemeStroke
Defines the stroke widths used throughout the design system.
-
No stroke. Used when no border is needed.
Declaration
Swift
public let none: CGFloat -
Very thin stroke (1pt). Suitable for subtle outlines or hairlines.
Declaration
Swift
public let xs: CGFloat -
Thin stroke (2pt). Used for input fields or minimal borders.
Declaration
Swift
public let sm: CGFloat -
Medium stroke (4pt). Used for prominent component outlines or highlights.
Declaration
Swift
public let md: CGFloat -
Thick stroke (8pt). Used sparingly for high emphasis elements.
Declaration
Swift
public let lg: CGFloat -
The default set of stroke widths for light mode.
Declaration
Swift
public static let defaultLight: ThemeStroke -
The default set of stroke widths for dark mode.
Declaration
Swift
public static let defaultDark: ThemeStroke -
Undocumented
Declaration
Swift
public init( none: CGFloat, xs: CGFloat, sm: CGFloat, md: CGFloat, lg: CGFloat )