diff --git a/assets/ios/swift/CompoundDarkDesignTokens.swift b/assets/ios/swift/CompoundColorTokens.swift similarity index 88% rename from assets/ios/swift/CompoundDarkDesignTokens.swift rename to assets/ios/swift/CompoundColorTokens.swift index ed3a2873..b1ce15af 100644 --- a/assets/ios/swift/CompoundDarkDesignTokens.swift +++ b/assets/ios/swift/CompoundColorTokens.swift @@ -1,11 +1,11 @@ // -// CompoundDarkDesignTokens.swift +// CompoundColorTokens.swift // import SwiftUI -public class CompoundDarkDesignTokens { +public class CompoundColorTokens { public static let colorAlphaPink1400 = Color("colorAlphaPink1400", bundle: Bundle.module) public static let colorAlphaPink1300 = Color("colorAlphaPink1300", bundle: Bundle.module) public static let colorAlphaPink1200 = Color("colorAlphaPink1200", bundle: Bundle.module) @@ -315,56 +315,6 @@ public class CompoundDarkDesignTokens { public static let colorGray200 = Color("colorGray200", bundle: Bundle.module) public static let colorGray100 = Color("colorGray100", bundle: Bundle.module) public static let colorThemeBg = Color("colorThemeBg", bundle: Bundle.module) - public static let iconWebBrowser = Image("iconWebBrowser", bundle: Bundle.module) - public static let iconVisibilityVisible = Image("iconVisibilityVisible", bundle: Bundle.module) - public static let iconVisibilityInvisible = Image("iconVisibilityInvisible", bundle: Bundle.module) - public static let iconUser = Image("iconUser", bundle: Bundle.module) - public static let iconThread = Image("iconThread", bundle: Bundle.module) - public static let iconMobile = Image("iconMobile", bundle: Bundle.module) - public static let iconLock = Image("iconLock", bundle: Bundle.module) - public static let iconInfo = Image("iconInfo", bundle: Bundle.module) - public static let iconError = Image("iconError", bundle: Bundle.module) - public static let iconDelete = Image("iconDelete", bundle: Bundle.module) - public static let iconComputer = Image("iconComputer", bundle: Bundle.module) - public static let iconClose = Image("iconClose", bundle: Bundle.module) - public static let iconChevron = Image("iconChevron", bundle: Bundle.module) - public static let iconCheck = Image("iconCheck", bundle: Bundle.module) - public static let iconCheckCircle = Image("iconCheckCircle", bundle: Bundle.module) - public static let iconChat = Image("iconChat", bundle: Bundle.module) - public static let fontSizeHeadingXl = CGFloat(34) - public static let fontSizeHeadingLg = CGFloat(28) - public static let fontSizeHeadingMd = CGFloat(22) - public static let fontSizeHeadingSm = CGFloat(20) - public static let fontSizeBodyLg = CGFloat(17) - public static let fontSizeBodyMd = CGFloat(15) - public static let fontSizeBodySm = CGFloat(13) - public static let fontSizeBodyXs = CGFloat(12) - public static let fontLineHeightHeadingXlRegular = CGFloat(41) - public static let fontLineHeightHeadingLgRegular = CGFloat(34) - public static let fontLineHeightHeadingMdRegular = CGFloat(28) - public static let fontLineHeightHeadingSmRegular = CGFloat(25) - public static let fontLineHeightBodyLgRegular = CGFloat(22) - public static let fontLineHeightBodyMdRegular = CGFloat(20) - public static let fontLineHeightBodySmRegular = CGFloat(18) - public static let fontLineHeightBodyXsRegular = CGFloat(16) - public static let fontWeightBold = Font.Weight.regular - public static let fontWeightSemibold = Font.Weight.regular - public static let fontWeightRegular = Font.Weight.regular - public static let fontFamilyMono = "SF Mono" - public static let fontFamilySans = "SF Pro" - public static let borderWidth0_5 = CGFloat(0.5) - public static let borderWidth4 = CGFloat(4) - public static let borderWidth2 = CGFloat(2) - public static let borderWidth1 = CGFloat(1) - public static let space56X = CGFloat(224) - public static let space36X = CGFloat(144) - public static let space16X = CGFloat(64) - public static let space12X = CGFloat(48) - public static let space11X = CGFloat(44) - public static let space10X = CGFloat(40) - public static let space6X = CGFloat(24) - public static let space0X = CGFloat(0) - public static let spaceScale = CGFloat(4) public static let colorIconOnSolidPrimary = colorThemeBg public static let colorIconInfoPrimary = colorBlue900 public static let colorIconSuccessPrimary = colorGreen900 @@ -419,24 +369,4 @@ public class CompoundDarkDesignTokens { public static let colorTextPlaceholder = colorGray800 public static let colorTextSecondary = colorGray900 public static let colorTextPrimary = colorGray1400 - public static let space64X = spaceScale * 64 - public static let space48X = spaceScale * 48 - public static let space40X = spaceScale * 40 - public static let space32X = spaceScale * 32 - public static let space28X = spaceScale * 28 - public static let space24X = spaceScale * 24 - public static let space20X = spaceScale * 20 - public static let space15X = spaceScale * 15 - public static let space14X = spaceScale * 14 - public static let space13X = spaceScale * 13 - public static let space9X = spaceScale * 9 - public static let space8X = spaceScale * 8 - public static let space7X = spaceScale * 7 - public static let space5X = spaceScale * 5 - public static let space4X = spaceScale * 4 - public static let space3X = spaceScale * 3 - public static let space2X = spaceScale * 2 - public static let space1_5X = spaceScale * 1.5 - public static let space1X = spaceScale - public static let space0_5X = spaceScale * 0.5 } diff --git a/assets/ios/swift/CompoundDarkHcDesignTokens.swift b/assets/ios/swift/CompoundDarkHcDesignTokens.swift deleted file mode 100644 index dd290cad..00000000 --- a/assets/ios/swift/CompoundDarkHcDesignTokens.swift +++ /dev/null @@ -1,442 +0,0 @@ - -// -// CompoundDarkHcDesignTokens.swift -// - -import SwiftUI - -public class CompoundDarkHcDesignTokens { - public static let colorAlphaPink1400 = Color("colorAlphaPink1400", bundle: Bundle.module) - public static let colorAlphaPink1300 = Color("colorAlphaPink1300", bundle: Bundle.module) - public static let colorAlphaPink1200 = Color("colorAlphaPink1200", bundle: Bundle.module) - public static let colorAlphaPink1100 = Color("colorAlphaPink1100", bundle: Bundle.module) - public static let colorAlphaPink1000 = Color("colorAlphaPink1000", bundle: Bundle.module) - public static let colorAlphaPink900 = Color("colorAlphaPink900", bundle: Bundle.module) - public static let colorAlphaPink800 = Color("colorAlphaPink800", bundle: Bundle.module) - public static let colorAlphaPink700 = Color("colorAlphaPink700", bundle: Bundle.module) - public static let colorAlphaPink600 = Color("colorAlphaPink600", bundle: Bundle.module) - public static let colorAlphaPink500 = Color("colorAlphaPink500", bundle: Bundle.module) - public static let colorAlphaPink400 = Color("colorAlphaPink400", bundle: Bundle.module) - public static let colorAlphaPink300 = Color("colorAlphaPink300", bundle: Bundle.module) - public static let colorAlphaPink200 = Color("colorAlphaPink200", bundle: Bundle.module) - public static let colorAlphaPink100 = Color("colorAlphaPink100", bundle: Bundle.module) - public static let colorAlphaFuchsia1400 = Color("colorAlphaFuchsia1400", bundle: Bundle.module) - public static let colorAlphaFuchsia1300 = Color("colorAlphaFuchsia1300", bundle: Bundle.module) - public static let colorAlphaFuchsia1200 = Color("colorAlphaFuchsia1200", bundle: Bundle.module) - public static let colorAlphaFuchsia1100 = Color("colorAlphaFuchsia1100", bundle: Bundle.module) - public static let colorAlphaFuchsia1000 = Color("colorAlphaFuchsia1000", bundle: Bundle.module) - public static let colorAlphaFuchsia900 = Color("colorAlphaFuchsia900", bundle: Bundle.module) - public static let colorAlphaFuchsia800 = Color("colorAlphaFuchsia800", bundle: Bundle.module) - public static let colorAlphaFuchsia700 = Color("colorAlphaFuchsia700", bundle: Bundle.module) - public static let colorAlphaFuchsia600 = Color("colorAlphaFuchsia600", bundle: Bundle.module) - public static let colorAlphaFuchsia500 = Color("colorAlphaFuchsia500", bundle: Bundle.module) - public static let colorAlphaFuchsia400 = Color("colorAlphaFuchsia400", bundle: Bundle.module) - public static let colorAlphaFuchsia300 = Color("colorAlphaFuchsia300", bundle: Bundle.module) - public static let colorAlphaFuchsia200 = Color("colorAlphaFuchsia200", bundle: Bundle.module) - public static let colorAlphaFuchsia100 = Color("colorAlphaFuchsia100", bundle: Bundle.module) - public static let colorAlphaPurple1400 = Color("colorAlphaPurple1400", bundle: Bundle.module) - public static let colorAlphaPurple1300 = Color("colorAlphaPurple1300", bundle: Bundle.module) - public static let colorAlphaPurple1200 = Color("colorAlphaPurple1200", bundle: Bundle.module) - public static let colorAlphaPurple1100 = Color("colorAlphaPurple1100", bundle: Bundle.module) - public static let colorAlphaPurple1000 = Color("colorAlphaPurple1000", bundle: Bundle.module) - public static let colorAlphaPurple900 = Color("colorAlphaPurple900", bundle: Bundle.module) - public static let colorAlphaPurple800 = Color("colorAlphaPurple800", bundle: Bundle.module) - public static let colorAlphaPurple700 = Color("colorAlphaPurple700", bundle: Bundle.module) - public static let colorAlphaPurple600 = Color("colorAlphaPurple600", bundle: Bundle.module) - public static let colorAlphaPurple500 = Color("colorAlphaPurple500", bundle: Bundle.module) - public static let colorAlphaPurple400 = Color("colorAlphaPurple400", bundle: Bundle.module) - public static let colorAlphaPurple300 = Color("colorAlphaPurple300", bundle: Bundle.module) - public static let colorAlphaPurple200 = Color("colorAlphaPurple200", bundle: Bundle.module) - public static let colorAlphaPurple100 = Color("colorAlphaPurple100", bundle: Bundle.module) - public static let colorAlphaBlue1400 = Color("colorAlphaBlue1400", bundle: Bundle.module) - public static let colorAlphaBlue1300 = Color("colorAlphaBlue1300", bundle: Bundle.module) - public static let colorAlphaBlue1200 = Color("colorAlphaBlue1200", bundle: Bundle.module) - public static let colorAlphaBlue1100 = Color("colorAlphaBlue1100", bundle: Bundle.module) - public static let colorAlphaBlue1000 = Color("colorAlphaBlue1000", bundle: Bundle.module) - public static let colorAlphaBlue900 = Color("colorAlphaBlue900", bundle: Bundle.module) - public static let colorAlphaBlue800 = Color("colorAlphaBlue800", bundle: Bundle.module) - public static let colorAlphaBlue700 = Color("colorAlphaBlue700", bundle: Bundle.module) - public static let colorAlphaBlue600 = Color("colorAlphaBlue600", bundle: Bundle.module) - public static let colorAlphaBlue500 = Color("colorAlphaBlue500", bundle: Bundle.module) - public static let colorAlphaBlue400 = Color("colorAlphaBlue400", bundle: Bundle.module) - public static let colorAlphaBlue300 = Color("colorAlphaBlue300", bundle: Bundle.module) - public static let colorAlphaBlue200 = Color("colorAlphaBlue200", bundle: Bundle.module) - public static let colorAlphaBlue100 = Color("colorAlphaBlue100", bundle: Bundle.module) - public static let colorAlphaCyan1400 = Color("colorAlphaCyan1400", bundle: Bundle.module) - public static let colorAlphaCyan1300 = Color("colorAlphaCyan1300", bundle: Bundle.module) - public static let colorAlphaCyan1200 = Color("colorAlphaCyan1200", bundle: Bundle.module) - public static let colorAlphaCyan1100 = Color("colorAlphaCyan1100", bundle: Bundle.module) - public static let colorAlphaCyan1000 = Color("colorAlphaCyan1000", bundle: Bundle.module) - public static let colorAlphaCyan900 = Color("colorAlphaCyan900", bundle: Bundle.module) - public static let colorAlphaCyan800 = Color("colorAlphaCyan800", bundle: Bundle.module) - public static let colorAlphaCyan700 = Color("colorAlphaCyan700", bundle: Bundle.module) - public static let colorAlphaCyan600 = Color("colorAlphaCyan600", bundle: Bundle.module) - public static let colorAlphaCyan500 = Color("colorAlphaCyan500", bundle: Bundle.module) - public static let colorAlphaCyan400 = Color("colorAlphaCyan400", bundle: Bundle.module) - public static let colorAlphaCyan300 = Color("colorAlphaCyan300", bundle: Bundle.module) - public static let colorAlphaCyan200 = Color("colorAlphaCyan200", bundle: Bundle.module) - public static let colorAlphaCyan100 = Color("colorAlphaCyan100", bundle: Bundle.module) - public static let colorAlphaGreen1400 = Color("colorAlphaGreen1400", bundle: Bundle.module) - public static let colorAlphaGreen1300 = Color("colorAlphaGreen1300", bundle: Bundle.module) - public static let colorAlphaGreen1200 = Color("colorAlphaGreen1200", bundle: Bundle.module) - public static let colorAlphaGreen1100 = Color("colorAlphaGreen1100", bundle: Bundle.module) - public static let colorAlphaGreen1000 = Color("colorAlphaGreen1000", bundle: Bundle.module) - public static let colorAlphaGreen900 = Color("colorAlphaGreen900", bundle: Bundle.module) - public static let colorAlphaGreen800 = Color("colorAlphaGreen800", bundle: Bundle.module) - public static let colorAlphaGreen700 = Color("colorAlphaGreen700", bundle: Bundle.module) - public static let colorAlphaGreen600 = Color("colorAlphaGreen600", bundle: Bundle.module) - public static let colorAlphaGreen500 = Color("colorAlphaGreen500", bundle: Bundle.module) - public static let colorAlphaGreen400 = Color("colorAlphaGreen400", bundle: Bundle.module) - public static let colorAlphaGreen300 = Color("colorAlphaGreen300", bundle: Bundle.module) - public static let colorAlphaGreen200 = Color("colorAlphaGreen200", bundle: Bundle.module) - public static let colorAlphaGreen100 = Color("colorAlphaGreen100", bundle: Bundle.module) - public static let colorAlphaLime1400 = Color("colorAlphaLime1400", bundle: Bundle.module) - public static let colorAlphaLime1300 = Color("colorAlphaLime1300", bundle: Bundle.module) - public static let colorAlphaLime1200 = Color("colorAlphaLime1200", bundle: Bundle.module) - public static let colorAlphaLime1100 = Color("colorAlphaLime1100", bundle: Bundle.module) - public static let colorAlphaLime1000 = Color("colorAlphaLime1000", bundle: Bundle.module) - public static let colorAlphaLime900 = Color("colorAlphaLime900", bundle: Bundle.module) - public static let colorAlphaLime800 = Color("colorAlphaLime800", bundle: Bundle.module) - public static let colorAlphaLime700 = Color("colorAlphaLime700", bundle: Bundle.module) - public static let colorAlphaLime600 = Color("colorAlphaLime600", bundle: Bundle.module) - public static let colorAlphaLime500 = Color("colorAlphaLime500", bundle: Bundle.module) - public static let colorAlphaLime400 = Color("colorAlphaLime400", bundle: Bundle.module) - public static let colorAlphaLime300 = Color("colorAlphaLime300", bundle: Bundle.module) - public static let colorAlphaLime200 = Color("colorAlphaLime200", bundle: Bundle.module) - public static let colorAlphaLime100 = Color("colorAlphaLime100", bundle: Bundle.module) - public static let colorAlphaYellow1400 = Color("colorAlphaYellow1400", bundle: Bundle.module) - public static let colorAlphaYellow1300 = Color("colorAlphaYellow1300", bundle: Bundle.module) - public static let colorAlphaYellow1200 = Color("colorAlphaYellow1200", bundle: Bundle.module) - public static let colorAlphaYellow1100 = Color("colorAlphaYellow1100", bundle: Bundle.module) - public static let colorAlphaYellow1000 = Color("colorAlphaYellow1000", bundle: Bundle.module) - public static let colorAlphaYellow900 = Color("colorAlphaYellow900", bundle: Bundle.module) - public static let colorAlphaYellow800 = Color("colorAlphaYellow800", bundle: Bundle.module) - public static let colorAlphaYellow700 = Color("colorAlphaYellow700", bundle: Bundle.module) - public static let colorAlphaYellow600 = Color("colorAlphaYellow600", bundle: Bundle.module) - public static let colorAlphaYellow500 = Color("colorAlphaYellow500", bundle: Bundle.module) - public static let colorAlphaYellow400 = Color("colorAlphaYellow400", bundle: Bundle.module) - public static let colorAlphaYellow300 = Color("colorAlphaYellow300", bundle: Bundle.module) - public static let colorAlphaYellow200 = Color("colorAlphaYellow200", bundle: Bundle.module) - public static let colorAlphaYellow100 = Color("colorAlphaYellow100", bundle: Bundle.module) - public static let colorAlphaOrange1400 = Color("colorAlphaOrange1400", bundle: Bundle.module) - public static let colorAlphaOrange1300 = Color("colorAlphaOrange1300", bundle: Bundle.module) - public static let colorAlphaOrange1200 = Color("colorAlphaOrange1200", bundle: Bundle.module) - public static let colorAlphaOrange1100 = Color("colorAlphaOrange1100", bundle: Bundle.module) - public static let colorAlphaOrange1000 = Color("colorAlphaOrange1000", bundle: Bundle.module) - public static let colorAlphaOrange900 = Color("colorAlphaOrange900", bundle: Bundle.module) - public static let colorAlphaOrange800 = Color("colorAlphaOrange800", bundle: Bundle.module) - public static let colorAlphaOrange700 = Color("colorAlphaOrange700", bundle: Bundle.module) - public static let colorAlphaOrange600 = Color("colorAlphaOrange600", bundle: Bundle.module) - public static let colorAlphaOrange500 = Color("colorAlphaOrange500", bundle: Bundle.module) - public static let colorAlphaOrange400 = Color("colorAlphaOrange400", bundle: Bundle.module) - public static let colorAlphaOrange300 = Color("colorAlphaOrange300", bundle: Bundle.module) - public static let colorAlphaOrange200 = Color("colorAlphaOrange200", bundle: Bundle.module) - public static let colorAlphaOrange100 = Color("colorAlphaOrange100", bundle: Bundle.module) - public static let colorAlphaRed1400 = Color("colorAlphaRed1400", bundle: Bundle.module) - public static let colorAlphaRed1300 = Color("colorAlphaRed1300", bundle: Bundle.module) - public static let colorAlphaRed1200 = Color("colorAlphaRed1200", bundle: Bundle.module) - public static let colorAlphaRed1100 = Color("colorAlphaRed1100", bundle: Bundle.module) - public static let colorAlphaRed1000 = Color("colorAlphaRed1000", bundle: Bundle.module) - public static let colorAlphaRed900 = Color("colorAlphaRed900", bundle: Bundle.module) - public static let colorAlphaRed800 = Color("colorAlphaRed800", bundle: Bundle.module) - public static let colorAlphaRed700 = Color("colorAlphaRed700", bundle: Bundle.module) - public static let colorAlphaRed600 = Color("colorAlphaRed600", bundle: Bundle.module) - public static let colorAlphaRed500 = Color("colorAlphaRed500", bundle: Bundle.module) - public static let colorAlphaRed400 = Color("colorAlphaRed400", bundle: Bundle.module) - public static let colorAlphaRed300 = Color("colorAlphaRed300", bundle: Bundle.module) - public static let colorAlphaRed200 = Color("colorAlphaRed200", bundle: Bundle.module) - public static let colorAlphaRed100 = Color("colorAlphaRed100", bundle: Bundle.module) - public static let colorAlphaGray1400 = Color("colorAlphaGray1400", bundle: Bundle.module) - public static let colorAlphaGray1300 = Color("colorAlphaGray1300", bundle: Bundle.module) - public static let colorAlphaGray1200 = Color("colorAlphaGray1200", bundle: Bundle.module) - public static let colorAlphaGray1100 = Color("colorAlphaGray1100", bundle: Bundle.module) - public static let colorAlphaGray1000 = Color("colorAlphaGray1000", bundle: Bundle.module) - public static let colorAlphaGray900 = Color("colorAlphaGray900", bundle: Bundle.module) - public static let colorAlphaGray800 = Color("colorAlphaGray800", bundle: Bundle.module) - public static let colorAlphaGray700 = Color("colorAlphaGray700", bundle: Bundle.module) - public static let colorAlphaGray600 = Color("colorAlphaGray600", bundle: Bundle.module) - public static let colorAlphaGray500 = Color("colorAlphaGray500", bundle: Bundle.module) - public static let colorAlphaGray400 = Color("colorAlphaGray400", bundle: Bundle.module) - public static let colorAlphaGray300 = Color("colorAlphaGray300", bundle: Bundle.module) - public static let colorAlphaGray200 = Color("colorAlphaGray200", bundle: Bundle.module) - public static let colorAlphaGray100 = Color("colorAlphaGray100", bundle: Bundle.module) - public static let colorPink1400 = Color("colorPink1400", bundle: Bundle.module) - public static let colorPink1300 = Color("colorPink1300", bundle: Bundle.module) - public static let colorPink1200 = Color("colorPink1200", bundle: Bundle.module) - public static let colorPink1100 = Color("colorPink1100", bundle: Bundle.module) - public static let colorPink1000 = Color("colorPink1000", bundle: Bundle.module) - public static let colorPink900 = Color("colorPink900", bundle: Bundle.module) - public static let colorPink800 = Color("colorPink800", bundle: Bundle.module) - public static let colorPink700 = Color("colorPink700", bundle: Bundle.module) - public static let colorPink600 = Color("colorPink600", bundle: Bundle.module) - public static let colorPink500 = Color("colorPink500", bundle: Bundle.module) - public static let colorPink400 = Color("colorPink400", bundle: Bundle.module) - public static let colorPink300 = Color("colorPink300", bundle: Bundle.module) - public static let colorPink200 = Color("colorPink200", bundle: Bundle.module) - public static let colorPink100 = Color("colorPink100", bundle: Bundle.module) - public static let colorFuchsia1400 = Color("colorFuchsia1400", bundle: Bundle.module) - public static let colorFuchsia1300 = Color("colorFuchsia1300", bundle: Bundle.module) - public static let colorFuchsia1200 = Color("colorFuchsia1200", bundle: Bundle.module) - public static let colorFuchsia1100 = Color("colorFuchsia1100", bundle: Bundle.module) - public static let colorFuchsia1000 = Color("colorFuchsia1000", bundle: Bundle.module) - public static let colorFuchsia900 = Color("colorFuchsia900", bundle: Bundle.module) - public static let colorFuchsia800 = Color("colorFuchsia800", bundle: Bundle.module) - public static let colorFuchsia700 = Color("colorFuchsia700", bundle: Bundle.module) - public static let colorFuchsia600 = Color("colorFuchsia600", bundle: Bundle.module) - public static let colorFuchsia500 = Color("colorFuchsia500", bundle: Bundle.module) - public static let colorFuchsia400 = Color("colorFuchsia400", bundle: Bundle.module) - public static let colorFuchsia300 = Color("colorFuchsia300", bundle: Bundle.module) - public static let colorFuchsia200 = Color("colorFuchsia200", bundle: Bundle.module) - public static let colorFuchsia100 = Color("colorFuchsia100", bundle: Bundle.module) - public static let colorPurple1400 = Color("colorPurple1400", bundle: Bundle.module) - public static let colorPurple1300 = Color("colorPurple1300", bundle: Bundle.module) - public static let colorPurple1200 = Color("colorPurple1200", bundle: Bundle.module) - public static let colorPurple1100 = Color("colorPurple1100", bundle: Bundle.module) - public static let colorPurple1000 = Color("colorPurple1000", bundle: Bundle.module) - public static let colorPurple900 = Color("colorPurple900", bundle: Bundle.module) - public static let colorPurple800 = Color("colorPurple800", bundle: Bundle.module) - public static let colorPurple700 = Color("colorPurple700", bundle: Bundle.module) - public static let colorPurple600 = Color("colorPurple600", bundle: Bundle.module) - public static let colorPurple500 = Color("colorPurple500", bundle: Bundle.module) - public static let colorPurple400 = Color("colorPurple400", bundle: Bundle.module) - public static let colorPurple300 = Color("colorPurple300", bundle: Bundle.module) - public static let colorPurple200 = Color("colorPurple200", bundle: Bundle.module) - public static let colorPurple100 = Color("colorPurple100", bundle: Bundle.module) - public static let colorBlue1400 = Color("colorBlue1400", bundle: Bundle.module) - public static let colorBlue1300 = Color("colorBlue1300", bundle: Bundle.module) - public static let colorBlue1200 = Color("colorBlue1200", bundle: Bundle.module) - public static let colorBlue1100 = Color("colorBlue1100", bundle: Bundle.module) - public static let colorBlue1000 = Color("colorBlue1000", bundle: Bundle.module) - public static let colorBlue900 = Color("colorBlue900", bundle: Bundle.module) - public static let colorBlue800 = Color("colorBlue800", bundle: Bundle.module) - public static let colorBlue700 = Color("colorBlue700", bundle: Bundle.module) - public static let colorBlue600 = Color("colorBlue600", bundle: Bundle.module) - public static let colorBlue500 = Color("colorBlue500", bundle: Bundle.module) - public static let colorBlue400 = Color("colorBlue400", bundle: Bundle.module) - public static let colorBlue300 = Color("colorBlue300", bundle: Bundle.module) - public static let colorBlue200 = Color("colorBlue200", bundle: Bundle.module) - public static let colorBlue100 = Color("colorBlue100", bundle: Bundle.module) - public static let colorCyan1400 = Color("colorCyan1400", bundle: Bundle.module) - public static let colorCyan1300 = Color("colorCyan1300", bundle: Bundle.module) - public static let colorCyan1200 = Color("colorCyan1200", bundle: Bundle.module) - public static let colorCyan1100 = Color("colorCyan1100", bundle: Bundle.module) - public static let colorCyan1000 = Color("colorCyan1000", bundle: Bundle.module) - public static let colorCyan900 = Color("colorCyan900", bundle: Bundle.module) - public static let colorCyan800 = Color("colorCyan800", bundle: Bundle.module) - public static let colorCyan700 = Color("colorCyan700", bundle: Bundle.module) - public static let colorCyan600 = Color("colorCyan600", bundle: Bundle.module) - public static let colorCyan500 = Color("colorCyan500", bundle: Bundle.module) - public static let colorCyan400 = Color("colorCyan400", bundle: Bundle.module) - public static let colorCyan300 = Color("colorCyan300", bundle: Bundle.module) - public static let colorCyan200 = Color("colorCyan200", bundle: Bundle.module) - public static let colorCyan100 = Color("colorCyan100", bundle: Bundle.module) - public static let colorGreen1400 = Color("colorGreen1400", bundle: Bundle.module) - public static let colorGreen1300 = Color("colorGreen1300", bundle: Bundle.module) - public static let colorGreen1200 = Color("colorGreen1200", bundle: Bundle.module) - public static let colorGreen1100 = Color("colorGreen1100", bundle: Bundle.module) - public static let colorGreen1000 = Color("colorGreen1000", bundle: Bundle.module) - public static let colorGreen900 = Color("colorGreen900", bundle: Bundle.module) - public static let colorGreen800 = Color("colorGreen800", bundle: Bundle.module) - public static let colorGreen700 = Color("colorGreen700", bundle: Bundle.module) - public static let colorGreen600 = Color("colorGreen600", bundle: Bundle.module) - public static let colorGreen500 = Color("colorGreen500", bundle: Bundle.module) - public static let colorGreen400 = Color("colorGreen400", bundle: Bundle.module) - public static let colorGreen300 = Color("colorGreen300", bundle: Bundle.module) - public static let colorGreen200 = Color("colorGreen200", bundle: Bundle.module) - public static let colorGreen100 = Color("colorGreen100", bundle: Bundle.module) - public static let colorLime1400 = Color("colorLime1400", bundle: Bundle.module) - public static let colorLime1300 = Color("colorLime1300", bundle: Bundle.module) - public static let colorLime1200 = Color("colorLime1200", bundle: Bundle.module) - public static let colorLime1100 = Color("colorLime1100", bundle: Bundle.module) - public static let colorLime1000 = Color("colorLime1000", bundle: Bundle.module) - public static let colorLime900 = Color("colorLime900", bundle: Bundle.module) - public static let colorLime800 = Color("colorLime800", bundle: Bundle.module) - public static let colorLime700 = Color("colorLime700", bundle: Bundle.module) - public static let colorLime600 = Color("colorLime600", bundle: Bundle.module) - public static let colorLime500 = Color("colorLime500", bundle: Bundle.module) - public static let colorLime400 = Color("colorLime400", bundle: Bundle.module) - public static let colorLime300 = Color("colorLime300", bundle: Bundle.module) - public static let colorLime200 = Color("colorLime200", bundle: Bundle.module) - public static let colorLime100 = Color("colorLime100", bundle: Bundle.module) - public static let colorYellow1400 = Color("colorYellow1400", bundle: Bundle.module) - public static let colorYellow1300 = Color("colorYellow1300", bundle: Bundle.module) - public static let colorYellow1200 = Color("colorYellow1200", bundle: Bundle.module) - public static let colorYellow1100 = Color("colorYellow1100", bundle: Bundle.module) - public static let colorYellow1000 = Color("colorYellow1000", bundle: Bundle.module) - public static let colorYellow900 = Color("colorYellow900", bundle: Bundle.module) - public static let colorYellow800 = Color("colorYellow800", bundle: Bundle.module) - public static let colorYellow700 = Color("colorYellow700", bundle: Bundle.module) - public static let colorYellow600 = Color("colorYellow600", bundle: Bundle.module) - public static let colorYellow500 = Color("colorYellow500", bundle: Bundle.module) - public static let colorYellow400 = Color("colorYellow400", bundle: Bundle.module) - public static let colorYellow300 = Color("colorYellow300", bundle: Bundle.module) - public static let colorYellow200 = Color("colorYellow200", bundle: Bundle.module) - public static let colorYellow100 = Color("colorYellow100", bundle: Bundle.module) - public static let colorOrange1400 = Color("colorOrange1400", bundle: Bundle.module) - public static let colorOrange1300 = Color("colorOrange1300", bundle: Bundle.module) - public static let colorOrange1200 = Color("colorOrange1200", bundle: Bundle.module) - public static let colorOrange1100 = Color("colorOrange1100", bundle: Bundle.module) - public static let colorOrange1000 = Color("colorOrange1000", bundle: Bundle.module) - public static let colorOrange900 = Color("colorOrange900", bundle: Bundle.module) - public static let colorOrange800 = Color("colorOrange800", bundle: Bundle.module) - public static let colorOrange700 = Color("colorOrange700", bundle: Bundle.module) - public static let colorOrange600 = Color("colorOrange600", bundle: Bundle.module) - public static let colorOrange500 = Color("colorOrange500", bundle: Bundle.module) - public static let colorOrange400 = Color("colorOrange400", bundle: Bundle.module) - public static let colorOrange300 = Color("colorOrange300", bundle: Bundle.module) - public static let colorOrange200 = Color("colorOrange200", bundle: Bundle.module) - public static let colorOrange100 = Color("colorOrange100", bundle: Bundle.module) - public static let colorRed1400 = Color("colorRed1400", bundle: Bundle.module) - public static let colorRed1300 = Color("colorRed1300", bundle: Bundle.module) - public static let colorRed1200 = Color("colorRed1200", bundle: Bundle.module) - public static let colorRed1100 = Color("colorRed1100", bundle: Bundle.module) - public static let colorRed1000 = Color("colorRed1000", bundle: Bundle.module) - public static let colorRed900 = Color("colorRed900", bundle: Bundle.module) - public static let colorRed800 = Color("colorRed800", bundle: Bundle.module) - public static let colorRed700 = Color("colorRed700", bundle: Bundle.module) - public static let colorRed600 = Color("colorRed600", bundle: Bundle.module) - public static let colorRed500 = Color("colorRed500", bundle: Bundle.module) - public static let colorRed400 = Color("colorRed400", bundle: Bundle.module) - public static let colorRed300 = Color("colorRed300", bundle: Bundle.module) - public static let colorRed200 = Color("colorRed200", bundle: Bundle.module) - public static let colorRed100 = Color("colorRed100", bundle: Bundle.module) - public static let colorGray1400 = Color("colorGray1400", bundle: Bundle.module) - public static let colorGray1300 = Color("colorGray1300", bundle: Bundle.module) - public static let colorGray1200 = Color("colorGray1200", bundle: Bundle.module) - public static let colorGray1100 = Color("colorGray1100", bundle: Bundle.module) - public static let colorGray1000 = Color("colorGray1000", bundle: Bundle.module) - public static let colorGray900 = Color("colorGray900", bundle: Bundle.module) - public static let colorGray800 = Color("colorGray800", bundle: Bundle.module) - public static let colorGray700 = Color("colorGray700", bundle: Bundle.module) - public static let colorGray600 = Color("colorGray600", bundle: Bundle.module) - public static let colorGray500 = Color("colorGray500", bundle: Bundle.module) - public static let colorGray400 = Color("colorGray400", bundle: Bundle.module) - public static let colorGray300 = Color("colorGray300", bundle: Bundle.module) - public static let colorGray200 = Color("colorGray200", bundle: Bundle.module) - public static let colorGray100 = Color("colorGray100", bundle: Bundle.module) - public static let colorThemeBg = Color("colorThemeBg", bundle: Bundle.module) - public static let iconWebBrowser = Image("iconWebBrowser", bundle: Bundle.module) - public static let iconVisibilityVisible = Image("iconVisibilityVisible", bundle: Bundle.module) - public static let iconVisibilityInvisible = Image("iconVisibilityInvisible", bundle: Bundle.module) - public static let iconUser = Image("iconUser", bundle: Bundle.module) - public static let iconThread = Image("iconThread", bundle: Bundle.module) - public static let iconMobile = Image("iconMobile", bundle: Bundle.module) - public static let iconLock = Image("iconLock", bundle: Bundle.module) - public static let iconInfo = Image("iconInfo", bundle: Bundle.module) - public static let iconError = Image("iconError", bundle: Bundle.module) - public static let iconDelete = Image("iconDelete", bundle: Bundle.module) - public static let iconComputer = Image("iconComputer", bundle: Bundle.module) - public static let iconClose = Image("iconClose", bundle: Bundle.module) - public static let iconChevron = Image("iconChevron", bundle: Bundle.module) - public static let iconCheck = Image("iconCheck", bundle: Bundle.module) - public static let iconCheckCircle = Image("iconCheckCircle", bundle: Bundle.module) - public static let iconChat = Image("iconChat", bundle: Bundle.module) - public static let fontSizeHeadingXl = CGFloat(34) - public static let fontSizeHeadingLg = CGFloat(28) - public static let fontSizeHeadingMd = CGFloat(22) - public static let fontSizeHeadingSm = CGFloat(20) - public static let fontSizeBodyLg = CGFloat(17) - public static let fontSizeBodyMd = CGFloat(15) - public static let fontSizeBodySm = CGFloat(13) - public static let fontSizeBodyXs = CGFloat(12) - public static let fontLineHeightHeadingXlRegular = CGFloat(41) - public static let fontLineHeightHeadingLgRegular = CGFloat(34) - public static let fontLineHeightHeadingMdRegular = CGFloat(28) - public static let fontLineHeightHeadingSmRegular = CGFloat(25) - public static let fontLineHeightBodyLgRegular = CGFloat(22) - public static let fontLineHeightBodyMdRegular = CGFloat(20) - public static let fontLineHeightBodySmRegular = CGFloat(18) - public static let fontLineHeightBodyXsRegular = CGFloat(16) - public static let fontWeightBold = Font.Weight.regular - public static let fontWeightSemibold = Font.Weight.regular - public static let fontWeightRegular = Font.Weight.regular - public static let fontFamilyMono = "SF Mono" - public static let fontFamilySans = "SF Pro" - public static let borderWidth0_5 = CGFloat(0.5) - public static let borderWidth4 = CGFloat(4) - public static let borderWidth2 = CGFloat(2) - public static let borderWidth1 = CGFloat(1) - public static let space56X = CGFloat(224) - public static let space36X = CGFloat(144) - public static let space16X = CGFloat(64) - public static let space12X = CGFloat(48) - public static let space11X = CGFloat(44) - public static let space10X = CGFloat(40) - public static let space6X = CGFloat(24) - public static let space0X = CGFloat(0) - public static let spaceScale = CGFloat(4) - public static let colorIconOnSolidPrimary = colorThemeBg - public static let colorIconInfoPrimary = colorBlue900 - public static let colorIconSuccessPrimary = colorGreen900 - public static let colorIconCriticalPrimary = colorRed900 - public static let colorIconAccentTertiary = colorGreen800 - public static let colorIconQuaternaryAlpha = colorAlphaGray700 - public static let colorIconTertiaryAlpha = colorAlphaGray800 - public static let colorIconSecondaryAlpha = colorAlphaGray900 - public static let colorIconPrimaryAlpha = colorAlphaGray1400 - public static let colorIconDisabled = colorGray700 - public static let colorIconQuaternary = colorGray700 - public static let colorIconTertiary = colorGray800 - public static let colorIconSecondary = colorGray900 - public static let colorIconPrimary = colorGray1400 - public static let colorBorderInfoSubtle = colorBlue500 - public static let colorBorderSuccessSubtle = colorGreen500 - public static let colorBorderCriticalSubtle = colorRed500 - public static let colorBorderCriticalHovered = colorRed1000 - public static let colorBorderCriticalPrimary = colorRed900 - public static let colorBorderInteractiveHovered = colorGray1100 - public static let colorBorderInteractiveSecondary = colorGray600 - public static let colorBorderInteractivePrimary = colorGray800 - public static let colorBorderFocused = colorBlue900 - public static let colorBorderDisabled = colorGray500 - public static let colorBgSubtleSecondaryLevel0 = colorThemeBg - public static let colorBgInfoSubtle = colorBlue200 - public static let colorBgSuccessSubtle = colorGreen200 - public static let colorBgCriticalSubtleHovered = colorRed300 - public static let colorBgCriticalSubtle = colorRed200 - public static let colorBgCriticalHovered = colorRed1000 - public static let colorBgCriticalPrimary = colorRed900 - public static let colorBgActionSecondaryPressed = colorAlphaGray300 - public static let colorBgActionSecondaryHovered = colorAlphaGray200 - public static let colorBgActionSecondaryRest = colorThemeBg - public static let colorBgActionPrimaryDisabled = colorGray700 - public static let colorBgActionPrimaryPressed = colorGray1100 - public static let colorBgActionPrimaryHovered = colorGray1200 - public static let colorBgActionPrimaryRest = colorGray1400 - public static let colorBgCanvasDefaultLevel1 = colorGray300 - public static let colorBgCanvasDisabled = colorGray200 - public static let colorBgCanvasDefault = colorThemeBg - public static let colorBgSubtleSecondary = colorGray300 - public static let colorBgSubtlePrimary = colorGray400 - public static let colorTextOnSolidPrimary = colorThemeBg - public static let colorTextInfoPrimary = colorBlue900 - public static let colorTextSuccessPrimary = colorGreen900 - public static let colorTextCriticalPrimary = colorRed900 - public static let colorTextLinkExternal = colorBlue900 - public static let colorTextActionAccent = colorGreen900 - public static let colorTextActionPrimary = colorGray1400 - public static let colorTextDisabled = colorGray800 - public static let colorTextPlaceholder = colorGray800 - public static let colorTextSecondary = colorGray900 - public static let colorTextPrimary = colorGray1400 - public static let space64X = spaceScale * 64 - public static let space48X = spaceScale * 48 - public static let space40X = spaceScale * 40 - public static let space32X = spaceScale * 32 - public static let space28X = spaceScale * 28 - public static let space24X = spaceScale * 24 - public static let space20X = spaceScale * 20 - public static let space15X = spaceScale * 15 - public static let space14X = spaceScale * 14 - public static let space13X = spaceScale * 13 - public static let space9X = spaceScale * 9 - public static let space8X = spaceScale * 8 - public static let space7X = spaceScale * 7 - public static let space5X = spaceScale * 5 - public static let space4X = spaceScale * 4 - public static let space3X = spaceScale * 3 - public static let space2X = spaceScale * 2 - public static let space1_5X = spaceScale * 1.5 - public static let space1X = spaceScale - public static let space0_5X = spaceScale * 0.5 -} diff --git a/assets/ios/swift/CompoundDesignTokens.swift b/assets/ios/swift/CompoundDesignTokens.swift new file mode 100644 index 00000000..9dc2072c --- /dev/null +++ b/assets/ios/swift/CompoundDesignTokens.swift @@ -0,0 +1,63 @@ + +// +// CompoundDesignTokens.swift +// + +import SwiftUI + +public class CompoundDesignTokens { + public static let fontSizeHeadingXl = CGFloat(34) + public static let fontSizeHeadingLg = CGFloat(28) + public static let fontSizeHeadingMd = CGFloat(22) + public static let fontSizeHeadingSm = CGFloat(20) + public static let fontSizeBodyLg = CGFloat(17) + public static let fontSizeBodyMd = CGFloat(15) + public static let fontSizeBodySm = CGFloat(13) + public static let fontSizeBodyXs = CGFloat(12) + public static let fontLineHeightHeadingXlRegular = CGFloat(41) + public static let fontLineHeightHeadingLgRegular = CGFloat(34) + public static let fontLineHeightHeadingMdRegular = CGFloat(28) + public static let fontLineHeightHeadingSmRegular = CGFloat(25) + public static let fontLineHeightBodyLgRegular = CGFloat(22) + public static let fontLineHeightBodyMdRegular = CGFloat(20) + public static let fontLineHeightBodySmRegular = CGFloat(18) + public static let fontLineHeightBodyXsRegular = CGFloat(16) + public static let fontWeightBold = Font.Weight.regular + public static let fontWeightSemibold = Font.Weight.regular + public static let fontWeightRegular = Font.Weight.regular + public static let fontFamilyMono = "SF Mono" + public static let fontFamilySans = "SF Pro" + public static let borderWidth0_5 = CGFloat(0.5) + public static let borderWidth4 = CGFloat(4) + public static let borderWidth2 = CGFloat(2) + public static let borderWidth1 = CGFloat(1) + public static let space56X = CGFloat(224) + public static let space36X = CGFloat(144) + public static let space16X = CGFloat(64) + public static let space12X = CGFloat(48) + public static let space11X = CGFloat(44) + public static let space10X = CGFloat(40) + public static let space6X = CGFloat(24) + public static let space0X = CGFloat(0) + public static let spaceScale = CGFloat(4) + public static let space64X = spaceScale * 64 + public static let space48X = spaceScale * 48 + public static let space40X = spaceScale * 40 + public static let space32X = spaceScale * 32 + public static let space28X = spaceScale * 28 + public static let space24X = spaceScale * 24 + public static let space20X = spaceScale * 20 + public static let space15X = spaceScale * 15 + public static let space14X = spaceScale * 14 + public static let space13X = spaceScale * 13 + public static let space9X = spaceScale * 9 + public static let space8X = spaceScale * 8 + public static let space7X = spaceScale * 7 + public static let space5X = spaceScale * 5 + public static let space4X = spaceScale * 4 + public static let space3X = spaceScale * 3 + public static let space2X = spaceScale * 2 + public static let space1_5X = spaceScale * 1.5 + public static let space1X = spaceScale + public static let space0_5X = spaceScale * 0.5 +} diff --git a/assets/ios/swift/CompoundIconTokens.swift b/assets/ios/swift/CompoundIconTokens.swift new file mode 100644 index 00000000..6d29a997 --- /dev/null +++ b/assets/ios/swift/CompoundIconTokens.swift @@ -0,0 +1,25 @@ + +// +// CompoundIconTokens.swift +// + +import SwiftUI + +public class CompoundIconTokens { + public static let iconWebBrowser = Image("iconWebBrowser", bundle: Bundle.module) + public static let iconVisibilityVisible = Image("iconVisibilityVisible", bundle: Bundle.module) + public static let iconVisibilityInvisible = Image("iconVisibilityInvisible", bundle: Bundle.module) + public static let iconUser = Image("iconUser", bundle: Bundle.module) + public static let iconThread = Image("iconThread", bundle: Bundle.module) + public static let iconMobile = Image("iconMobile", bundle: Bundle.module) + public static let iconLock = Image("iconLock", bundle: Bundle.module) + public static let iconInfo = Image("iconInfo", bundle: Bundle.module) + public static let iconError = Image("iconError", bundle: Bundle.module) + public static let iconDelete = Image("iconDelete", bundle: Bundle.module) + public static let iconComputer = Image("iconComputer", bundle: Bundle.module) + public static let iconClose = Image("iconClose", bundle: Bundle.module) + public static let iconChevron = Image("iconChevron", bundle: Bundle.module) + public static let iconCheck = Image("iconCheck", bundle: Bundle.module) + public static let iconCheckCircle = Image("iconCheckCircle", bundle: Bundle.module) + public static let iconChat = Image("iconChat", bundle: Bundle.module) +} diff --git a/assets/ios/swift/CompoundLightDesignTokens.swift b/assets/ios/swift/CompoundLightDesignTokens.swift deleted file mode 100644 index 9b28380f..00000000 --- a/assets/ios/swift/CompoundLightDesignTokens.swift +++ /dev/null @@ -1,442 +0,0 @@ - -// -// CompoundLightDesignTokens.swift -// - -import SwiftUI - -public class CompoundLightDesignTokens { - public static let colorAlphaPink1400 = Color("colorAlphaPink1400", bundle: Bundle.module) - public static let colorAlphaPink1300 = Color("colorAlphaPink1300", bundle: Bundle.module) - public static let colorAlphaPink1200 = Color("colorAlphaPink1200", bundle: Bundle.module) - public static let colorAlphaPink1100 = Color("colorAlphaPink1100", bundle: Bundle.module) - public static let colorAlphaPink1000 = Color("colorAlphaPink1000", bundle: Bundle.module) - public static let colorAlphaPink900 = Color("colorAlphaPink900", bundle: Bundle.module) - public static let colorAlphaPink800 = Color("colorAlphaPink800", bundle: Bundle.module) - public static let colorAlphaPink700 = Color("colorAlphaPink700", bundle: Bundle.module) - public static let colorAlphaPink600 = Color("colorAlphaPink600", bundle: Bundle.module) - public static let colorAlphaPink500 = Color("colorAlphaPink500", bundle: Bundle.module) - public static let colorAlphaPink400 = Color("colorAlphaPink400", bundle: Bundle.module) - public static let colorAlphaPink300 = Color("colorAlphaPink300", bundle: Bundle.module) - public static let colorAlphaPink200 = Color("colorAlphaPink200", bundle: Bundle.module) - public static let colorAlphaPink100 = Color("colorAlphaPink100", bundle: Bundle.module) - public static let colorAlphaFuchsia1400 = Color("colorAlphaFuchsia1400", bundle: Bundle.module) - public static let colorAlphaFuchsia1300 = Color("colorAlphaFuchsia1300", bundle: Bundle.module) - public static let colorAlphaFuchsia1200 = Color("colorAlphaFuchsia1200", bundle: Bundle.module) - public static let colorAlphaFuchsia1100 = Color("colorAlphaFuchsia1100", bundle: Bundle.module) - public static let colorAlphaFuchsia1000 = Color("colorAlphaFuchsia1000", bundle: Bundle.module) - public static let colorAlphaFuchsia900 = Color("colorAlphaFuchsia900", bundle: Bundle.module) - public static let colorAlphaFuchsia800 = Color("colorAlphaFuchsia800", bundle: Bundle.module) - public static let colorAlphaFuchsia700 = Color("colorAlphaFuchsia700", bundle: Bundle.module) - public static let colorAlphaFuchsia600 = Color("colorAlphaFuchsia600", bundle: Bundle.module) - public static let colorAlphaFuchsia500 = Color("colorAlphaFuchsia500", bundle: Bundle.module) - public static let colorAlphaFuchsia400 = Color("colorAlphaFuchsia400", bundle: Bundle.module) - public static let colorAlphaFuchsia300 = Color("colorAlphaFuchsia300", bundle: Bundle.module) - public static let colorAlphaFuchsia200 = Color("colorAlphaFuchsia200", bundle: Bundle.module) - public static let colorAlphaFuchsia100 = Color("colorAlphaFuchsia100", bundle: Bundle.module) - public static let colorAlphaPurple1400 = Color("colorAlphaPurple1400", bundle: Bundle.module) - public static let colorAlphaPurple1300 = Color("colorAlphaPurple1300", bundle: Bundle.module) - public static let colorAlphaPurple1200 = Color("colorAlphaPurple1200", bundle: Bundle.module) - public static let colorAlphaPurple1100 = Color("colorAlphaPurple1100", bundle: Bundle.module) - public static let colorAlphaPurple1000 = Color("colorAlphaPurple1000", bundle: Bundle.module) - public static let colorAlphaPurple900 = Color("colorAlphaPurple900", bundle: Bundle.module) - public static let colorAlphaPurple800 = Color("colorAlphaPurple800", bundle: Bundle.module) - public static let colorAlphaPurple700 = Color("colorAlphaPurple700", bundle: Bundle.module) - public static let colorAlphaPurple600 = Color("colorAlphaPurple600", bundle: Bundle.module) - public static let colorAlphaPurple500 = Color("colorAlphaPurple500", bundle: Bundle.module) - public static let colorAlphaPurple400 = Color("colorAlphaPurple400", bundle: Bundle.module) - public static let colorAlphaPurple300 = Color("colorAlphaPurple300", bundle: Bundle.module) - public static let colorAlphaPurple200 = Color("colorAlphaPurple200", bundle: Bundle.module) - public static let colorAlphaPurple100 = Color("colorAlphaPurple100", bundle: Bundle.module) - public static let colorAlphaBlue1400 = Color("colorAlphaBlue1400", bundle: Bundle.module) - public static let colorAlphaBlue1300 = Color("colorAlphaBlue1300", bundle: Bundle.module) - public static let colorAlphaBlue1200 = Color("colorAlphaBlue1200", bundle: Bundle.module) - public static let colorAlphaBlue1100 = Color("colorAlphaBlue1100", bundle: Bundle.module) - public static let colorAlphaBlue1000 = Color("colorAlphaBlue1000", bundle: Bundle.module) - public static let colorAlphaBlue900 = Color("colorAlphaBlue900", bundle: Bundle.module) - public static let colorAlphaBlue800 = Color("colorAlphaBlue800", bundle: Bundle.module) - public static let colorAlphaBlue700 = Color("colorAlphaBlue700", bundle: Bundle.module) - public static let colorAlphaBlue600 = Color("colorAlphaBlue600", bundle: Bundle.module) - public static let colorAlphaBlue500 = Color("colorAlphaBlue500", bundle: Bundle.module) - public static let colorAlphaBlue400 = Color("colorAlphaBlue400", bundle: Bundle.module) - public static let colorAlphaBlue300 = Color("colorAlphaBlue300", bundle: Bundle.module) - public static let colorAlphaBlue200 = Color("colorAlphaBlue200", bundle: Bundle.module) - public static let colorAlphaBlue100 = Color("colorAlphaBlue100", bundle: Bundle.module) - public static let colorAlphaCyan1400 = Color("colorAlphaCyan1400", bundle: Bundle.module) - public static let colorAlphaCyan1300 = Color("colorAlphaCyan1300", bundle: Bundle.module) - public static let colorAlphaCyan1200 = Color("colorAlphaCyan1200", bundle: Bundle.module) - public static let colorAlphaCyan1100 = Color("colorAlphaCyan1100", bundle: Bundle.module) - public static let colorAlphaCyan1000 = Color("colorAlphaCyan1000", bundle: Bundle.module) - public static let colorAlphaCyan900 = Color("colorAlphaCyan900", bundle: Bundle.module) - public static let colorAlphaCyan800 = Color("colorAlphaCyan800", bundle: Bundle.module) - public static let colorAlphaCyan700 = Color("colorAlphaCyan700", bundle: Bundle.module) - public static let colorAlphaCyan600 = Color("colorAlphaCyan600", bundle: Bundle.module) - public static let colorAlphaCyan500 = Color("colorAlphaCyan500", bundle: Bundle.module) - public static let colorAlphaCyan400 = Color("colorAlphaCyan400", bundle: Bundle.module) - public static let colorAlphaCyan300 = Color("colorAlphaCyan300", bundle: Bundle.module) - public static let colorAlphaCyan200 = Color("colorAlphaCyan200", bundle: Bundle.module) - public static let colorAlphaCyan100 = Color("colorAlphaCyan100", bundle: Bundle.module) - public static let colorAlphaGreen1400 = Color("colorAlphaGreen1400", bundle: Bundle.module) - public static let colorAlphaGreen1300 = Color("colorAlphaGreen1300", bundle: Bundle.module) - public static let colorAlphaGreen1200 = Color("colorAlphaGreen1200", bundle: Bundle.module) - public static let colorAlphaGreen1100 = Color("colorAlphaGreen1100", bundle: Bundle.module) - public static let colorAlphaGreen1000 = Color("colorAlphaGreen1000", bundle: Bundle.module) - public static let colorAlphaGreen900 = Color("colorAlphaGreen900", bundle: Bundle.module) - public static let colorAlphaGreen800 = Color("colorAlphaGreen800", bundle: Bundle.module) - public static let colorAlphaGreen700 = Color("colorAlphaGreen700", bundle: Bundle.module) - public static let colorAlphaGreen600 = Color("colorAlphaGreen600", bundle: Bundle.module) - public static let colorAlphaGreen500 = Color("colorAlphaGreen500", bundle: Bundle.module) - public static let colorAlphaGreen400 = Color("colorAlphaGreen400", bundle: Bundle.module) - public static let colorAlphaGreen300 = Color("colorAlphaGreen300", bundle: Bundle.module) - public static let colorAlphaGreen200 = Color("colorAlphaGreen200", bundle: Bundle.module) - public static let colorAlphaGreen100 = Color("colorAlphaGreen100", bundle: Bundle.module) - public static let colorAlphaLime1400 = Color("colorAlphaLime1400", bundle: Bundle.module) - public static let colorAlphaLime1300 = Color("colorAlphaLime1300", bundle: Bundle.module) - public static let colorAlphaLime1200 = Color("colorAlphaLime1200", bundle: Bundle.module) - public static let colorAlphaLime1100 = Color("colorAlphaLime1100", bundle: Bundle.module) - public static let colorAlphaLime1000 = Color("colorAlphaLime1000", bundle: Bundle.module) - public static let colorAlphaLime900 = Color("colorAlphaLime900", bundle: Bundle.module) - public static let colorAlphaLime800 = Color("colorAlphaLime800", bundle: Bundle.module) - public static let colorAlphaLime700 = Color("colorAlphaLime700", bundle: Bundle.module) - public static let colorAlphaLime600 = Color("colorAlphaLime600", bundle: Bundle.module) - public static let colorAlphaLime500 = Color("colorAlphaLime500", bundle: Bundle.module) - public static let colorAlphaLime400 = Color("colorAlphaLime400", bundle: Bundle.module) - public static let colorAlphaLime300 = Color("colorAlphaLime300", bundle: Bundle.module) - public static let colorAlphaLime200 = Color("colorAlphaLime200", bundle: Bundle.module) - public static let colorAlphaLime100 = Color("colorAlphaLime100", bundle: Bundle.module) - public static let colorAlphaYellow1400 = Color("colorAlphaYellow1400", bundle: Bundle.module) - public static let colorAlphaYellow1300 = Color("colorAlphaYellow1300", bundle: Bundle.module) - public static let colorAlphaYellow1200 = Color("colorAlphaYellow1200", bundle: Bundle.module) - public static let colorAlphaYellow1100 = Color("colorAlphaYellow1100", bundle: Bundle.module) - public static let colorAlphaYellow1000 = Color("colorAlphaYellow1000", bundle: Bundle.module) - public static let colorAlphaYellow900 = Color("colorAlphaYellow900", bundle: Bundle.module) - public static let colorAlphaYellow800 = Color("colorAlphaYellow800", bundle: Bundle.module) - public static let colorAlphaYellow700 = Color("colorAlphaYellow700", bundle: Bundle.module) - public static let colorAlphaYellow600 = Color("colorAlphaYellow600", bundle: Bundle.module) - public static let colorAlphaYellow500 = Color("colorAlphaYellow500", bundle: Bundle.module) - public static let colorAlphaYellow400 = Color("colorAlphaYellow400", bundle: Bundle.module) - public static let colorAlphaYellow300 = Color("colorAlphaYellow300", bundle: Bundle.module) - public static let colorAlphaYellow200 = Color("colorAlphaYellow200", bundle: Bundle.module) - public static let colorAlphaYellow100 = Color("colorAlphaYellow100", bundle: Bundle.module) - public static let colorAlphaOrange1400 = Color("colorAlphaOrange1400", bundle: Bundle.module) - public static let colorAlphaOrange1300 = Color("colorAlphaOrange1300", bundle: Bundle.module) - public static let colorAlphaOrange1200 = Color("colorAlphaOrange1200", bundle: Bundle.module) - public static let colorAlphaOrange1100 = Color("colorAlphaOrange1100", bundle: Bundle.module) - public static let colorAlphaOrange1000 = Color("colorAlphaOrange1000", bundle: Bundle.module) - public static let colorAlphaOrange900 = Color("colorAlphaOrange900", bundle: Bundle.module) - public static let colorAlphaOrange800 = Color("colorAlphaOrange800", bundle: Bundle.module) - public static let colorAlphaOrange700 = Color("colorAlphaOrange700", bundle: Bundle.module) - public static let colorAlphaOrange600 = Color("colorAlphaOrange600", bundle: Bundle.module) - public static let colorAlphaOrange500 = Color("colorAlphaOrange500", bundle: Bundle.module) - public static let colorAlphaOrange400 = Color("colorAlphaOrange400", bundle: Bundle.module) - public static let colorAlphaOrange300 = Color("colorAlphaOrange300", bundle: Bundle.module) - public static let colorAlphaOrange200 = Color("colorAlphaOrange200", bundle: Bundle.module) - public static let colorAlphaOrange100 = Color("colorAlphaOrange100", bundle: Bundle.module) - public static let colorAlphaRed1400 = Color("colorAlphaRed1400", bundle: Bundle.module) - public static let colorAlphaRed1300 = Color("colorAlphaRed1300", bundle: Bundle.module) - public static let colorAlphaRed1200 = Color("colorAlphaRed1200", bundle: Bundle.module) - public static let colorAlphaRed1100 = Color("colorAlphaRed1100", bundle: Bundle.module) - public static let colorAlphaRed1000 = Color("colorAlphaRed1000", bundle: Bundle.module) - public static let colorAlphaRed900 = Color("colorAlphaRed900", bundle: Bundle.module) - public static let colorAlphaRed800 = Color("colorAlphaRed800", bundle: Bundle.module) - public static let colorAlphaRed700 = Color("colorAlphaRed700", bundle: Bundle.module) - public static let colorAlphaRed600 = Color("colorAlphaRed600", bundle: Bundle.module) - public static let colorAlphaRed500 = Color("colorAlphaRed500", bundle: Bundle.module) - public static let colorAlphaRed400 = Color("colorAlphaRed400", bundle: Bundle.module) - public static let colorAlphaRed300 = Color("colorAlphaRed300", bundle: Bundle.module) - public static let colorAlphaRed200 = Color("colorAlphaRed200", bundle: Bundle.module) - public static let colorAlphaRed100 = Color("colorAlphaRed100", bundle: Bundle.module) - public static let colorAlphaGray1400 = Color("colorAlphaGray1400", bundle: Bundle.module) - public static let colorAlphaGray1300 = Color("colorAlphaGray1300", bundle: Bundle.module) - public static let colorAlphaGray1200 = Color("colorAlphaGray1200", bundle: Bundle.module) - public static let colorAlphaGray1100 = Color("colorAlphaGray1100", bundle: Bundle.module) - public static let colorAlphaGray1000 = Color("colorAlphaGray1000", bundle: Bundle.module) - public static let colorAlphaGray900 = Color("colorAlphaGray900", bundle: Bundle.module) - public static let colorAlphaGray800 = Color("colorAlphaGray800", bundle: Bundle.module) - public static let colorAlphaGray700 = Color("colorAlphaGray700", bundle: Bundle.module) - public static let colorAlphaGray600 = Color("colorAlphaGray600", bundle: Bundle.module) - public static let colorAlphaGray500 = Color("colorAlphaGray500", bundle: Bundle.module) - public static let colorAlphaGray400 = Color("colorAlphaGray400", bundle: Bundle.module) - public static let colorAlphaGray300 = Color("colorAlphaGray300", bundle: Bundle.module) - public static let colorAlphaGray200 = Color("colorAlphaGray200", bundle: Bundle.module) - public static let colorAlphaGray100 = Color("colorAlphaGray100", bundle: Bundle.module) - public static let colorPink1400 = Color("colorPink1400", bundle: Bundle.module) - public static let colorPink1300 = Color("colorPink1300", bundle: Bundle.module) - public static let colorPink1200 = Color("colorPink1200", bundle: Bundle.module) - public static let colorPink1100 = Color("colorPink1100", bundle: Bundle.module) - public static let colorPink1000 = Color("colorPink1000", bundle: Bundle.module) - public static let colorPink900 = Color("colorPink900", bundle: Bundle.module) - public static let colorPink800 = Color("colorPink800", bundle: Bundle.module) - public static let colorPink700 = Color("colorPink700", bundle: Bundle.module) - public static let colorPink600 = Color("colorPink600", bundle: Bundle.module) - public static let colorPink500 = Color("colorPink500", bundle: Bundle.module) - public static let colorPink400 = Color("colorPink400", bundle: Bundle.module) - public static let colorPink300 = Color("colorPink300", bundle: Bundle.module) - public static let colorPink200 = Color("colorPink200", bundle: Bundle.module) - public static let colorPink100 = Color("colorPink100", bundle: Bundle.module) - public static let colorFuchsia1400 = Color("colorFuchsia1400", bundle: Bundle.module) - public static let colorFuchsia1300 = Color("colorFuchsia1300", bundle: Bundle.module) - public static let colorFuchsia1200 = Color("colorFuchsia1200", bundle: Bundle.module) - public static let colorFuchsia1100 = Color("colorFuchsia1100", bundle: Bundle.module) - public static let colorFuchsia1000 = Color("colorFuchsia1000", bundle: Bundle.module) - public static let colorFuchsia900 = Color("colorFuchsia900", bundle: Bundle.module) - public static let colorFuchsia800 = Color("colorFuchsia800", bundle: Bundle.module) - public static let colorFuchsia700 = Color("colorFuchsia700", bundle: Bundle.module) - public static let colorFuchsia600 = Color("colorFuchsia600", bundle: Bundle.module) - public static let colorFuchsia500 = Color("colorFuchsia500", bundle: Bundle.module) - public static let colorFuchsia400 = Color("colorFuchsia400", bundle: Bundle.module) - public static let colorFuchsia300 = Color("colorFuchsia300", bundle: Bundle.module) - public static let colorFuchsia200 = Color("colorFuchsia200", bundle: Bundle.module) - public static let colorFuchsia100 = Color("colorFuchsia100", bundle: Bundle.module) - public static let colorPurple1400 = Color("colorPurple1400", bundle: Bundle.module) - public static let colorPurple1300 = Color("colorPurple1300", bundle: Bundle.module) - public static let colorPurple1200 = Color("colorPurple1200", bundle: Bundle.module) - public static let colorPurple1100 = Color("colorPurple1100", bundle: Bundle.module) - public static let colorPurple1000 = Color("colorPurple1000", bundle: Bundle.module) - public static let colorPurple900 = Color("colorPurple900", bundle: Bundle.module) - public static let colorPurple800 = Color("colorPurple800", bundle: Bundle.module) - public static let colorPurple700 = Color("colorPurple700", bundle: Bundle.module) - public static let colorPurple600 = Color("colorPurple600", bundle: Bundle.module) - public static let colorPurple500 = Color("colorPurple500", bundle: Bundle.module) - public static let colorPurple400 = Color("colorPurple400", bundle: Bundle.module) - public static let colorPurple300 = Color("colorPurple300", bundle: Bundle.module) - public static let colorPurple200 = Color("colorPurple200", bundle: Bundle.module) - public static let colorPurple100 = Color("colorPurple100", bundle: Bundle.module) - public static let colorBlue1400 = Color("colorBlue1400", bundle: Bundle.module) - public static let colorBlue1300 = Color("colorBlue1300", bundle: Bundle.module) - public static let colorBlue1200 = Color("colorBlue1200", bundle: Bundle.module) - public static let colorBlue1100 = Color("colorBlue1100", bundle: Bundle.module) - public static let colorBlue1000 = Color("colorBlue1000", bundle: Bundle.module) - public static let colorBlue900 = Color("colorBlue900", bundle: Bundle.module) - public static let colorBlue800 = Color("colorBlue800", bundle: Bundle.module) - public static let colorBlue700 = Color("colorBlue700", bundle: Bundle.module) - public static let colorBlue600 = Color("colorBlue600", bundle: Bundle.module) - public static let colorBlue500 = Color("colorBlue500", bundle: Bundle.module) - public static let colorBlue400 = Color("colorBlue400", bundle: Bundle.module) - public static let colorBlue300 = Color("colorBlue300", bundle: Bundle.module) - public static let colorBlue200 = Color("colorBlue200", bundle: Bundle.module) - public static let colorBlue100 = Color("colorBlue100", bundle: Bundle.module) - public static let colorCyan1400 = Color("colorCyan1400", bundle: Bundle.module) - public static let colorCyan1300 = Color("colorCyan1300", bundle: Bundle.module) - public static let colorCyan1200 = Color("colorCyan1200", bundle: Bundle.module) - public static let colorCyan1100 = Color("colorCyan1100", bundle: Bundle.module) - public static let colorCyan1000 = Color("colorCyan1000", bundle: Bundle.module) - public static let colorCyan900 = Color("colorCyan900", bundle: Bundle.module) - public static let colorCyan800 = Color("colorCyan800", bundle: Bundle.module) - public static let colorCyan700 = Color("colorCyan700", bundle: Bundle.module) - public static let colorCyan600 = Color("colorCyan600", bundle: Bundle.module) - public static let colorCyan500 = Color("colorCyan500", bundle: Bundle.module) - public static let colorCyan400 = Color("colorCyan400", bundle: Bundle.module) - public static let colorCyan300 = Color("colorCyan300", bundle: Bundle.module) - public static let colorCyan200 = Color("colorCyan200", bundle: Bundle.module) - public static let colorCyan100 = Color("colorCyan100", bundle: Bundle.module) - public static let colorGreen1400 = Color("colorGreen1400", bundle: Bundle.module) - public static let colorGreen1300 = Color("colorGreen1300", bundle: Bundle.module) - public static let colorGreen1200 = Color("colorGreen1200", bundle: Bundle.module) - public static let colorGreen1100 = Color("colorGreen1100", bundle: Bundle.module) - public static let colorGreen1000 = Color("colorGreen1000", bundle: Bundle.module) - public static let colorGreen900 = Color("colorGreen900", bundle: Bundle.module) - public static let colorGreen800 = Color("colorGreen800", bundle: Bundle.module) - public static let colorGreen700 = Color("colorGreen700", bundle: Bundle.module) - public static let colorGreen600 = Color("colorGreen600", bundle: Bundle.module) - public static let colorGreen500 = Color("colorGreen500", bundle: Bundle.module) - public static let colorGreen400 = Color("colorGreen400", bundle: Bundle.module) - public static let colorGreen300 = Color("colorGreen300", bundle: Bundle.module) - public static let colorGreen200 = Color("colorGreen200", bundle: Bundle.module) - public static let colorGreen100 = Color("colorGreen100", bundle: Bundle.module) - public static let colorLime1400 = Color("colorLime1400", bundle: Bundle.module) - public static let colorLime1300 = Color("colorLime1300", bundle: Bundle.module) - public static let colorLime1200 = Color("colorLime1200", bundle: Bundle.module) - public static let colorLime1100 = Color("colorLime1100", bundle: Bundle.module) - public static let colorLime1000 = Color("colorLime1000", bundle: Bundle.module) - public static let colorLime900 = Color("colorLime900", bundle: Bundle.module) - public static let colorLime800 = Color("colorLime800", bundle: Bundle.module) - public static let colorLime700 = Color("colorLime700", bundle: Bundle.module) - public static let colorLime600 = Color("colorLime600", bundle: Bundle.module) - public static let colorLime500 = Color("colorLime500", bundle: Bundle.module) - public static let colorLime400 = Color("colorLime400", bundle: Bundle.module) - public static let colorLime300 = Color("colorLime300", bundle: Bundle.module) - public static let colorLime200 = Color("colorLime200", bundle: Bundle.module) - public static let colorLime100 = Color("colorLime100", bundle: Bundle.module) - public static let colorYellow1400 = Color("colorYellow1400", bundle: Bundle.module) - public static let colorYellow1300 = Color("colorYellow1300", bundle: Bundle.module) - public static let colorYellow1200 = Color("colorYellow1200", bundle: Bundle.module) - public static let colorYellow1100 = Color("colorYellow1100", bundle: Bundle.module) - public static let colorYellow1000 = Color("colorYellow1000", bundle: Bundle.module) - public static let colorYellow900 = Color("colorYellow900", bundle: Bundle.module) - public static let colorYellow800 = Color("colorYellow800", bundle: Bundle.module) - public static let colorYellow700 = Color("colorYellow700", bundle: Bundle.module) - public static let colorYellow600 = Color("colorYellow600", bundle: Bundle.module) - public static let colorYellow500 = Color("colorYellow500", bundle: Bundle.module) - public static let colorYellow400 = Color("colorYellow400", bundle: Bundle.module) - public static let colorYellow300 = Color("colorYellow300", bundle: Bundle.module) - public static let colorYellow200 = Color("colorYellow200", bundle: Bundle.module) - public static let colorYellow100 = Color("colorYellow100", bundle: Bundle.module) - public static let colorOrange1400 = Color("colorOrange1400", bundle: Bundle.module) - public static let colorOrange1300 = Color("colorOrange1300", bundle: Bundle.module) - public static let colorOrange1200 = Color("colorOrange1200", bundle: Bundle.module) - public static let colorOrange1100 = Color("colorOrange1100", bundle: Bundle.module) - public static let colorOrange1000 = Color("colorOrange1000", bundle: Bundle.module) - public static let colorOrange900 = Color("colorOrange900", bundle: Bundle.module) - public static let colorOrange800 = Color("colorOrange800", bundle: Bundle.module) - public static let colorOrange700 = Color("colorOrange700", bundle: Bundle.module) - public static let colorOrange600 = Color("colorOrange600", bundle: Bundle.module) - public static let colorOrange500 = Color("colorOrange500", bundle: Bundle.module) - public static let colorOrange400 = Color("colorOrange400", bundle: Bundle.module) - public static let colorOrange300 = Color("colorOrange300", bundle: Bundle.module) - public static let colorOrange200 = Color("colorOrange200", bundle: Bundle.module) - public static let colorOrange100 = Color("colorOrange100", bundle: Bundle.module) - public static let colorRed1400 = Color("colorRed1400", bundle: Bundle.module) - public static let colorRed1300 = Color("colorRed1300", bundle: Bundle.module) - public static let colorRed1200 = Color("colorRed1200", bundle: Bundle.module) - public static let colorRed1100 = Color("colorRed1100", bundle: Bundle.module) - public static let colorRed1000 = Color("colorRed1000", bundle: Bundle.module) - public static let colorRed900 = Color("colorRed900", bundle: Bundle.module) - public static let colorRed800 = Color("colorRed800", bundle: Bundle.module) - public static let colorRed700 = Color("colorRed700", bundle: Bundle.module) - public static let colorRed600 = Color("colorRed600", bundle: Bundle.module) - public static let colorRed500 = Color("colorRed500", bundle: Bundle.module) - public static let colorRed400 = Color("colorRed400", bundle: Bundle.module) - public static let colorRed300 = Color("colorRed300", bundle: Bundle.module) - public static let colorRed200 = Color("colorRed200", bundle: Bundle.module) - public static let colorRed100 = Color("colorRed100", bundle: Bundle.module) - public static let colorGray1400 = Color("colorGray1400", bundle: Bundle.module) - public static let colorGray1300 = Color("colorGray1300", bundle: Bundle.module) - public static let colorGray1200 = Color("colorGray1200", bundle: Bundle.module) - public static let colorGray1100 = Color("colorGray1100", bundle: Bundle.module) - public static let colorGray1000 = Color("colorGray1000", bundle: Bundle.module) - public static let colorGray900 = Color("colorGray900", bundle: Bundle.module) - public static let colorGray800 = Color("colorGray800", bundle: Bundle.module) - public static let colorGray700 = Color("colorGray700", bundle: Bundle.module) - public static let colorGray600 = Color("colorGray600", bundle: Bundle.module) - public static let colorGray500 = Color("colorGray500", bundle: Bundle.module) - public static let colorGray400 = Color("colorGray400", bundle: Bundle.module) - public static let colorGray300 = Color("colorGray300", bundle: Bundle.module) - public static let colorGray200 = Color("colorGray200", bundle: Bundle.module) - public static let colorGray100 = Color("colorGray100", bundle: Bundle.module) - public static let colorThemeBg = Color("colorThemeBg", bundle: Bundle.module) - public static let iconWebBrowser = Image("iconWebBrowser", bundle: Bundle.module) - public static let iconVisibilityVisible = Image("iconVisibilityVisible", bundle: Bundle.module) - public static let iconVisibilityInvisible = Image("iconVisibilityInvisible", bundle: Bundle.module) - public static let iconUser = Image("iconUser", bundle: Bundle.module) - public static let iconThread = Image("iconThread", bundle: Bundle.module) - public static let iconMobile = Image("iconMobile", bundle: Bundle.module) - public static let iconLock = Image("iconLock", bundle: Bundle.module) - public static let iconInfo = Image("iconInfo", bundle: Bundle.module) - public static let iconError = Image("iconError", bundle: Bundle.module) - public static let iconDelete = Image("iconDelete", bundle: Bundle.module) - public static let iconComputer = Image("iconComputer", bundle: Bundle.module) - public static let iconClose = Image("iconClose", bundle: Bundle.module) - public static let iconChevron = Image("iconChevron", bundle: Bundle.module) - public static let iconCheck = Image("iconCheck", bundle: Bundle.module) - public static let iconCheckCircle = Image("iconCheckCircle", bundle: Bundle.module) - public static let iconChat = Image("iconChat", bundle: Bundle.module) - public static let fontSizeHeadingXl = CGFloat(34) - public static let fontSizeHeadingLg = CGFloat(28) - public static let fontSizeHeadingMd = CGFloat(22) - public static let fontSizeHeadingSm = CGFloat(20) - public static let fontSizeBodyLg = CGFloat(17) - public static let fontSizeBodyMd = CGFloat(15) - public static let fontSizeBodySm = CGFloat(13) - public static let fontSizeBodyXs = CGFloat(12) - public static let fontLineHeightHeadingXlRegular = CGFloat(41) - public static let fontLineHeightHeadingLgRegular = CGFloat(34) - public static let fontLineHeightHeadingMdRegular = CGFloat(28) - public static let fontLineHeightHeadingSmRegular = CGFloat(25) - public static let fontLineHeightBodyLgRegular = CGFloat(22) - public static let fontLineHeightBodyMdRegular = CGFloat(20) - public static let fontLineHeightBodySmRegular = CGFloat(18) - public static let fontLineHeightBodyXsRegular = CGFloat(16) - public static let fontWeightBold = Font.Weight.regular - public static let fontWeightSemibold = Font.Weight.regular - public static let fontWeightRegular = Font.Weight.regular - public static let fontFamilyMono = "SF Mono" - public static let fontFamilySans = "SF Pro" - public static let borderWidth0_5 = CGFloat(0.5) - public static let borderWidth4 = CGFloat(4) - public static let borderWidth2 = CGFloat(2) - public static let borderWidth1 = CGFloat(1) - public static let space56X = CGFloat(224) - public static let space36X = CGFloat(144) - public static let space16X = CGFloat(64) - public static let space12X = CGFloat(48) - public static let space11X = CGFloat(44) - public static let space10X = CGFloat(40) - public static let space6X = CGFloat(24) - public static let space0X = CGFloat(0) - public static let spaceScale = CGFloat(4) - public static let colorIconOnSolidPrimary = colorThemeBg - public static let colorIconInfoPrimary = colorBlue900 - public static let colorIconSuccessPrimary = colorGreen900 - public static let colorIconCriticalPrimary = colorRed900 - public static let colorIconAccentTertiary = colorGreen800 - public static let colorIconQuaternaryAlpha = colorAlphaGray700 - public static let colorIconTertiaryAlpha = colorAlphaGray800 - public static let colorIconSecondaryAlpha = colorAlphaGray900 - public static let colorIconPrimaryAlpha = colorAlphaGray1400 - public static let colorIconDisabled = colorGray700 - public static let colorIconQuaternary = colorGray700 - public static let colorIconTertiary = colorGray800 - public static let colorIconSecondary = colorGray900 - public static let colorIconPrimary = colorGray1400 - public static let colorBorderInfoSubtle = colorBlue500 - public static let colorBorderSuccessSubtle = colorGreen500 - public static let colorBorderCriticalSubtle = colorRed500 - public static let colorBorderCriticalHovered = colorRed1000 - public static let colorBorderCriticalPrimary = colorRed900 - public static let colorBorderInteractiveHovered = colorGray1100 - public static let colorBorderInteractiveSecondary = colorGray600 - public static let colorBorderInteractivePrimary = colorGray800 - public static let colorBorderFocused = colorBlue900 - public static let colorBorderDisabled = colorGray500 - public static let colorBgSubtleSecondaryLevel0 = colorGray300 - public static let colorBgInfoSubtle = colorBlue200 - public static let colorBgSuccessSubtle = colorGreen200 - public static let colorBgCriticalSubtleHovered = colorRed300 - public static let colorBgCriticalSubtle = colorRed200 - public static let colorBgCriticalHovered = colorRed1000 - public static let colorBgCriticalPrimary = colorRed900 - public static let colorBgActionSecondaryPressed = colorAlphaGray300 - public static let colorBgActionSecondaryHovered = colorAlphaGray200 - public static let colorBgActionSecondaryRest = colorThemeBg - public static let colorBgActionPrimaryDisabled = colorGray700 - public static let colorBgActionPrimaryPressed = colorGray1100 - public static let colorBgActionPrimaryHovered = colorGray1200 - public static let colorBgActionPrimaryRest = colorGray1400 - public static let colorBgCanvasDefaultLevel1 = colorThemeBg - public static let colorBgCanvasDisabled = colorGray200 - public static let colorBgCanvasDefault = colorThemeBg - public static let colorBgSubtleSecondary = colorGray300 - public static let colorBgSubtlePrimary = colorGray400 - public static let colorTextOnSolidPrimary = colorThemeBg - public static let colorTextInfoPrimary = colorBlue900 - public static let colorTextSuccessPrimary = colorGreen900 - public static let colorTextCriticalPrimary = colorRed900 - public static let colorTextLinkExternal = colorBlue900 - public static let colorTextActionAccent = colorGreen900 - public static let colorTextActionPrimary = colorGray1400 - public static let colorTextDisabled = colorGray800 - public static let colorTextPlaceholder = colorGray800 - public static let colorTextSecondary = colorGray900 - public static let colorTextPrimary = colorGray1400 - public static let space64X = spaceScale * 64 - public static let space48X = spaceScale * 48 - public static let space40X = spaceScale * 40 - public static let space32X = spaceScale * 32 - public static let space28X = spaceScale * 28 - public static let space24X = spaceScale * 24 - public static let space20X = spaceScale * 20 - public static let space15X = spaceScale * 15 - public static let space14X = spaceScale * 14 - public static let space13X = spaceScale * 13 - public static let space9X = spaceScale * 9 - public static let space8X = spaceScale * 8 - public static let space7X = spaceScale * 7 - public static let space5X = spaceScale * 5 - public static let space4X = spaceScale * 4 - public static let space3X = spaceScale * 3 - public static let space2X = spaceScale * 2 - public static let space1_5X = spaceScale * 1.5 - public static let space1X = spaceScale - public static let space0_5X = spaceScale * 0.5 -} diff --git a/assets/ios/swift/CompoundLightHcDesignTokens.swift b/assets/ios/swift/CompoundLightHcDesignTokens.swift deleted file mode 100644 index e1d924ed..00000000 --- a/assets/ios/swift/CompoundLightHcDesignTokens.swift +++ /dev/null @@ -1,442 +0,0 @@ - -// -// CompoundLightHcDesignTokens.swift -// - -import SwiftUI - -public class CompoundLightHcDesignTokens { - public static let colorAlphaPink1400 = Color("colorAlphaPink1400", bundle: Bundle.module) - public static let colorAlphaPink1300 = Color("colorAlphaPink1300", bundle: Bundle.module) - public static let colorAlphaPink1200 = Color("colorAlphaPink1200", bundle: Bundle.module) - public static let colorAlphaPink1100 = Color("colorAlphaPink1100", bundle: Bundle.module) - public static let colorAlphaPink1000 = Color("colorAlphaPink1000", bundle: Bundle.module) - public static let colorAlphaPink900 = Color("colorAlphaPink900", bundle: Bundle.module) - public static let colorAlphaPink800 = Color("colorAlphaPink800", bundle: Bundle.module) - public static let colorAlphaPink700 = Color("colorAlphaPink700", bundle: Bundle.module) - public static let colorAlphaPink600 = Color("colorAlphaPink600", bundle: Bundle.module) - public static let colorAlphaPink500 = Color("colorAlphaPink500", bundle: Bundle.module) - public static let colorAlphaPink400 = Color("colorAlphaPink400", bundle: Bundle.module) - public static let colorAlphaPink300 = Color("colorAlphaPink300", bundle: Bundle.module) - public static let colorAlphaPink200 = Color("colorAlphaPink200", bundle: Bundle.module) - public static let colorAlphaPink100 = Color("colorAlphaPink100", bundle: Bundle.module) - public static let colorAlphaFuchsia1400 = Color("colorAlphaFuchsia1400", bundle: Bundle.module) - public static let colorAlphaFuchsia1300 = Color("colorAlphaFuchsia1300", bundle: Bundle.module) - public static let colorAlphaFuchsia1200 = Color("colorAlphaFuchsia1200", bundle: Bundle.module) - public static let colorAlphaFuchsia1100 = Color("colorAlphaFuchsia1100", bundle: Bundle.module) - public static let colorAlphaFuchsia1000 = Color("colorAlphaFuchsia1000", bundle: Bundle.module) - public static let colorAlphaFuchsia900 = Color("colorAlphaFuchsia900", bundle: Bundle.module) - public static let colorAlphaFuchsia800 = Color("colorAlphaFuchsia800", bundle: Bundle.module) - public static let colorAlphaFuchsia700 = Color("colorAlphaFuchsia700", bundle: Bundle.module) - public static let colorAlphaFuchsia600 = Color("colorAlphaFuchsia600", bundle: Bundle.module) - public static let colorAlphaFuchsia500 = Color("colorAlphaFuchsia500", bundle: Bundle.module) - public static let colorAlphaFuchsia400 = Color("colorAlphaFuchsia400", bundle: Bundle.module) - public static let colorAlphaFuchsia300 = Color("colorAlphaFuchsia300", bundle: Bundle.module) - public static let colorAlphaFuchsia200 = Color("colorAlphaFuchsia200", bundle: Bundle.module) - public static let colorAlphaFuchsia100 = Color("colorAlphaFuchsia100", bundle: Bundle.module) - public static let colorAlphaPurple1400 = Color("colorAlphaPurple1400", bundle: Bundle.module) - public static let colorAlphaPurple1300 = Color("colorAlphaPurple1300", bundle: Bundle.module) - public static let colorAlphaPurple1200 = Color("colorAlphaPurple1200", bundle: Bundle.module) - public static let colorAlphaPurple1100 = Color("colorAlphaPurple1100", bundle: Bundle.module) - public static let colorAlphaPurple1000 = Color("colorAlphaPurple1000", bundle: Bundle.module) - public static let colorAlphaPurple900 = Color("colorAlphaPurple900", bundle: Bundle.module) - public static let colorAlphaPurple800 = Color("colorAlphaPurple800", bundle: Bundle.module) - public static let colorAlphaPurple700 = Color("colorAlphaPurple700", bundle: Bundle.module) - public static let colorAlphaPurple600 = Color("colorAlphaPurple600", bundle: Bundle.module) - public static let colorAlphaPurple500 = Color("colorAlphaPurple500", bundle: Bundle.module) - public static let colorAlphaPurple400 = Color("colorAlphaPurple400", bundle: Bundle.module) - public static let colorAlphaPurple300 = Color("colorAlphaPurple300", bundle: Bundle.module) - public static let colorAlphaPurple200 = Color("colorAlphaPurple200", bundle: Bundle.module) - public static let colorAlphaPurple100 = Color("colorAlphaPurple100", bundle: Bundle.module) - public static let colorAlphaBlue1400 = Color("colorAlphaBlue1400", bundle: Bundle.module) - public static let colorAlphaBlue1300 = Color("colorAlphaBlue1300", bundle: Bundle.module) - public static let colorAlphaBlue1200 = Color("colorAlphaBlue1200", bundle: Bundle.module) - public static let colorAlphaBlue1100 = Color("colorAlphaBlue1100", bundle: Bundle.module) - public static let colorAlphaBlue1000 = Color("colorAlphaBlue1000", bundle: Bundle.module) - public static let colorAlphaBlue900 = Color("colorAlphaBlue900", bundle: Bundle.module) - public static let colorAlphaBlue800 = Color("colorAlphaBlue800", bundle: Bundle.module) - public static let colorAlphaBlue700 = Color("colorAlphaBlue700", bundle: Bundle.module) - public static let colorAlphaBlue600 = Color("colorAlphaBlue600", bundle: Bundle.module) - public static let colorAlphaBlue500 = Color("colorAlphaBlue500", bundle: Bundle.module) - public static let colorAlphaBlue400 = Color("colorAlphaBlue400", bundle: Bundle.module) - public static let colorAlphaBlue300 = Color("colorAlphaBlue300", bundle: Bundle.module) - public static let colorAlphaBlue200 = Color("colorAlphaBlue200", bundle: Bundle.module) - public static let colorAlphaBlue100 = Color("colorAlphaBlue100", bundle: Bundle.module) - public static let colorAlphaCyan1400 = Color("colorAlphaCyan1400", bundle: Bundle.module) - public static let colorAlphaCyan1300 = Color("colorAlphaCyan1300", bundle: Bundle.module) - public static let colorAlphaCyan1200 = Color("colorAlphaCyan1200", bundle: Bundle.module) - public static let colorAlphaCyan1100 = Color("colorAlphaCyan1100", bundle: Bundle.module) - public static let colorAlphaCyan1000 = Color("colorAlphaCyan1000", bundle: Bundle.module) - public static let colorAlphaCyan900 = Color("colorAlphaCyan900", bundle: Bundle.module) - public static let colorAlphaCyan800 = Color("colorAlphaCyan800", bundle: Bundle.module) - public static let colorAlphaCyan700 = Color("colorAlphaCyan700", bundle: Bundle.module) - public static let colorAlphaCyan600 = Color("colorAlphaCyan600", bundle: Bundle.module) - public static let colorAlphaCyan500 = Color("colorAlphaCyan500", bundle: Bundle.module) - public static let colorAlphaCyan400 = Color("colorAlphaCyan400", bundle: Bundle.module) - public static let colorAlphaCyan300 = Color("colorAlphaCyan300", bundle: Bundle.module) - public static let colorAlphaCyan200 = Color("colorAlphaCyan200", bundle: Bundle.module) - public static let colorAlphaCyan100 = Color("colorAlphaCyan100", bundle: Bundle.module) - public static let colorAlphaGreen1400 = Color("colorAlphaGreen1400", bundle: Bundle.module) - public static let colorAlphaGreen1300 = Color("colorAlphaGreen1300", bundle: Bundle.module) - public static let colorAlphaGreen1200 = Color("colorAlphaGreen1200", bundle: Bundle.module) - public static let colorAlphaGreen1100 = Color("colorAlphaGreen1100", bundle: Bundle.module) - public static let colorAlphaGreen1000 = Color("colorAlphaGreen1000", bundle: Bundle.module) - public static let colorAlphaGreen900 = Color("colorAlphaGreen900", bundle: Bundle.module) - public static let colorAlphaGreen800 = Color("colorAlphaGreen800", bundle: Bundle.module) - public static let colorAlphaGreen700 = Color("colorAlphaGreen700", bundle: Bundle.module) - public static let colorAlphaGreen600 = Color("colorAlphaGreen600", bundle: Bundle.module) - public static let colorAlphaGreen500 = Color("colorAlphaGreen500", bundle: Bundle.module) - public static let colorAlphaGreen400 = Color("colorAlphaGreen400", bundle: Bundle.module) - public static let colorAlphaGreen300 = Color("colorAlphaGreen300", bundle: Bundle.module) - public static let colorAlphaGreen200 = Color("colorAlphaGreen200", bundle: Bundle.module) - public static let colorAlphaGreen100 = Color("colorAlphaGreen100", bundle: Bundle.module) - public static let colorAlphaLime1400 = Color("colorAlphaLime1400", bundle: Bundle.module) - public static let colorAlphaLime1300 = Color("colorAlphaLime1300", bundle: Bundle.module) - public static let colorAlphaLime1200 = Color("colorAlphaLime1200", bundle: Bundle.module) - public static let colorAlphaLime1100 = Color("colorAlphaLime1100", bundle: Bundle.module) - public static let colorAlphaLime1000 = Color("colorAlphaLime1000", bundle: Bundle.module) - public static let colorAlphaLime900 = Color("colorAlphaLime900", bundle: Bundle.module) - public static let colorAlphaLime800 = Color("colorAlphaLime800", bundle: Bundle.module) - public static let colorAlphaLime700 = Color("colorAlphaLime700", bundle: Bundle.module) - public static let colorAlphaLime600 = Color("colorAlphaLime600", bundle: Bundle.module) - public static let colorAlphaLime500 = Color("colorAlphaLime500", bundle: Bundle.module) - public static let colorAlphaLime400 = Color("colorAlphaLime400", bundle: Bundle.module) - public static let colorAlphaLime300 = Color("colorAlphaLime300", bundle: Bundle.module) - public static let colorAlphaLime200 = Color("colorAlphaLime200", bundle: Bundle.module) - public static let colorAlphaLime100 = Color("colorAlphaLime100", bundle: Bundle.module) - public static let colorAlphaYellow1400 = Color("colorAlphaYellow1400", bundle: Bundle.module) - public static let colorAlphaYellow1300 = Color("colorAlphaYellow1300", bundle: Bundle.module) - public static let colorAlphaYellow1200 = Color("colorAlphaYellow1200", bundle: Bundle.module) - public static let colorAlphaYellow1100 = Color("colorAlphaYellow1100", bundle: Bundle.module) - public static let colorAlphaYellow1000 = Color("colorAlphaYellow1000", bundle: Bundle.module) - public static let colorAlphaYellow900 = Color("colorAlphaYellow900", bundle: Bundle.module) - public static let colorAlphaYellow800 = Color("colorAlphaYellow800", bundle: Bundle.module) - public static let colorAlphaYellow700 = Color("colorAlphaYellow700", bundle: Bundle.module) - public static let colorAlphaYellow600 = Color("colorAlphaYellow600", bundle: Bundle.module) - public static let colorAlphaYellow500 = Color("colorAlphaYellow500", bundle: Bundle.module) - public static let colorAlphaYellow400 = Color("colorAlphaYellow400", bundle: Bundle.module) - public static let colorAlphaYellow300 = Color("colorAlphaYellow300", bundle: Bundle.module) - public static let colorAlphaYellow200 = Color("colorAlphaYellow200", bundle: Bundle.module) - public static let colorAlphaYellow100 = Color("colorAlphaYellow100", bundle: Bundle.module) - public static let colorAlphaOrange1400 = Color("colorAlphaOrange1400", bundle: Bundle.module) - public static let colorAlphaOrange1300 = Color("colorAlphaOrange1300", bundle: Bundle.module) - public static let colorAlphaOrange1200 = Color("colorAlphaOrange1200", bundle: Bundle.module) - public static let colorAlphaOrange1100 = Color("colorAlphaOrange1100", bundle: Bundle.module) - public static let colorAlphaOrange1000 = Color("colorAlphaOrange1000", bundle: Bundle.module) - public static let colorAlphaOrange900 = Color("colorAlphaOrange900", bundle: Bundle.module) - public static let colorAlphaOrange800 = Color("colorAlphaOrange800", bundle: Bundle.module) - public static let colorAlphaOrange700 = Color("colorAlphaOrange700", bundle: Bundle.module) - public static let colorAlphaOrange600 = Color("colorAlphaOrange600", bundle: Bundle.module) - public static let colorAlphaOrange500 = Color("colorAlphaOrange500", bundle: Bundle.module) - public static let colorAlphaOrange400 = Color("colorAlphaOrange400", bundle: Bundle.module) - public static let colorAlphaOrange300 = Color("colorAlphaOrange300", bundle: Bundle.module) - public static let colorAlphaOrange200 = Color("colorAlphaOrange200", bundle: Bundle.module) - public static let colorAlphaOrange100 = Color("colorAlphaOrange100", bundle: Bundle.module) - public static let colorAlphaRed1400 = Color("colorAlphaRed1400", bundle: Bundle.module) - public static let colorAlphaRed1300 = Color("colorAlphaRed1300", bundle: Bundle.module) - public static let colorAlphaRed1200 = Color("colorAlphaRed1200", bundle: Bundle.module) - public static let colorAlphaRed1100 = Color("colorAlphaRed1100", bundle: Bundle.module) - public static let colorAlphaRed1000 = Color("colorAlphaRed1000", bundle: Bundle.module) - public static let colorAlphaRed900 = Color("colorAlphaRed900", bundle: Bundle.module) - public static let colorAlphaRed800 = Color("colorAlphaRed800", bundle: Bundle.module) - public static let colorAlphaRed700 = Color("colorAlphaRed700", bundle: Bundle.module) - public static let colorAlphaRed600 = Color("colorAlphaRed600", bundle: Bundle.module) - public static let colorAlphaRed500 = Color("colorAlphaRed500", bundle: Bundle.module) - public static let colorAlphaRed400 = Color("colorAlphaRed400", bundle: Bundle.module) - public static let colorAlphaRed300 = Color("colorAlphaRed300", bundle: Bundle.module) - public static let colorAlphaRed200 = Color("colorAlphaRed200", bundle: Bundle.module) - public static let colorAlphaRed100 = Color("colorAlphaRed100", bundle: Bundle.module) - public static let colorAlphaGray1400 = Color("colorAlphaGray1400", bundle: Bundle.module) - public static let colorAlphaGray1300 = Color("colorAlphaGray1300", bundle: Bundle.module) - public static let colorAlphaGray1200 = Color("colorAlphaGray1200", bundle: Bundle.module) - public static let colorAlphaGray1100 = Color("colorAlphaGray1100", bundle: Bundle.module) - public static let colorAlphaGray1000 = Color("colorAlphaGray1000", bundle: Bundle.module) - public static let colorAlphaGray900 = Color("colorAlphaGray900", bundle: Bundle.module) - public static let colorAlphaGray800 = Color("colorAlphaGray800", bundle: Bundle.module) - public static let colorAlphaGray700 = Color("colorAlphaGray700", bundle: Bundle.module) - public static let colorAlphaGray600 = Color("colorAlphaGray600", bundle: Bundle.module) - public static let colorAlphaGray500 = Color("colorAlphaGray500", bundle: Bundle.module) - public static let colorAlphaGray400 = Color("colorAlphaGray400", bundle: Bundle.module) - public static let colorAlphaGray300 = Color("colorAlphaGray300", bundle: Bundle.module) - public static let colorAlphaGray200 = Color("colorAlphaGray200", bundle: Bundle.module) - public static let colorAlphaGray100 = Color("colorAlphaGray100", bundle: Bundle.module) - public static let colorPink1400 = Color("colorPink1400", bundle: Bundle.module) - public static let colorPink1300 = Color("colorPink1300", bundle: Bundle.module) - public static let colorPink1200 = Color("colorPink1200", bundle: Bundle.module) - public static let colorPink1100 = Color("colorPink1100", bundle: Bundle.module) - public static let colorPink1000 = Color("colorPink1000", bundle: Bundle.module) - public static let colorPink900 = Color("colorPink900", bundle: Bundle.module) - public static let colorPink800 = Color("colorPink800", bundle: Bundle.module) - public static let colorPink700 = Color("colorPink700", bundle: Bundle.module) - public static let colorPink600 = Color("colorPink600", bundle: Bundle.module) - public static let colorPink500 = Color("colorPink500", bundle: Bundle.module) - public static let colorPink400 = Color("colorPink400", bundle: Bundle.module) - public static let colorPink300 = Color("colorPink300", bundle: Bundle.module) - public static let colorPink200 = Color("colorPink200", bundle: Bundle.module) - public static let colorPink100 = Color("colorPink100", bundle: Bundle.module) - public static let colorFuchsia1400 = Color("colorFuchsia1400", bundle: Bundle.module) - public static let colorFuchsia1300 = Color("colorFuchsia1300", bundle: Bundle.module) - public static let colorFuchsia1200 = Color("colorFuchsia1200", bundle: Bundle.module) - public static let colorFuchsia1100 = Color("colorFuchsia1100", bundle: Bundle.module) - public static let colorFuchsia1000 = Color("colorFuchsia1000", bundle: Bundle.module) - public static let colorFuchsia900 = Color("colorFuchsia900", bundle: Bundle.module) - public static let colorFuchsia800 = Color("colorFuchsia800", bundle: Bundle.module) - public static let colorFuchsia700 = Color("colorFuchsia700", bundle: Bundle.module) - public static let colorFuchsia600 = Color("colorFuchsia600", bundle: Bundle.module) - public static let colorFuchsia500 = Color("colorFuchsia500", bundle: Bundle.module) - public static let colorFuchsia400 = Color("colorFuchsia400", bundle: Bundle.module) - public static let colorFuchsia300 = Color("colorFuchsia300", bundle: Bundle.module) - public static let colorFuchsia200 = Color("colorFuchsia200", bundle: Bundle.module) - public static let colorFuchsia100 = Color("colorFuchsia100", bundle: Bundle.module) - public static let colorPurple1400 = Color("colorPurple1400", bundle: Bundle.module) - public static let colorPurple1300 = Color("colorPurple1300", bundle: Bundle.module) - public static let colorPurple1200 = Color("colorPurple1200", bundle: Bundle.module) - public static let colorPurple1100 = Color("colorPurple1100", bundle: Bundle.module) - public static let colorPurple1000 = Color("colorPurple1000", bundle: Bundle.module) - public static let colorPurple900 = Color("colorPurple900", bundle: Bundle.module) - public static let colorPurple800 = Color("colorPurple800", bundle: Bundle.module) - public static let colorPurple700 = Color("colorPurple700", bundle: Bundle.module) - public static let colorPurple600 = Color("colorPurple600", bundle: Bundle.module) - public static let colorPurple500 = Color("colorPurple500", bundle: Bundle.module) - public static let colorPurple400 = Color("colorPurple400", bundle: Bundle.module) - public static let colorPurple300 = Color("colorPurple300", bundle: Bundle.module) - public static let colorPurple200 = Color("colorPurple200", bundle: Bundle.module) - public static let colorPurple100 = Color("colorPurple100", bundle: Bundle.module) - public static let colorBlue1400 = Color("colorBlue1400", bundle: Bundle.module) - public static let colorBlue1300 = Color("colorBlue1300", bundle: Bundle.module) - public static let colorBlue1200 = Color("colorBlue1200", bundle: Bundle.module) - public static let colorBlue1100 = Color("colorBlue1100", bundle: Bundle.module) - public static let colorBlue1000 = Color("colorBlue1000", bundle: Bundle.module) - public static let colorBlue900 = Color("colorBlue900", bundle: Bundle.module) - public static let colorBlue800 = Color("colorBlue800", bundle: Bundle.module) - public static let colorBlue700 = Color("colorBlue700", bundle: Bundle.module) - public static let colorBlue600 = Color("colorBlue600", bundle: Bundle.module) - public static let colorBlue500 = Color("colorBlue500", bundle: Bundle.module) - public static let colorBlue400 = Color("colorBlue400", bundle: Bundle.module) - public static let colorBlue300 = Color("colorBlue300", bundle: Bundle.module) - public static let colorBlue200 = Color("colorBlue200", bundle: Bundle.module) - public static let colorBlue100 = Color("colorBlue100", bundle: Bundle.module) - public static let colorCyan1400 = Color("colorCyan1400", bundle: Bundle.module) - public static let colorCyan1300 = Color("colorCyan1300", bundle: Bundle.module) - public static let colorCyan1200 = Color("colorCyan1200", bundle: Bundle.module) - public static let colorCyan1100 = Color("colorCyan1100", bundle: Bundle.module) - public static let colorCyan1000 = Color("colorCyan1000", bundle: Bundle.module) - public static let colorCyan900 = Color("colorCyan900", bundle: Bundle.module) - public static let colorCyan800 = Color("colorCyan800", bundle: Bundle.module) - public static let colorCyan700 = Color("colorCyan700", bundle: Bundle.module) - public static let colorCyan600 = Color("colorCyan600", bundle: Bundle.module) - public static let colorCyan500 = Color("colorCyan500", bundle: Bundle.module) - public static let colorCyan400 = Color("colorCyan400", bundle: Bundle.module) - public static let colorCyan300 = Color("colorCyan300", bundle: Bundle.module) - public static let colorCyan200 = Color("colorCyan200", bundle: Bundle.module) - public static let colorCyan100 = Color("colorCyan100", bundle: Bundle.module) - public static let colorGreen1400 = Color("colorGreen1400", bundle: Bundle.module) - public static let colorGreen1300 = Color("colorGreen1300", bundle: Bundle.module) - public static let colorGreen1200 = Color("colorGreen1200", bundle: Bundle.module) - public static let colorGreen1100 = Color("colorGreen1100", bundle: Bundle.module) - public static let colorGreen1000 = Color("colorGreen1000", bundle: Bundle.module) - public static let colorGreen900 = Color("colorGreen900", bundle: Bundle.module) - public static let colorGreen800 = Color("colorGreen800", bundle: Bundle.module) - public static let colorGreen700 = Color("colorGreen700", bundle: Bundle.module) - public static let colorGreen600 = Color("colorGreen600", bundle: Bundle.module) - public static let colorGreen500 = Color("colorGreen500", bundle: Bundle.module) - public static let colorGreen400 = Color("colorGreen400", bundle: Bundle.module) - public static let colorGreen300 = Color("colorGreen300", bundle: Bundle.module) - public static let colorGreen200 = Color("colorGreen200", bundle: Bundle.module) - public static let colorGreen100 = Color("colorGreen100", bundle: Bundle.module) - public static let colorLime1400 = Color("colorLime1400", bundle: Bundle.module) - public static let colorLime1300 = Color("colorLime1300", bundle: Bundle.module) - public static let colorLime1200 = Color("colorLime1200", bundle: Bundle.module) - public static let colorLime1100 = Color("colorLime1100", bundle: Bundle.module) - public static let colorLime1000 = Color("colorLime1000", bundle: Bundle.module) - public static let colorLime900 = Color("colorLime900", bundle: Bundle.module) - public static let colorLime800 = Color("colorLime800", bundle: Bundle.module) - public static let colorLime700 = Color("colorLime700", bundle: Bundle.module) - public static let colorLime600 = Color("colorLime600", bundle: Bundle.module) - public static let colorLime500 = Color("colorLime500", bundle: Bundle.module) - public static let colorLime400 = Color("colorLime400", bundle: Bundle.module) - public static let colorLime300 = Color("colorLime300", bundle: Bundle.module) - public static let colorLime200 = Color("colorLime200", bundle: Bundle.module) - public static let colorLime100 = Color("colorLime100", bundle: Bundle.module) - public static let colorYellow1400 = Color("colorYellow1400", bundle: Bundle.module) - public static let colorYellow1300 = Color("colorYellow1300", bundle: Bundle.module) - public static let colorYellow1200 = Color("colorYellow1200", bundle: Bundle.module) - public static let colorYellow1100 = Color("colorYellow1100", bundle: Bundle.module) - public static let colorYellow1000 = Color("colorYellow1000", bundle: Bundle.module) - public static let colorYellow900 = Color("colorYellow900", bundle: Bundle.module) - public static let colorYellow800 = Color("colorYellow800", bundle: Bundle.module) - public static let colorYellow700 = Color("colorYellow700", bundle: Bundle.module) - public static let colorYellow600 = Color("colorYellow600", bundle: Bundle.module) - public static let colorYellow500 = Color("colorYellow500", bundle: Bundle.module) - public static let colorYellow400 = Color("colorYellow400", bundle: Bundle.module) - public static let colorYellow300 = Color("colorYellow300", bundle: Bundle.module) - public static let colorYellow200 = Color("colorYellow200", bundle: Bundle.module) - public static let colorYellow100 = Color("colorYellow100", bundle: Bundle.module) - public static let colorOrange1400 = Color("colorOrange1400", bundle: Bundle.module) - public static let colorOrange1300 = Color("colorOrange1300", bundle: Bundle.module) - public static let colorOrange1200 = Color("colorOrange1200", bundle: Bundle.module) - public static let colorOrange1100 = Color("colorOrange1100", bundle: Bundle.module) - public static let colorOrange1000 = Color("colorOrange1000", bundle: Bundle.module) - public static let colorOrange900 = Color("colorOrange900", bundle: Bundle.module) - public static let colorOrange800 = Color("colorOrange800", bundle: Bundle.module) - public static let colorOrange700 = Color("colorOrange700", bundle: Bundle.module) - public static let colorOrange600 = Color("colorOrange600", bundle: Bundle.module) - public static let colorOrange500 = Color("colorOrange500", bundle: Bundle.module) - public static let colorOrange400 = Color("colorOrange400", bundle: Bundle.module) - public static let colorOrange300 = Color("colorOrange300", bundle: Bundle.module) - public static let colorOrange200 = Color("colorOrange200", bundle: Bundle.module) - public static let colorOrange100 = Color("colorOrange100", bundle: Bundle.module) - public static let colorRed1400 = Color("colorRed1400", bundle: Bundle.module) - public static let colorRed1300 = Color("colorRed1300", bundle: Bundle.module) - public static let colorRed1200 = Color("colorRed1200", bundle: Bundle.module) - public static let colorRed1100 = Color("colorRed1100", bundle: Bundle.module) - public static let colorRed1000 = Color("colorRed1000", bundle: Bundle.module) - public static let colorRed900 = Color("colorRed900", bundle: Bundle.module) - public static let colorRed800 = Color("colorRed800", bundle: Bundle.module) - public static let colorRed700 = Color("colorRed700", bundle: Bundle.module) - public static let colorRed600 = Color("colorRed600", bundle: Bundle.module) - public static let colorRed500 = Color("colorRed500", bundle: Bundle.module) - public static let colorRed400 = Color("colorRed400", bundle: Bundle.module) - public static let colorRed300 = Color("colorRed300", bundle: Bundle.module) - public static let colorRed200 = Color("colorRed200", bundle: Bundle.module) - public static let colorRed100 = Color("colorRed100", bundle: Bundle.module) - public static let colorGray1400 = Color("colorGray1400", bundle: Bundle.module) - public static let colorGray1300 = Color("colorGray1300", bundle: Bundle.module) - public static let colorGray1200 = Color("colorGray1200", bundle: Bundle.module) - public static let colorGray1100 = Color("colorGray1100", bundle: Bundle.module) - public static let colorGray1000 = Color("colorGray1000", bundle: Bundle.module) - public static let colorGray900 = Color("colorGray900", bundle: Bundle.module) - public static let colorGray800 = Color("colorGray800", bundle: Bundle.module) - public static let colorGray700 = Color("colorGray700", bundle: Bundle.module) - public static let colorGray600 = Color("colorGray600", bundle: Bundle.module) - public static let colorGray500 = Color("colorGray500", bundle: Bundle.module) - public static let colorGray400 = Color("colorGray400", bundle: Bundle.module) - public static let colorGray300 = Color("colorGray300", bundle: Bundle.module) - public static let colorGray200 = Color("colorGray200", bundle: Bundle.module) - public static let colorGray100 = Color("colorGray100", bundle: Bundle.module) - public static let colorThemeBg = Color("colorThemeBg", bundle: Bundle.module) - public static let iconWebBrowser = Image("iconWebBrowser", bundle: Bundle.module) - public static let iconVisibilityVisible = Image("iconVisibilityVisible", bundle: Bundle.module) - public static let iconVisibilityInvisible = Image("iconVisibilityInvisible", bundle: Bundle.module) - public static let iconUser = Image("iconUser", bundle: Bundle.module) - public static let iconThread = Image("iconThread", bundle: Bundle.module) - public static let iconMobile = Image("iconMobile", bundle: Bundle.module) - public static let iconLock = Image("iconLock", bundle: Bundle.module) - public static let iconInfo = Image("iconInfo", bundle: Bundle.module) - public static let iconError = Image("iconError", bundle: Bundle.module) - public static let iconDelete = Image("iconDelete", bundle: Bundle.module) - public static let iconComputer = Image("iconComputer", bundle: Bundle.module) - public static let iconClose = Image("iconClose", bundle: Bundle.module) - public static let iconChevron = Image("iconChevron", bundle: Bundle.module) - public static let iconCheck = Image("iconCheck", bundle: Bundle.module) - public static let iconCheckCircle = Image("iconCheckCircle", bundle: Bundle.module) - public static let iconChat = Image("iconChat", bundle: Bundle.module) - public static let fontSizeHeadingXl = CGFloat(34) - public static let fontSizeHeadingLg = CGFloat(28) - public static let fontSizeHeadingMd = CGFloat(22) - public static let fontSizeHeadingSm = CGFloat(20) - public static let fontSizeBodyLg = CGFloat(17) - public static let fontSizeBodyMd = CGFloat(15) - public static let fontSizeBodySm = CGFloat(13) - public static let fontSizeBodyXs = CGFloat(12) - public static let fontLineHeightHeadingXlRegular = CGFloat(41) - public static let fontLineHeightHeadingLgRegular = CGFloat(34) - public static let fontLineHeightHeadingMdRegular = CGFloat(28) - public static let fontLineHeightHeadingSmRegular = CGFloat(25) - public static let fontLineHeightBodyLgRegular = CGFloat(22) - public static let fontLineHeightBodyMdRegular = CGFloat(20) - public static let fontLineHeightBodySmRegular = CGFloat(18) - public static let fontLineHeightBodyXsRegular = CGFloat(16) - public static let fontWeightBold = Font.Weight.regular - public static let fontWeightSemibold = Font.Weight.regular - public static let fontWeightRegular = Font.Weight.regular - public static let fontFamilyMono = "SF Mono" - public static let fontFamilySans = "SF Pro" - public static let borderWidth0_5 = CGFloat(0.5) - public static let borderWidth4 = CGFloat(4) - public static let borderWidth2 = CGFloat(2) - public static let borderWidth1 = CGFloat(1) - public static let space56X = CGFloat(224) - public static let space36X = CGFloat(144) - public static let space16X = CGFloat(64) - public static let space12X = CGFloat(48) - public static let space11X = CGFloat(44) - public static let space10X = CGFloat(40) - public static let space6X = CGFloat(24) - public static let space0X = CGFloat(0) - public static let spaceScale = CGFloat(4) - public static let colorIconOnSolidPrimary = colorThemeBg - public static let colorIconInfoPrimary = colorBlue900 - public static let colorIconSuccessPrimary = colorGreen900 - public static let colorIconCriticalPrimary = colorRed900 - public static let colorIconAccentTertiary = colorGreen800 - public static let colorIconQuaternaryAlpha = colorAlphaGray700 - public static let colorIconTertiaryAlpha = colorAlphaGray800 - public static let colorIconSecondaryAlpha = colorAlphaGray900 - public static let colorIconPrimaryAlpha = colorAlphaGray1400 - public static let colorIconDisabled = colorGray700 - public static let colorIconQuaternary = colorGray700 - public static let colorIconTertiary = colorGray800 - public static let colorIconSecondary = colorGray900 - public static let colorIconPrimary = colorGray1400 - public static let colorBorderInfoSubtle = colorBlue500 - public static let colorBorderSuccessSubtle = colorGreen500 - public static let colorBorderCriticalSubtle = colorRed500 - public static let colorBorderCriticalHovered = colorRed1000 - public static let colorBorderCriticalPrimary = colorRed900 - public static let colorBorderInteractiveHovered = colorGray1100 - public static let colorBorderInteractiveSecondary = colorGray600 - public static let colorBorderInteractivePrimary = colorGray800 - public static let colorBorderFocused = colorBlue900 - public static let colorBorderDisabled = colorGray500 - public static let colorBgSubtleSecondaryLevel0 = colorGray300 - public static let colorBgInfoSubtle = colorBlue200 - public static let colorBgSuccessSubtle = colorGreen200 - public static let colorBgCriticalSubtleHovered = colorRed300 - public static let colorBgCriticalSubtle = colorRed200 - public static let colorBgCriticalHovered = colorRed1000 - public static let colorBgCriticalPrimary = colorRed900 - public static let colorBgActionSecondaryPressed = colorAlphaGray300 - public static let colorBgActionSecondaryHovered = colorAlphaGray200 - public static let colorBgActionSecondaryRest = colorThemeBg - public static let colorBgActionPrimaryDisabled = colorGray700 - public static let colorBgActionPrimaryPressed = colorGray1100 - public static let colorBgActionPrimaryHovered = colorGray1200 - public static let colorBgActionPrimaryRest = colorGray1400 - public static let colorBgCanvasDefaultLevel1 = colorThemeBg - public static let colorBgCanvasDisabled = colorGray200 - public static let colorBgCanvasDefault = colorThemeBg - public static let colorBgSubtleSecondary = colorGray300 - public static let colorBgSubtlePrimary = colorGray400 - public static let colorTextOnSolidPrimary = colorThemeBg - public static let colorTextInfoPrimary = colorBlue900 - public static let colorTextSuccessPrimary = colorGreen900 - public static let colorTextCriticalPrimary = colorRed900 - public static let colorTextLinkExternal = colorBlue900 - public static let colorTextActionAccent = colorGreen900 - public static let colorTextActionPrimary = colorGray1400 - public static let colorTextDisabled = colorGray800 - public static let colorTextPlaceholder = colorGray800 - public static let colorTextSecondary = colorGray900 - public static let colorTextPrimary = colorGray1400 - public static let space64X = spaceScale * 64 - public static let space48X = spaceScale * 48 - public static let space40X = spaceScale * 40 - public static let space32X = spaceScale * 32 - public static let space28X = spaceScale * 28 - public static let space24X = spaceScale * 24 - public static let space20X = spaceScale * 20 - public static let space15X = spaceScale * 15 - public static let space14X = spaceScale * 14 - public static let space13X = spaceScale * 13 - public static let space9X = spaceScale * 9 - public static let space8X = spaceScale * 8 - public static let space7X = spaceScale * 7 - public static let space5X = spaceScale * 5 - public static let space4X = spaceScale * 4 - public static let space3X = spaceScale * 3 - public static let space2X = spaceScale * 2 - public static let space1_5X = spaceScale * 1.5 - public static let space1X = spaceScale - public static let space0_5X = spaceScale * 0.5 -} diff --git a/assets/ios/swift/CompoundUIColorTokens.swift b/assets/ios/swift/CompoundUIColorTokens.swift new file mode 100644 index 00000000..eacd1701 --- /dev/null +++ b/assets/ios/swift/CompoundUIColorTokens.swift @@ -0,0 +1,372 @@ + +// +// CompoundUIColorTokens.swift +// + +import UIKit + +public class CompoundUIColorTokens { + public static let colorAlphaPink1400 = UIColor(named: "colorAlphaPink1400", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaPink1300 = UIColor(named: "colorAlphaPink1300", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaPink1200 = UIColor(named: "colorAlphaPink1200", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaPink1100 = UIColor(named: "colorAlphaPink1100", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaPink1000 = UIColor(named: "colorAlphaPink1000", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaPink900 = UIColor(named: "colorAlphaPink900", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaPink800 = UIColor(named: "colorAlphaPink800", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaPink700 = UIColor(named: "colorAlphaPink700", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaPink600 = UIColor(named: "colorAlphaPink600", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaPink500 = UIColor(named: "colorAlphaPink500", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaPink400 = UIColor(named: "colorAlphaPink400", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaPink300 = UIColor(named: "colorAlphaPink300", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaPink200 = UIColor(named: "colorAlphaPink200", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaPink100 = UIColor(named: "colorAlphaPink100", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaFuchsia1400 = UIColor(named: "colorAlphaFuchsia1400", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaFuchsia1300 = UIColor(named: "colorAlphaFuchsia1300", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaFuchsia1200 = UIColor(named: "colorAlphaFuchsia1200", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaFuchsia1100 = UIColor(named: "colorAlphaFuchsia1100", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaFuchsia1000 = UIColor(named: "colorAlphaFuchsia1000", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaFuchsia900 = UIColor(named: "colorAlphaFuchsia900", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaFuchsia800 = UIColor(named: "colorAlphaFuchsia800", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaFuchsia700 = UIColor(named: "colorAlphaFuchsia700", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaFuchsia600 = UIColor(named: "colorAlphaFuchsia600", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaFuchsia500 = UIColor(named: "colorAlphaFuchsia500", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaFuchsia400 = UIColor(named: "colorAlphaFuchsia400", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaFuchsia300 = UIColor(named: "colorAlphaFuchsia300", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaFuchsia200 = UIColor(named: "colorAlphaFuchsia200", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaFuchsia100 = UIColor(named: "colorAlphaFuchsia100", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaPurple1400 = UIColor(named: "colorAlphaPurple1400", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaPurple1300 = UIColor(named: "colorAlphaPurple1300", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaPurple1200 = UIColor(named: "colorAlphaPurple1200", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaPurple1100 = UIColor(named: "colorAlphaPurple1100", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaPurple1000 = UIColor(named: "colorAlphaPurple1000", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaPurple900 = UIColor(named: "colorAlphaPurple900", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaPurple800 = UIColor(named: "colorAlphaPurple800", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaPurple700 = UIColor(named: "colorAlphaPurple700", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaPurple600 = UIColor(named: "colorAlphaPurple600", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaPurple500 = UIColor(named: "colorAlphaPurple500", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaPurple400 = UIColor(named: "colorAlphaPurple400", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaPurple300 = UIColor(named: "colorAlphaPurple300", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaPurple200 = UIColor(named: "colorAlphaPurple200", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaPurple100 = UIColor(named: "colorAlphaPurple100", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaBlue1400 = UIColor(named: "colorAlphaBlue1400", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaBlue1300 = UIColor(named: "colorAlphaBlue1300", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaBlue1200 = UIColor(named: "colorAlphaBlue1200", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaBlue1100 = UIColor(named: "colorAlphaBlue1100", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaBlue1000 = UIColor(named: "colorAlphaBlue1000", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaBlue900 = UIColor(named: "colorAlphaBlue900", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaBlue800 = UIColor(named: "colorAlphaBlue800", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaBlue700 = UIColor(named: "colorAlphaBlue700", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaBlue600 = UIColor(named: "colorAlphaBlue600", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaBlue500 = UIColor(named: "colorAlphaBlue500", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaBlue400 = UIColor(named: "colorAlphaBlue400", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaBlue300 = UIColor(named: "colorAlphaBlue300", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaBlue200 = UIColor(named: "colorAlphaBlue200", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaBlue100 = UIColor(named: "colorAlphaBlue100", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaCyan1400 = UIColor(named: "colorAlphaCyan1400", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaCyan1300 = UIColor(named: "colorAlphaCyan1300", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaCyan1200 = UIColor(named: "colorAlphaCyan1200", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaCyan1100 = UIColor(named: "colorAlphaCyan1100", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaCyan1000 = UIColor(named: "colorAlphaCyan1000", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaCyan900 = UIColor(named: "colorAlphaCyan900", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaCyan800 = UIColor(named: "colorAlphaCyan800", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaCyan700 = UIColor(named: "colorAlphaCyan700", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaCyan600 = UIColor(named: "colorAlphaCyan600", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaCyan500 = UIColor(named: "colorAlphaCyan500", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaCyan400 = UIColor(named: "colorAlphaCyan400", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaCyan300 = UIColor(named: "colorAlphaCyan300", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaCyan200 = UIColor(named: "colorAlphaCyan200", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaCyan100 = UIColor(named: "colorAlphaCyan100", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaGreen1400 = UIColor(named: "colorAlphaGreen1400", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaGreen1300 = UIColor(named: "colorAlphaGreen1300", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaGreen1200 = UIColor(named: "colorAlphaGreen1200", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaGreen1100 = UIColor(named: "colorAlphaGreen1100", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaGreen1000 = UIColor(named: "colorAlphaGreen1000", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaGreen900 = UIColor(named: "colorAlphaGreen900", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaGreen800 = UIColor(named: "colorAlphaGreen800", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaGreen700 = UIColor(named: "colorAlphaGreen700", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaGreen600 = UIColor(named: "colorAlphaGreen600", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaGreen500 = UIColor(named: "colorAlphaGreen500", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaGreen400 = UIColor(named: "colorAlphaGreen400", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaGreen300 = UIColor(named: "colorAlphaGreen300", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaGreen200 = UIColor(named: "colorAlphaGreen200", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaGreen100 = UIColor(named: "colorAlphaGreen100", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaLime1400 = UIColor(named: "colorAlphaLime1400", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaLime1300 = UIColor(named: "colorAlphaLime1300", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaLime1200 = UIColor(named: "colorAlphaLime1200", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaLime1100 = UIColor(named: "colorAlphaLime1100", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaLime1000 = UIColor(named: "colorAlphaLime1000", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaLime900 = UIColor(named: "colorAlphaLime900", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaLime800 = UIColor(named: "colorAlphaLime800", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaLime700 = UIColor(named: "colorAlphaLime700", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaLime600 = UIColor(named: "colorAlphaLime600", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaLime500 = UIColor(named: "colorAlphaLime500", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaLime400 = UIColor(named: "colorAlphaLime400", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaLime300 = UIColor(named: "colorAlphaLime300", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaLime200 = UIColor(named: "colorAlphaLime200", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaLime100 = UIColor(named: "colorAlphaLime100", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaYellow1400 = UIColor(named: "colorAlphaYellow1400", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaYellow1300 = UIColor(named: "colorAlphaYellow1300", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaYellow1200 = UIColor(named: "colorAlphaYellow1200", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaYellow1100 = UIColor(named: "colorAlphaYellow1100", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaYellow1000 = UIColor(named: "colorAlphaYellow1000", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaYellow900 = UIColor(named: "colorAlphaYellow900", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaYellow800 = UIColor(named: "colorAlphaYellow800", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaYellow700 = UIColor(named: "colorAlphaYellow700", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaYellow600 = UIColor(named: "colorAlphaYellow600", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaYellow500 = UIColor(named: "colorAlphaYellow500", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaYellow400 = UIColor(named: "colorAlphaYellow400", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaYellow300 = UIColor(named: "colorAlphaYellow300", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaYellow200 = UIColor(named: "colorAlphaYellow200", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaYellow100 = UIColor(named: "colorAlphaYellow100", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaOrange1400 = UIColor(named: "colorAlphaOrange1400", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaOrange1300 = UIColor(named: "colorAlphaOrange1300", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaOrange1200 = UIColor(named: "colorAlphaOrange1200", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaOrange1100 = UIColor(named: "colorAlphaOrange1100", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaOrange1000 = UIColor(named: "colorAlphaOrange1000", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaOrange900 = UIColor(named: "colorAlphaOrange900", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaOrange800 = UIColor(named: "colorAlphaOrange800", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaOrange700 = UIColor(named: "colorAlphaOrange700", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaOrange600 = UIColor(named: "colorAlphaOrange600", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaOrange500 = UIColor(named: "colorAlphaOrange500", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaOrange400 = UIColor(named: "colorAlphaOrange400", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaOrange300 = UIColor(named: "colorAlphaOrange300", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaOrange200 = UIColor(named: "colorAlphaOrange200", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaOrange100 = UIColor(named: "colorAlphaOrange100", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaRed1400 = UIColor(named: "colorAlphaRed1400", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaRed1300 = UIColor(named: "colorAlphaRed1300", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaRed1200 = UIColor(named: "colorAlphaRed1200", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaRed1100 = UIColor(named: "colorAlphaRed1100", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaRed1000 = UIColor(named: "colorAlphaRed1000", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaRed900 = UIColor(named: "colorAlphaRed900", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaRed800 = UIColor(named: "colorAlphaRed800", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaRed700 = UIColor(named: "colorAlphaRed700", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaRed600 = UIColor(named: "colorAlphaRed600", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaRed500 = UIColor(named: "colorAlphaRed500", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaRed400 = UIColor(named: "colorAlphaRed400", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaRed300 = UIColor(named: "colorAlphaRed300", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaRed200 = UIColor(named: "colorAlphaRed200", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaRed100 = UIColor(named: "colorAlphaRed100", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaGray1400 = UIColor(named: "colorAlphaGray1400", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaGray1300 = UIColor(named: "colorAlphaGray1300", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaGray1200 = UIColor(named: "colorAlphaGray1200", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaGray1100 = UIColor(named: "colorAlphaGray1100", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaGray1000 = UIColor(named: "colorAlphaGray1000", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaGray900 = UIColor(named: "colorAlphaGray900", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaGray800 = UIColor(named: "colorAlphaGray800", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaGray700 = UIColor(named: "colorAlphaGray700", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaGray600 = UIColor(named: "colorAlphaGray600", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaGray500 = UIColor(named: "colorAlphaGray500", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaGray400 = UIColor(named: "colorAlphaGray400", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaGray300 = UIColor(named: "colorAlphaGray300", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaGray200 = UIColor(named: "colorAlphaGray200", in: Bundle.module, compatibleWith: nil)! + public static let colorAlphaGray100 = UIColor(named: "colorAlphaGray100", in: Bundle.module, compatibleWith: nil)! + public static let colorPink1400 = UIColor(named: "colorPink1400", in: Bundle.module, compatibleWith: nil)! + public static let colorPink1300 = UIColor(named: "colorPink1300", in: Bundle.module, compatibleWith: nil)! + public static let colorPink1200 = UIColor(named: "colorPink1200", in: Bundle.module, compatibleWith: nil)! + public static let colorPink1100 = UIColor(named: "colorPink1100", in: Bundle.module, compatibleWith: nil)! + public static let colorPink1000 = UIColor(named: "colorPink1000", in: Bundle.module, compatibleWith: nil)! + public static let colorPink900 = UIColor(named: "colorPink900", in: Bundle.module, compatibleWith: nil)! + public static let colorPink800 = UIColor(named: "colorPink800", in: Bundle.module, compatibleWith: nil)! + public static let colorPink700 = UIColor(named: "colorPink700", in: Bundle.module, compatibleWith: nil)! + public static let colorPink600 = UIColor(named: "colorPink600", in: Bundle.module, compatibleWith: nil)! + public static let colorPink500 = UIColor(named: "colorPink500", in: Bundle.module, compatibleWith: nil)! + public static let colorPink400 = UIColor(named: "colorPink400", in: Bundle.module, compatibleWith: nil)! + public static let colorPink300 = UIColor(named: "colorPink300", in: Bundle.module, compatibleWith: nil)! + public static let colorPink200 = UIColor(named: "colorPink200", in: Bundle.module, compatibleWith: nil)! + public static let colorPink100 = UIColor(named: "colorPink100", in: Bundle.module, compatibleWith: nil)! + public static let colorFuchsia1400 = UIColor(named: "colorFuchsia1400", in: Bundle.module, compatibleWith: nil)! + public static let colorFuchsia1300 = UIColor(named: "colorFuchsia1300", in: Bundle.module, compatibleWith: nil)! + public static let colorFuchsia1200 = UIColor(named: "colorFuchsia1200", in: Bundle.module, compatibleWith: nil)! + public static let colorFuchsia1100 = UIColor(named: "colorFuchsia1100", in: Bundle.module, compatibleWith: nil)! + public static let colorFuchsia1000 = UIColor(named: "colorFuchsia1000", in: Bundle.module, compatibleWith: nil)! + public static let colorFuchsia900 = UIColor(named: "colorFuchsia900", in: Bundle.module, compatibleWith: nil)! + public static let colorFuchsia800 = UIColor(named: "colorFuchsia800", in: Bundle.module, compatibleWith: nil)! + public static let colorFuchsia700 = UIColor(named: "colorFuchsia700", in: Bundle.module, compatibleWith: nil)! + public static let colorFuchsia600 = UIColor(named: "colorFuchsia600", in: Bundle.module, compatibleWith: nil)! + public static let colorFuchsia500 = UIColor(named: "colorFuchsia500", in: Bundle.module, compatibleWith: nil)! + public static let colorFuchsia400 = UIColor(named: "colorFuchsia400", in: Bundle.module, compatibleWith: nil)! + public static let colorFuchsia300 = UIColor(named: "colorFuchsia300", in: Bundle.module, compatibleWith: nil)! + public static let colorFuchsia200 = UIColor(named: "colorFuchsia200", in: Bundle.module, compatibleWith: nil)! + public static let colorFuchsia100 = UIColor(named: "colorFuchsia100", in: Bundle.module, compatibleWith: nil)! + public static let colorPurple1400 = UIColor(named: "colorPurple1400", in: Bundle.module, compatibleWith: nil)! + public static let colorPurple1300 = UIColor(named: "colorPurple1300", in: Bundle.module, compatibleWith: nil)! + public static let colorPurple1200 = UIColor(named: "colorPurple1200", in: Bundle.module, compatibleWith: nil)! + public static let colorPurple1100 = UIColor(named: "colorPurple1100", in: Bundle.module, compatibleWith: nil)! + public static let colorPurple1000 = UIColor(named: "colorPurple1000", in: Bundle.module, compatibleWith: nil)! + public static let colorPurple900 = UIColor(named: "colorPurple900", in: Bundle.module, compatibleWith: nil)! + public static let colorPurple800 = UIColor(named: "colorPurple800", in: Bundle.module, compatibleWith: nil)! + public static let colorPurple700 = UIColor(named: "colorPurple700", in: Bundle.module, compatibleWith: nil)! + public static let colorPurple600 = UIColor(named: "colorPurple600", in: Bundle.module, compatibleWith: nil)! + public static let colorPurple500 = UIColor(named: "colorPurple500", in: Bundle.module, compatibleWith: nil)! + public static let colorPurple400 = UIColor(named: "colorPurple400", in: Bundle.module, compatibleWith: nil)! + public static let colorPurple300 = UIColor(named: "colorPurple300", in: Bundle.module, compatibleWith: nil)! + public static let colorPurple200 = UIColor(named: "colorPurple200", in: Bundle.module, compatibleWith: nil)! + public static let colorPurple100 = UIColor(named: "colorPurple100", in: Bundle.module, compatibleWith: nil)! + public static let colorBlue1400 = UIColor(named: "colorBlue1400", in: Bundle.module, compatibleWith: nil)! + public static let colorBlue1300 = UIColor(named: "colorBlue1300", in: Bundle.module, compatibleWith: nil)! + public static let colorBlue1200 = UIColor(named: "colorBlue1200", in: Bundle.module, compatibleWith: nil)! + public static let colorBlue1100 = UIColor(named: "colorBlue1100", in: Bundle.module, compatibleWith: nil)! + public static let colorBlue1000 = UIColor(named: "colorBlue1000", in: Bundle.module, compatibleWith: nil)! + public static let colorBlue900 = UIColor(named: "colorBlue900", in: Bundle.module, compatibleWith: nil)! + public static let colorBlue800 = UIColor(named: "colorBlue800", in: Bundle.module, compatibleWith: nil)! + public static let colorBlue700 = UIColor(named: "colorBlue700", in: Bundle.module, compatibleWith: nil)! + public static let colorBlue600 = UIColor(named: "colorBlue600", in: Bundle.module, compatibleWith: nil)! + public static let colorBlue500 = UIColor(named: "colorBlue500", in: Bundle.module, compatibleWith: nil)! + public static let colorBlue400 = UIColor(named: "colorBlue400", in: Bundle.module, compatibleWith: nil)! + public static let colorBlue300 = UIColor(named: "colorBlue300", in: Bundle.module, compatibleWith: nil)! + public static let colorBlue200 = UIColor(named: "colorBlue200", in: Bundle.module, compatibleWith: nil)! + public static let colorBlue100 = UIColor(named: "colorBlue100", in: Bundle.module, compatibleWith: nil)! + public static let colorCyan1400 = UIColor(named: "colorCyan1400", in: Bundle.module, compatibleWith: nil)! + public static let colorCyan1300 = UIColor(named: "colorCyan1300", in: Bundle.module, compatibleWith: nil)! + public static let colorCyan1200 = UIColor(named: "colorCyan1200", in: Bundle.module, compatibleWith: nil)! + public static let colorCyan1100 = UIColor(named: "colorCyan1100", in: Bundle.module, compatibleWith: nil)! + public static let colorCyan1000 = UIColor(named: "colorCyan1000", in: Bundle.module, compatibleWith: nil)! + public static let colorCyan900 = UIColor(named: "colorCyan900", in: Bundle.module, compatibleWith: nil)! + public static let colorCyan800 = UIColor(named: "colorCyan800", in: Bundle.module, compatibleWith: nil)! + public static let colorCyan700 = UIColor(named: "colorCyan700", in: Bundle.module, compatibleWith: nil)! + public static let colorCyan600 = UIColor(named: "colorCyan600", in: Bundle.module, compatibleWith: nil)! + public static let colorCyan500 = UIColor(named: "colorCyan500", in: Bundle.module, compatibleWith: nil)! + public static let colorCyan400 = UIColor(named: "colorCyan400", in: Bundle.module, compatibleWith: nil)! + public static let colorCyan300 = UIColor(named: "colorCyan300", in: Bundle.module, compatibleWith: nil)! + public static let colorCyan200 = UIColor(named: "colorCyan200", in: Bundle.module, compatibleWith: nil)! + public static let colorCyan100 = UIColor(named: "colorCyan100", in: Bundle.module, compatibleWith: nil)! + public static let colorGreen1400 = UIColor(named: "colorGreen1400", in: Bundle.module, compatibleWith: nil)! + public static let colorGreen1300 = UIColor(named: "colorGreen1300", in: Bundle.module, compatibleWith: nil)! + public static let colorGreen1200 = UIColor(named: "colorGreen1200", in: Bundle.module, compatibleWith: nil)! + public static let colorGreen1100 = UIColor(named: "colorGreen1100", in: Bundle.module, compatibleWith: nil)! + public static let colorGreen1000 = UIColor(named: "colorGreen1000", in: Bundle.module, compatibleWith: nil)! + public static let colorGreen900 = UIColor(named: "colorGreen900", in: Bundle.module, compatibleWith: nil)! + public static let colorGreen800 = UIColor(named: "colorGreen800", in: Bundle.module, compatibleWith: nil)! + public static let colorGreen700 = UIColor(named: "colorGreen700", in: Bundle.module, compatibleWith: nil)! + public static let colorGreen600 = UIColor(named: "colorGreen600", in: Bundle.module, compatibleWith: nil)! + public static let colorGreen500 = UIColor(named: "colorGreen500", in: Bundle.module, compatibleWith: nil)! + public static let colorGreen400 = UIColor(named: "colorGreen400", in: Bundle.module, compatibleWith: nil)! + public static let colorGreen300 = UIColor(named: "colorGreen300", in: Bundle.module, compatibleWith: nil)! + public static let colorGreen200 = UIColor(named: "colorGreen200", in: Bundle.module, compatibleWith: nil)! + public static let colorGreen100 = UIColor(named: "colorGreen100", in: Bundle.module, compatibleWith: nil)! + public static let colorLime1400 = UIColor(named: "colorLime1400", in: Bundle.module, compatibleWith: nil)! + public static let colorLime1300 = UIColor(named: "colorLime1300", in: Bundle.module, compatibleWith: nil)! + public static let colorLime1200 = UIColor(named: "colorLime1200", in: Bundle.module, compatibleWith: nil)! + public static let colorLime1100 = UIColor(named: "colorLime1100", in: Bundle.module, compatibleWith: nil)! + public static let colorLime1000 = UIColor(named: "colorLime1000", in: Bundle.module, compatibleWith: nil)! + public static let colorLime900 = UIColor(named: "colorLime900", in: Bundle.module, compatibleWith: nil)! + public static let colorLime800 = UIColor(named: "colorLime800", in: Bundle.module, compatibleWith: nil)! + public static let colorLime700 = UIColor(named: "colorLime700", in: Bundle.module, compatibleWith: nil)! + public static let colorLime600 = UIColor(named: "colorLime600", in: Bundle.module, compatibleWith: nil)! + public static let colorLime500 = UIColor(named: "colorLime500", in: Bundle.module, compatibleWith: nil)! + public static let colorLime400 = UIColor(named: "colorLime400", in: Bundle.module, compatibleWith: nil)! + public static let colorLime300 = UIColor(named: "colorLime300", in: Bundle.module, compatibleWith: nil)! + public static let colorLime200 = UIColor(named: "colorLime200", in: Bundle.module, compatibleWith: nil)! + public static let colorLime100 = UIColor(named: "colorLime100", in: Bundle.module, compatibleWith: nil)! + public static let colorYellow1400 = UIColor(named: "colorYellow1400", in: Bundle.module, compatibleWith: nil)! + public static let colorYellow1300 = UIColor(named: "colorYellow1300", in: Bundle.module, compatibleWith: nil)! + public static let colorYellow1200 = UIColor(named: "colorYellow1200", in: Bundle.module, compatibleWith: nil)! + public static let colorYellow1100 = UIColor(named: "colorYellow1100", in: Bundle.module, compatibleWith: nil)! + public static let colorYellow1000 = UIColor(named: "colorYellow1000", in: Bundle.module, compatibleWith: nil)! + public static let colorYellow900 = UIColor(named: "colorYellow900", in: Bundle.module, compatibleWith: nil)! + public static let colorYellow800 = UIColor(named: "colorYellow800", in: Bundle.module, compatibleWith: nil)! + public static let colorYellow700 = UIColor(named: "colorYellow700", in: Bundle.module, compatibleWith: nil)! + public static let colorYellow600 = UIColor(named: "colorYellow600", in: Bundle.module, compatibleWith: nil)! + public static let colorYellow500 = UIColor(named: "colorYellow500", in: Bundle.module, compatibleWith: nil)! + public static let colorYellow400 = UIColor(named: "colorYellow400", in: Bundle.module, compatibleWith: nil)! + public static let colorYellow300 = UIColor(named: "colorYellow300", in: Bundle.module, compatibleWith: nil)! + public static let colorYellow200 = UIColor(named: "colorYellow200", in: Bundle.module, compatibleWith: nil)! + public static let colorYellow100 = UIColor(named: "colorYellow100", in: Bundle.module, compatibleWith: nil)! + public static let colorOrange1400 = UIColor(named: "colorOrange1400", in: Bundle.module, compatibleWith: nil)! + public static let colorOrange1300 = UIColor(named: "colorOrange1300", in: Bundle.module, compatibleWith: nil)! + public static let colorOrange1200 = UIColor(named: "colorOrange1200", in: Bundle.module, compatibleWith: nil)! + public static let colorOrange1100 = UIColor(named: "colorOrange1100", in: Bundle.module, compatibleWith: nil)! + public static let colorOrange1000 = UIColor(named: "colorOrange1000", in: Bundle.module, compatibleWith: nil)! + public static let colorOrange900 = UIColor(named: "colorOrange900", in: Bundle.module, compatibleWith: nil)! + public static let colorOrange800 = UIColor(named: "colorOrange800", in: Bundle.module, compatibleWith: nil)! + public static let colorOrange700 = UIColor(named: "colorOrange700", in: Bundle.module, compatibleWith: nil)! + public static let colorOrange600 = UIColor(named: "colorOrange600", in: Bundle.module, compatibleWith: nil)! + public static let colorOrange500 = UIColor(named: "colorOrange500", in: Bundle.module, compatibleWith: nil)! + public static let colorOrange400 = UIColor(named: "colorOrange400", in: Bundle.module, compatibleWith: nil)! + public static let colorOrange300 = UIColor(named: "colorOrange300", in: Bundle.module, compatibleWith: nil)! + public static let colorOrange200 = UIColor(named: "colorOrange200", in: Bundle.module, compatibleWith: nil)! + public static let colorOrange100 = UIColor(named: "colorOrange100", in: Bundle.module, compatibleWith: nil)! + public static let colorRed1400 = UIColor(named: "colorRed1400", in: Bundle.module, compatibleWith: nil)! + public static let colorRed1300 = UIColor(named: "colorRed1300", in: Bundle.module, compatibleWith: nil)! + public static let colorRed1200 = UIColor(named: "colorRed1200", in: Bundle.module, compatibleWith: nil)! + public static let colorRed1100 = UIColor(named: "colorRed1100", in: Bundle.module, compatibleWith: nil)! + public static let colorRed1000 = UIColor(named: "colorRed1000", in: Bundle.module, compatibleWith: nil)! + public static let colorRed900 = UIColor(named: "colorRed900", in: Bundle.module, compatibleWith: nil)! + public static let colorRed800 = UIColor(named: "colorRed800", in: Bundle.module, compatibleWith: nil)! + public static let colorRed700 = UIColor(named: "colorRed700", in: Bundle.module, compatibleWith: nil)! + public static let colorRed600 = UIColor(named: "colorRed600", in: Bundle.module, compatibleWith: nil)! + public static let colorRed500 = UIColor(named: "colorRed500", in: Bundle.module, compatibleWith: nil)! + public static let colorRed400 = UIColor(named: "colorRed400", in: Bundle.module, compatibleWith: nil)! + public static let colorRed300 = UIColor(named: "colorRed300", in: Bundle.module, compatibleWith: nil)! + public static let colorRed200 = UIColor(named: "colorRed200", in: Bundle.module, compatibleWith: nil)! + public static let colorRed100 = UIColor(named: "colorRed100", in: Bundle.module, compatibleWith: nil)! + public static let colorGray1400 = UIColor(named: "colorGray1400", in: Bundle.module, compatibleWith: nil)! + public static let colorGray1300 = UIColor(named: "colorGray1300", in: Bundle.module, compatibleWith: nil)! + public static let colorGray1200 = UIColor(named: "colorGray1200", in: Bundle.module, compatibleWith: nil)! + public static let colorGray1100 = UIColor(named: "colorGray1100", in: Bundle.module, compatibleWith: nil)! + public static let colorGray1000 = UIColor(named: "colorGray1000", in: Bundle.module, compatibleWith: nil)! + public static let colorGray900 = UIColor(named: "colorGray900", in: Bundle.module, compatibleWith: nil)! + public static let colorGray800 = UIColor(named: "colorGray800", in: Bundle.module, compatibleWith: nil)! + public static let colorGray700 = UIColor(named: "colorGray700", in: Bundle.module, compatibleWith: nil)! + public static let colorGray600 = UIColor(named: "colorGray600", in: Bundle.module, compatibleWith: nil)! + public static let colorGray500 = UIColor(named: "colorGray500", in: Bundle.module, compatibleWith: nil)! + public static let colorGray400 = UIColor(named: "colorGray400", in: Bundle.module, compatibleWith: nil)! + public static let colorGray300 = UIColor(named: "colorGray300", in: Bundle.module, compatibleWith: nil)! + public static let colorGray200 = UIColor(named: "colorGray200", in: Bundle.module, compatibleWith: nil)! + public static let colorGray100 = UIColor(named: "colorGray100", in: Bundle.module, compatibleWith: nil)! + public static let colorThemeBg = UIColor(named: "colorThemeBg", in: Bundle.module, compatibleWith: nil)! + public static let colorIconOnSolidPrimary = colorThemeBg + public static let colorIconInfoPrimary = colorBlue900 + public static let colorIconSuccessPrimary = colorGreen900 + public static let colorIconCriticalPrimary = colorRed900 + public static let colorIconAccentTertiary = colorGreen800 + public static let colorIconQuaternaryAlpha = colorAlphaGray700 + public static let colorIconTertiaryAlpha = colorAlphaGray800 + public static let colorIconSecondaryAlpha = colorAlphaGray900 + public static let colorIconPrimaryAlpha = colorAlphaGray1400 + public static let colorIconDisabled = colorGray700 + public static let colorIconQuaternary = colorGray700 + public static let colorIconTertiary = colorGray800 + public static let colorIconSecondary = colorGray900 + public static let colorIconPrimary = colorGray1400 + public static let colorBorderInfoSubtle = colorBlue500 + public static let colorBorderSuccessSubtle = colorGreen500 + public static let colorBorderCriticalSubtle = colorRed500 + public static let colorBorderCriticalHovered = colorRed1000 + public static let colorBorderCriticalPrimary = colorRed900 + public static let colorBorderInteractiveHovered = colorGray1100 + public static let colorBorderInteractiveSecondary = colorGray600 + public static let colorBorderInteractivePrimary = colorGray800 + public static let colorBorderFocused = colorBlue900 + public static let colorBorderDisabled = colorGray500 + public static let colorBgSubtleSecondaryLevel0 = colorThemeBg + public static let colorBgInfoSubtle = colorBlue200 + public static let colorBgSuccessSubtle = colorGreen200 + public static let colorBgCriticalSubtleHovered = colorRed300 + public static let colorBgCriticalSubtle = colorRed200 + public static let colorBgCriticalHovered = colorRed1000 + public static let colorBgCriticalPrimary = colorRed900 + public static let colorBgActionSecondaryPressed = colorAlphaGray300 + public static let colorBgActionSecondaryHovered = colorAlphaGray200 + public static let colorBgActionSecondaryRest = colorThemeBg + public static let colorBgActionPrimaryDisabled = colorGray700 + public static let colorBgActionPrimaryPressed = colorGray1100 + public static let colorBgActionPrimaryHovered = colorGray1200 + public static let colorBgActionPrimaryRest = colorGray1400 + public static let colorBgCanvasDefaultLevel1 = colorGray300 + public static let colorBgCanvasDisabled = colorGray200 + public static let colorBgCanvasDefault = colorThemeBg + public static let colorBgSubtleSecondary = colorGray300 + public static let colorBgSubtlePrimary = colorGray400 + public static let colorTextOnSolidPrimary = colorThemeBg + public static let colorTextInfoPrimary = colorBlue900 + public static let colorTextSuccessPrimary = colorGreen900 + public static let colorTextCriticalPrimary = colorRed900 + public static let colorTextLinkExternal = colorBlue900 + public static let colorTextActionAccent = colorGreen900 + public static let colorTextActionPrimary = colorGray1400 + public static let colorTextDisabled = colorGray800 + public static let colorTextPlaceholder = colorGray800 + public static let colorTextSecondary = colorGray900 + public static let colorTextPrimary = colorGray1400 +} diff --git a/src/configs/getIOSConfig.ts b/src/configs/getIOSConfig.ts index 57b7cee0..8dbdf596 100644 --- a/src/configs/getIOSConfig.ts +++ b/src/configs/getIOSConfig.ts @@ -16,19 +16,20 @@ limitations under the License. import { Platform } from "style-dictionary/types/Platform"; import { Theme } from "../@types"; +import { TransformedToken } from "style-dictionary/types"; +import iosExclude from "../filters/ios/exclude"; import _ from "lodash"; -export default function getIOSConfig(theme: Theme): Platform { +/* + * Config that builds colorsets and creates SwiftUI Colors. + */ +export function getIOSColorConfig(theme: Theme): Platform { return { transforms: [ "attribute/cti", "camelCaseDecimal", "attribute/color", - "font/swift/literal", - "swift/pxToCGFloat", - "swift/toFontWeight", "swift/coreColorSet", - "swift/svgToImageView", "ts/resolveMath", ], options: { @@ -38,17 +39,97 @@ export default function getIOSConfig(theme: Theme): Platform { buildPath: `assets/ios/swift/`, files: [ { - filter: "ios/exclude", - destination: `${_.upperFirst( - _.camelCase(`Compound ${theme} DesignTokens`) - )}.swift`, + filter: function(token: TransformedToken) { + return token.type == 'color' && iosExclude.matcher(token); + }, + destination: "CompoundColorTokens.swift", + format: "ios-swift/class.swift", + options: { + showFileHeader: false, + outputReferences: true, + import: "SwiftUI", + }, + className: "CompoundColorTokens", + }, + ] + } +} + +/* + * Config that creates UIKit Colors. + */ +export function getIOSUIColorConfig(theme: Theme): Platform { + return { + transforms: [ + "attribute/cti", + "camelCaseDecimal", + "attribute/color", + "swift/coreUIColorSet", + "ts/resolveMath", + ], + options: { + theme, + }, + buildPath: `assets/ios/swift/`, + files: [ + { + filter: function(token: TransformedToken) { + return token.type == 'color' && iosExclude.matcher(token); + }, + destination: "CompoundUIColorTokens.swift", + format: "ios-swift/class.swift", + options: { + showFileHeader: false, + outputReferences: true, + import: "UIKit", + }, + className: "CompoundUIColorTokens", + }, + ] + } +} + +/* + * Config that creates the remaining iOS tokens. + */ +export function getCommonIOSConfig(): Platform { + return { + transforms: [ + "attribute/cti", + "camelCaseDecimal", + "font/swift/literal", + "swift/pxToCGFloat", + "swift/toFontWeight", + "swift/svgToImageView", + "ts/resolveMath", + ], + buildPath: `assets/ios/swift/`, + files: [ + { + filter: function(token: TransformedToken) { + return token.type == 'icon' && iosExclude.matcher(token); + }, + destination: "CompoundIconTokens.swift", + format: "ios-swift/class.swift", + options: { + showFileHeader: false, + outputReferences: true, + import: "SwiftUI", + }, + className: "CompoundIconTokens", + }, + { + filter: function(token: TransformedToken) { + return token.type != 'color' && token.type != 'icon' && iosExclude.matcher(token); + }, + destination: "CompoundDesignTokens.swift", format: "ios-swift/class.swift", options: { showFileHeader: false, outputReferences: true, import: "SwiftUI", }, - className: `Compound${_.upperFirst(_.camelCase(theme))}DesignTokens`, + className: "CompoundDesignTokens", }, ], }; diff --git a/src/configs/index.ts b/src/configs/index.ts index bfc1a16d..0f6055bb 100644 --- a/src/configs/index.ts +++ b/src/configs/index.ts @@ -19,7 +19,7 @@ import { Config } from "style-dictionary/types/Config"; import { Theme, Platform } from "../@types"; import { getAndroidConfig, getCommonAndroidConfig } from "./getAndroidConfig"; -import getIOSConfig from "./getIOSConfig"; +import { getIOSColorConfig, getIOSUIColorConfig, getCommonIOSConfig } from "./getIOSConfig"; import getWebConfig from "./getWebConfig"; function getConfig(platform: Platform) { @@ -62,7 +62,8 @@ export function getStyleDictionaryConfig( config.platforms.compose = getAndroidConfig(theme); break; case "ios": - config.platforms.iosSwift = getIOSConfig(theme); + config.platforms.iosColor = getIOSColorConfig(theme); + config.platforms.iosUIColor = getIOSUIColorConfig(theme); break; default: throw `Unsupported platform: ${platform}`; @@ -83,6 +84,7 @@ export function getStyleDictionaryCommonConfig( config.platforms.compose = getCommonAndroidConfig(); break; case "ios": + config.platforms.iosSwift = getCommonIOSConfig(); break; default: throw `Unsupported platform: ${platform}`; diff --git a/src/setupStyleDictionary.ts b/src/setupStyleDictionary.ts index 8c1eff94..4b853a53 100644 --- a/src/setupStyleDictionary.ts +++ b/src/setupStyleDictionary.ts @@ -39,6 +39,7 @@ import pxToDp from "./transforms/kotlin/pxToDp"; import pxToSp from "./transforms/kotlin/pxToSp"; import percentageToEm from "./transforms/kotlin/percentageToEm"; import coreColorSet from "./transforms/swift/coreColorSet"; +import coreUIColorSet from "./transforms/swift/coreUIColorSet"; import iosExclude from "./filters/ios/exclude"; import pxToRem from "./transforms/pxToRem"; import percentageToUnitless from "./transforms/css/percentageToUnitless"; @@ -67,6 +68,10 @@ async function setupDictionary(sb: Core) { name: "swift/coreColorSet", ...coreColorSet, } as Named); + sb.registerTransform({ + name: "swift/coreUIColorSet", + ...coreUIColorSet, + } as Named); sb.registerTransform({ name: "swift/svgToImageView", ...svgToImageView, @@ -134,4 +139,4 @@ export async function common(platform: Platform) { const sb = StyleDictionary.extend(getStyleDictionaryCommonConfig(platform)); setupDictionary(sb); return sb; -} \ No newline at end of file +} diff --git a/src/transforms/swift/coreColorSet.ts b/src/transforms/swift/coreColorSet.ts index 9090c56c..59e9347d 100644 --- a/src/transforms/swift/coreColorSet.ts +++ b/src/transforms/swift/coreColorSet.ts @@ -20,8 +20,8 @@ import { TransformedToken } from "style-dictionary/types/TransformedToken"; import { isCoreColor } from "../../filters/isCoreColor"; /** - * A transformer to change tokens.0_5x and keep the underscore - * after a camel case operation + * A transformer to change core colours into a SwiftUI Color loaded + * from the asset catalog. */ export default { type: "value", diff --git a/src/transforms/swift/coreUIColorSet.ts b/src/transforms/swift/coreUIColorSet.ts new file mode 100644 index 00000000..56f501a8 --- /dev/null +++ b/src/transforms/swift/coreUIColorSet.ts @@ -0,0 +1,34 @@ +/* +Copyright 2023 The Matrix.org Foundation C.I.C. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +import _ from "lodash"; +import { Transform } from "style-dictionary/types/Transform"; +import { TransformedToken } from "style-dictionary/types/TransformedToken"; +import { isCoreColor } from "../../filters/isCoreColor"; + +/** + * A transformer to change core colours into a UIKit UIColor loaded + * from the asset catalog. + */ +export default { + type: "value", + matcher: isCoreColor.matcher, + transformer: function (token: TransformedToken) { + return `UIColor(named: "${_.camelCase( + token.path.join(" ") + )}", in: Bundle.module, compatibleWith: nil)!`; + }, +} as Transform;