From 577f08d1b30a6df7dd39c536a99ec984b7713c54 Mon Sep 17 00:00:00 2001 From: Mobile Automation Date: Fri, 11 Feb 2022 06:25:01 +0000 Subject: [PATCH] tokens: update colors on 2022-02-11 --- Sources/Orbit/Foundation/Colors/Colors.swift | 4 ++++ .../Bundle Basic.colorset/Contents.json | 20 +++++++++++++++++++ .../Bundle Medium.colorset/Contents.json | 20 +++++++++++++++++++ .../Colors.xcassets/Bundle/Contents.json | 6 ++++++ .../Orbit/Foundation/Colors/UIColors.swift | 4 ++++ 5 files changed, 54 insertions(+) create mode 100644 Sources/Orbit/Foundation/Colors/Colors.xcassets/Bundle/Bundle Basic.colorset/Contents.json create mode 100644 Sources/Orbit/Foundation/Colors/Colors.xcassets/Bundle/Bundle Medium.colorset/Contents.json create mode 100644 Sources/Orbit/Foundation/Colors/Colors.xcassets/Bundle/Contents.json diff --git a/Sources/Orbit/Foundation/Colors/Colors.swift b/Sources/Orbit/Foundation/Colors/Colors.swift index d3be4aa2809..3d26cf9725c 100644 --- a/Sources/Orbit/Foundation/Colors/Colors.swift +++ b/Sources/Orbit/Foundation/Colors/Colors.swift @@ -17,6 +17,10 @@ public extension Color { static let blueNormalActive = Color("Blue Normal Active", bundle: .current) static let blueNormalHover = Color("Blue Normal Hover", bundle: .current) + // MARK: - Bundle + static let bundleBasic = Color("Bundle Basic", bundle: .current) + static let bundleMedium = Color("Bundle Medium", bundle: .current) + // MARK: - Cloud static let cloudDark = Color("Cloud Dark", bundle: .current) static let cloudDarker = Color("Cloud Darker", bundle: .current) diff --git a/Sources/Orbit/Foundation/Colors/Colors.xcassets/Bundle/Bundle Basic.colorset/Contents.json b/Sources/Orbit/Foundation/Colors/Colors.xcassets/Bundle/Bundle Basic.colorset/Contents.json new file mode 100644 index 00000000000..e882a82363a --- /dev/null +++ b/Sources/Orbit/Foundation/Colors/Colors.xcassets/Bundle/Bundle Basic.colorset/Contents.json @@ -0,0 +1,20 @@ +{ + "colors" : [ + { + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0x1C", + "green" : "0x33", + "red" : "0xD7" + } + }, + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Sources/Orbit/Foundation/Colors/Colors.xcassets/Bundle/Bundle Medium.colorset/Contents.json b/Sources/Orbit/Foundation/Colors/Colors.xcassets/Bundle/Bundle Medium.colorset/Contents.json new file mode 100644 index 00000000000..ca306e60235 --- /dev/null +++ b/Sources/Orbit/Foundation/Colors/Colors.xcassets/Bundle/Bundle Medium.colorset/Contents.json @@ -0,0 +1,20 @@ +{ + "colors" : [ + { + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0xB0", + "green" : "0x1E", + "red" : "0x3B" + } + }, + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Sources/Orbit/Foundation/Colors/Colors.xcassets/Bundle/Contents.json b/Sources/Orbit/Foundation/Colors/Colors.xcassets/Bundle/Contents.json new file mode 100644 index 00000000000..73c00596a7f --- /dev/null +++ b/Sources/Orbit/Foundation/Colors/Colors.xcassets/Bundle/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Sources/Orbit/Foundation/Colors/UIColors.swift b/Sources/Orbit/Foundation/Colors/UIColors.swift index 1ad7ae24bc7..b19312bc808 100644 --- a/Sources/Orbit/Foundation/Colors/UIColors.swift +++ b/Sources/Orbit/Foundation/Colors/UIColors.swift @@ -17,6 +17,10 @@ public extension UIColor { static let blueNormalActive = fromResource(named: "Blue Normal Active") static let blueNormalHover = fromResource(named: "Blue Normal Hover") + // MARK: - Bundle + static let bundleBasic = fromResource(named: "Bundle Basic") + static let bundleMedium = fromResource(named: "Bundle Medium") + // MARK: - Cloud static let cloudDark = fromResource(named: "Cloud Dark") static let cloudDarker = fromResource(named: "Cloud Darker")