BPKColor

public struct BPKColor : Sendable
  • Declaration

    Swift

    public let value: UIColor
  • Declaration

    Swift

    func darkVariant(_ darkVariant: BPKColor) -> BPKColor
  • The canvasColor dynamic color from the Backpack palette.

    Declaration

    Swift

    static let canvasColor: BPKColor
  • The canvasContrastColor dynamic color from the Backpack palette.

    Declaration

    Swift

    static let canvasContrastColor: BPKColor
  • The coreEcoColor dynamic color from the Backpack palette.

    Declaration

    Swift

    static let coreEcoColor: BPKColor
  • The coreAccentColor dynamic color from the Backpack palette.

    Declaration

    Swift

    static let coreAccentColor: BPKColor
  • The corePrimaryColor dynamic color from the Backpack palette.

    Declaration

    Swift

    static let corePrimaryColor: BPKColor
  • The statusSuccessSpotColor dynamic color from the Backpack palette.

    Declaration

    Swift

    static let statusSuccessSpotColor: BPKColor
  • The statusSuccessFillColor dynamic color from the Backpack palette.

    Declaration

    Swift

    static let statusSuccessFillColor: BPKColor
  • The statusDangerSpotColor dynamic color from the Backpack palette.

    Declaration

    Swift

    static let statusDangerSpotColor: BPKColor
  • The statusWarningSpotColor dynamic color from the Backpack palette.

    Declaration

    Swift

    static let statusWarningSpotColor: BPKColor
  • The statusDangerFillColor dynamic color from the Backpack palette.

    Declaration

    Swift

    static let statusDangerFillColor: BPKColor
  • The statusWarningFillColor dynamic color from the Backpack palette.

    Declaration

    Swift

    static let statusWarningFillColor: BPKColor
  • The surfaceHeroColor dynamic color from the Backpack palette.

    Declaration

    Swift

    static let surfaceHeroColor: BPKColor
  • The surfaceDefaultColor dynamic color from the Backpack palette.

    Declaration

    Swift

    static let surfaceDefaultColor: BPKColor
  • The surfaceContrastColor dynamic color from the Backpack palette.

    Declaration

    Swift

    static let surfaceContrastColor: BPKColor
  • The surfaceElevatedColor dynamic color from the Backpack palette.

    Declaration

    Swift

    static let surfaceElevatedColor: BPKColor
  • The surfaceSubtleColor dynamic color from the Backpack palette.

    Declaration

    Swift

    static let surfaceSubtleColor: BPKColor
  • The surfaceHighlightColor dynamic color from the Backpack palette.

    Declaration

    Swift

    static let surfaceHighlightColor: BPKColor
  • The textOnDarkColor dynamic color from the Backpack palette.

    Declaration

    Swift

    static let textOnDarkColor: BPKColor
  • The textOnLightColor dynamic color from the Backpack palette.

    Declaration

    Swift

    static let textOnLightColor: BPKColor
  • The textDisabledOnDarkColor dynamic color from the Backpack palette.

    Declaration

    Swift

    static let textDisabledOnDarkColor: BPKColor
  • The textLinkColor dynamic color from the Backpack palette.

    Declaration

    Swift

    static let textLinkColor: BPKColor
  • The textHeroColor dynamic color from the Backpack palette.

    Declaration

    Swift

    static let textHeroColor: BPKColor
  • The textDisabledColor dynamic color from the Backpack palette.

    Declaration

    Swift

    static let textDisabledColor: BPKColor
  • The textPrimaryColor dynamic color from the Backpack palette.

    Declaration

    Swift

    static let textPrimaryColor: BPKColor
  • The textQuaternaryColor dynamic color from the Backpack palette.

    Declaration

    Swift

    @available(*, deprecated, message: "This colour will be removed in the next major version")
    static let textQuaternaryColor: BPKColor
  • The textErrorColor dynamic color from the Backpack palette.

    Declaration

    Swift

    static let textErrorColor: BPKColor
  • The textTertiaryColor dynamic color from the Backpack palette.

    Declaration

    Swift

    @available(*, deprecated, message: "This colour will be removed in the next major version")
    static let textTertiaryColor: BPKColor
  • The textSecondaryColor dynamic color from the Backpack palette.

    Declaration

    Swift

    static let textSecondaryColor: BPKColor
  • The textPrimaryInverseColor dynamic color from the Backpack palette.

    Declaration

    Swift

    static let textPrimaryInverseColor: BPKColor
  • The scrimColor dynamic color from the Backpack palette.

    Declaration

    Swift

    static let scrimColor: BPKColor
  • The backgroundElevation03Color dynamic color from the Backpack palette.

    Declaration

    Swift

    @available(*, deprecated, message: "This colour will be removed in the next major version")
    static let backgroundElevation03Color: BPKColor
  • The backgroundElevation02Color dynamic color from the Backpack palette.

    Declaration

    Swift

    @available(*, deprecated, message: "This colour will be removed in the next major version")
    static let backgroundElevation02Color: BPKColor
  • The lineOnDarkColor dynamic color from the Backpack palette.

    Declaration

    Swift

    static let lineOnDarkColor: BPKColor
  • The lineColor dynamic color from the Backpack palette.

    Declaration

    Swift

    static let lineColor: BPKColor
  • The backgroundElevation01Color dynamic color from the Backpack palette.

    Declaration

    Swift

    @available(*, deprecated, message: "This colour will be removed in the next major version")
    static let backgroundElevation01Color: BPKColor
  • The backgroundAlternativeSecondaryColor dynamic color from the Backpack palette.

    Declaration

    Swift

    @available(*, deprecated, message: "This colour will be removed in the next major version")
    static let backgroundAlternativeSecondaryColor: BPKColor
  • The backgroundColor dynamic color from the Backpack palette.

    Declaration

    Swift

    @available(*, deprecated, message: "This colour will be removed in the next major version")
    static let backgroundColor: BPKColor
  • The backgroundTertiaryColor dynamic color from the Backpack palette.

    Declaration

    Swift

    @available(*, deprecated, message: "This colour will be removed in the next major version")
    static let backgroundTertiaryColor: BPKColor
  • The backgroundSecondaryColor dynamic color from the Backpack palette.

    Declaration

    Swift

    @available(*, deprecated, message: "This colour will be removed in the next major version")
    static let backgroundSecondaryColor: BPKColor
  • The backgroundAlternativeColor dynamic color from the Backpack palette.

    Declaration

    Swift

    @available(*, deprecated, message: "This colour will be removed in the next major version")
    static let backgroundAlternativeColor: BPKColor
  • The primaryColor dynamic color from the Backpack palette.

    Declaration

    Swift

    @available(*, deprecated, message: "This colour will be removed in the next major version")
    static let primaryColor: BPKColor
  • The black color from the Backpack palette - rgb(1, 9, 19)

    Declaration

    Swift

    static let black: BPKColor
  • The white color from the Backpack palette - rgb(255, 255, 255)

    Declaration

    Swift

    static let white: BPKColor
  • The skyBlue color from the Backpack palette - rgb(0, 98, 227)

    Declaration

    Swift

    static let skyBlue: BPKColor
  • The shadowSmColor color from the Backpack palette - rgb(22, 22, 22)

    Declaration

    Swift

    static let shadowSmColor: BPKColor
  • The shadowLgColor color from the Backpack palette - rgb(22, 22, 22)

    Declaration

    Swift

    static let shadowLgColor: BPKColor
  • The touchableOverlayColor color from the Backpack palette - rgb(22, 22, 22)

    Declaration

    Swift

    static let touchableOverlayColor: BPKColor