File tree Expand file tree Collapse file tree 9 files changed +31
-10
lines changed
42526E Text field text.colorset
83879B Text filed title.colorset
D5DBE6 Border Color gray.colorset
E5E5E5 Gray backgroudn.colorset
E7E3EE Light Purpule bg.colorset Expand file tree Collapse file tree 9 files changed +31
-10
lines changed File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change 1+ {
2+ "colors" : [
3+ {
4+ "color" : {
5+ "color-space" : " srgb" ,
6+ "components" : {
7+ "alpha" : " 1.000" ,
8+ "blue" : " 0xE5" ,
9+ "green" : " 0xE5" ,
10+ "red" : " 0xE5"
11+ }
12+ },
13+ "idiom" : " universal"
14+ }
15+ ],
16+ "info" : {
17+ "author" : " xcode" ,
18+ "version" : 1
19+ }
20+ }
File renamed without changes.
Original file line number Diff line number Diff line change @@ -26,14 +26,15 @@ internal typealias AssetImageTypeAlias = ImageAsset.Image
2626internal enum Asset {
2727 internal static let accentColor = ColorAsset ( name: " AccentColor " )
2828 internal enum Colors {
29+ internal static let _42526ETextFieldText = ColorAsset ( name: " 42526E Text field text " )
30+ internal static let _83879BTextFiledTitle = ColorAsset ( name: " 83879B Text filed title " )
2931 internal static let accentLavender = ColorAsset ( name: " Accent Lavender " )
3032 internal static let accentPink = ColorAsset ( name: " Accent Pink " )
31- internal static let borderColorGrayD5DBE6 = ColorAsset ( name: " Border Color gray D5DBE6 " )
33+ internal static let d5DBE6BorderColorGray = ColorAsset ( name: " D5DBE6 Border Color gray " )
34+ internal static let e5E5E5GrayBackgroudn = ColorAsset ( name: " E5E5E5 Gray backgroudn " )
35+ internal static let e7E3EELightPurpuleBg = ColorAsset ( name: " E7E3EE Light Purpule bg " )
3236 internal static let huskyGold = ColorAsset ( name: " Husky Gold " )
3337 internal static let huskyPurple = ColorAsset ( name: " Husky Purple " )
34- internal static let lightPurpuleBgE7E3EE = ColorAsset ( name: " Light Purpule bg E7E3EE " )
35- internal static let textFieldText42526E = ColorAsset ( name: " Text field text 42526E " )
36- internal static let textFiledTitle83879B = ColorAsset ( name: " Text filed title 83879B " )
3738 internal static let theme = ColorAsset ( name: " theme " )
3839 }
3940 internal enum QuestIcons {
Original file line number Diff line number Diff line change @@ -16,13 +16,13 @@ struct FloatingLabelTextField: View {
1616 ZStack ( alignment: . leading) {
1717 // Border box
1818 RoundedRectangle ( cornerRadius: 6 )
19- . stroke ( Asset . Colors. borderColorGrayD5DBE6 . swiftUIColor, lineWidth: 1 )
19+ . stroke ( Asset . Colors. d5DBE6BorderColorGray . swiftUIColor, lineWidth: 1 )
2020 . frame ( height: 50 )
2121
2222 if !text. isEmpty {
2323 // Floating label
2424 Text ( title)
25- . foregroundColor ( Asset . Colors. textFiledTitle83879B . swiftUIColor)
25+ . foregroundColor ( Asset . Colors. _83879BTextFiledTitle . swiftUIColor)
2626 . background ( . white)
2727 . font ( FontFamily . Lato. regular. swiftUIFont ( fixedSize: 16 ) )
2828 . padding ( . horizontal, 4 )
@@ -40,7 +40,7 @@ struct FloatingLabelTextField: View {
4040 . padding ( . horizontal, 8 )
4141 . frame ( height: 50 )
4242 . font ( FontFamily . Lato. bold. swiftUIFont ( fixedSize: 16 ) )
43- . foregroundStyle ( Asset . Colors. textFieldText42526E . swiftUIColor)
43+ . foregroundStyle ( Asset . Colors. _42526ETextFieldText . swiftUIColor)
4444 }
4545 }
4646 }
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ struct PosmLoginView: View {
2323 ZStack {
2424 VStack {
2525 ZStack {
26- Asset . Colors. lightPurpuleBgE7E3EE . swiftUIColor
26+ Asset . Colors. e7E3EELightPurpuleBg . swiftUIColor
2727 . ignoresSafeArea ( edges: . top)
2828
2929 HStack {
@@ -181,7 +181,7 @@ struct PosmLoginView: View {
181181 let build = Bundle . main. infoDictionary ? [ " CFBundleVersion " ] as? String ?? " N/A "
182182 return Text ( " Version \( version) ( \( build) ) " )
183183 . font ( FontFamily . Lato. medium. swiftUIFont ( size: 16 ) )
184- . foregroundColor ( Asset . Colors. textFiledTitle83879B . swiftUIColor)
184+ . foregroundColor ( Asset . Colors. _83879BTextFiledTitle . swiftUIColor)
185185 }
186186}
187187
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ struct SecureInputView: View {
2727 }
2828 } . padding ( . trailing, 32 )
2929 . font ( FontFamily . Lato. bold. swiftUIFont ( size: 16 ) )
30- . foregroundStyle ( Asset . Colors. textFieldText42526E . swiftUIColor)
30+ . foregroundStyle ( Asset . Colors. _42526ETextFieldText . swiftUIColor)
3131
3232 Button ( action: {
3333 isSecured. toggle ( )
You can’t perform that action at this time.
0 commit comments