Skip to content

Commit

Permalink
chore: added missed colors
Browse files Browse the repository at this point in the history
  • Loading branch information
rnr committed Dec 13, 2024
1 parent efbb635 commit f6dd4e0
Show file tree
Hide file tree
Showing 6 changed files with 85 additions and 2 deletions.
6 changes: 6 additions & 0 deletions Theme/Theme/Assets.xcassets/Colors/Tabbar/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"info" : {
"author" : "xcode",
"version" : 1
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"colors" : [
{
"color" : {
"color-space" : "display-p3",
"components" : {
"alpha" : "1.000",
"blue" : "0xFA",
"green" : "0xF9",
"red" : "0xF8"
}
},
"idiom" : "universal"
},
{
"appearances" : [
{
"appearance" : "luminosity",
"value" : "dark"
}
],
"color" : {
"color-space" : "display-p3",
"components" : {
"alpha" : "1.000",
"blue" : "0.275",
"green" : "0.200",
"red" : "0.153"
}
},
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"colors" : [
{
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "1.000",
"blue" : "0.733",
"green" : "0.647",
"red" : "0.592"
}
},
"idiom" : "universal"
},
{
"appearances" : [
{
"appearance" : "luminosity",
"value" : "dark"
}
],
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "1.000",
"blue" : "0.624",
"green" : "0.533",
"red" : "0.475"
}
},
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
4 changes: 3 additions & 1 deletion Theme/Theme/SwiftGen/ThemeAssets.swift
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,9 @@ public enum ThemeAssets {
public static let disabledButton = ColorAsset(name: "disabledButton")
public static let disabledButtonText = ColorAsset(name: "disabledButtonText")
public static let success = ColorAsset(name: "Success")
public static let tabbarColor = ColorAsset(name: "TabbarColor")
public static let tabbarActiveColor = ColorAsset(name: "TabbarActiveColor")
public static let tabbarBGColor = ColorAsset(name: "TabbarBGColor")
public static let tabbarInactiveColor = ColorAsset(name: "TabbarInactiveColor")
public static let textPrimary = ColorAsset(name: "TextPrimary")
public static let textSecondary = ColorAsset(name: "TextSecondary")
public static let textSecondaryLight = ColorAsset(name: "TextSecondaryLight")
Expand Down
1 change: 0 additions & 1 deletion Theme/Theme/Theme.swift
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ public struct Theme: Sendable {
nonisolated(unsafe) public private(set) static var secondaryButtonTextColor = ThemeAssets.secondaryButtonTextColor.swiftUIColor
nonisolated(unsafe) public private(set) static var secondaryButtonBGColor = ThemeAssets.secondaryButtonBGColor.swiftUIColor
nonisolated(unsafe) public private(set) static var success = ThemeAssets.success.swiftUIColor
nonisolated(unsafe) public private(set) static var tabbarColor = ThemeAssets.tabbarColor.swiftUIColor
nonisolated(unsafe) public private(set) static var primaryButtonTextColor = ThemeAssets.primaryButtonTextColor.swiftUIColor
nonisolated(unsafe) public private(set) static var toggleSwitchColor = ThemeAssets.toggleSwitchColor.swiftUIColor
nonisolated(unsafe) public private(set) static var textInputTextColor = ThemeAssets.textInputTextColor.swiftUIColor
Expand Down

0 comments on commit f6dd4e0

Please sign in to comment.