ThemeShapes

public struct ThemeShapes

Undocumented

  • xs

    A shape style with 4 same-sized corners smaller than ThemeShapes.sm.

    Declaration

    Swift

    public let xs: RoundedRectangle
  • sm

    A shape style with 4 same-sized corners bigger than ThemeShapes.xs.

    Declaration

    Swift

    public let sm: RoundedRectangle
  • md

    A shape style with 4 same-sized corners bigger than ThemeShapes.sm.

    Declaration

    Swift

    public let md: RoundedRectangle
  • lg

    A shape style with 4 same-sized corners bigger than ThemeShapes.md.

    Declaration

    Swift

    public let lg: RoundedRectangle
  • xl

    A shape style with 4 same-sized corners bigger than ThemeShapes.lg.

    Declaration

    Swift

    public let xl: RoundedRectangle
  • Undocumented

    Declaration

    Swift

    public static let defaultLight: ThemeShapes
  • Undocumented

    Declaration

    Swift

    public static let defaultDark: ThemeShapes
  • Undocumented

    Declaration

    Swift

    public init(xs: RoundedRectangle, sm: RoundedRectangle, md: RoundedRectangle, lg: RoundedRectangle, xl: RoundedRectangle)
  • Returns a new ThemeShapes instance by copying the current one and applying the specified overrides.

    Only parameters you pass will be changed — others will retain existing values.

    Declaration

    Swift

    func copy(
      xs: RoundedRectangle? = nil,
      sm: RoundedRectangle? = nil,
      md: RoundedRectangle? = nil,
      lg: RoundedRectangle? = nil,
      xl: RoundedRectangle? = nil
    ) -> ThemeShapes