chore: export colors from zeplin

This commit is contained in:
sunxiaojian 2021-03-16 10:12:03 +08:00
parent 21362b56c3
commit 50a30cd18e
12 changed files with 140 additions and 56 deletions

View File

@ -67,6 +67,10 @@ internal enum Asset {
internal static let invalid = ColorAsset(name: "Colors/TextField/invalid") internal static let invalid = ColorAsset(name: "Colors/TextField/invalid")
internal static let valid = ColorAsset(name: "Colors/TextField/valid") internal static let valid = ColorAsset(name: "Colors/TextField/valid")
} }
internal static let backgroundLight = ColorAsset(name: "Colors/backgroundLight")
internal static let buttonDefault = ColorAsset(name: "Colors/buttonDefault")
internal static let buttonDisabled = ColorAsset(name: "Colors/buttonDisabled")
internal static let buttonInactive = ColorAsset(name: "Colors/buttonInactive")
internal static let lightAlertYellow = ColorAsset(name: "Colors/lightAlertYellow") internal static let lightAlertYellow = ColorAsset(name: "Colors/lightAlertYellow")
internal static let lightBackground = ColorAsset(name: "Colors/lightBackground") internal static let lightBackground = ColorAsset(name: "Colors/lightBackground")
internal static let lightBrandBlue = ColorAsset(name: "Colors/lightBrandBlue") internal static let lightBrandBlue = ColorAsset(name: "Colors/lightBrandBlue")

View File

@ -0,0 +1,20 @@
{
"colors" : [
{
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "1.000",
"blue" : "0.910",
"green" : "0.882",
"red" : "0.851"
}
},
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

View File

@ -0,0 +1,20 @@
{
"colors" : [
{
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "1.000",
"blue" : "0.851",
"green" : "0.565",
"red" : "0.169"
}
},
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

View File

@ -0,0 +1,20 @@
{
"colors" : [
{
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "1.000",
"blue" : "0.784",
"green" : "0.682",
"red" : "0.608"
}
},
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

View File

@ -0,0 +1,20 @@
{
"colors" : [
{
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "1.000",
"blue" : "0.549",
"green" : "0.510",
"red" : "0.431"
}
},
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

View File

@ -1,20 +1,20 @@
{ {
"colors" : [ "colors" : [
{ {
"idiom" : "universal",
"color" : { "color" : {
"color-space" : "srgb", "color-space" : "srgb",
"components" : { "components" : {
"alpha" : "1.000", "red" : "0.792",
"blue" : "0.016", "blue" : "0.016",
"green" : "0.561", "green" : "0.561",
"red" : "0.792" "alpha" : "1.000"
} }
}, }
"idiom" : "universal"
} }
], ],
"info" : { "info" : {
"author" : "xcode", "version" : 1,
"version" : 1 "author" : "xcode"
} }
} }

View File

@ -1,20 +1,20 @@
{ {
"info" : {
"version" : 1,
"author" : "xcode"
},
"colors" : [ "colors" : [
{ {
"color" : { "color" : {
"color-space" : "srgb", "color-space" : "srgb",
"components" : { "components" : {
"alpha" : "1.000", "alpha" : "1.000",
"red" : "0.875",
"blue" : "0.353", "blue" : "0.353",
"green" : "0.251", "green" : "0.251"
"red" : "0.875"
} }
}, },
"idiom" : "universal" "idiom" : "universal"
} }
], ]
"info" : { }
"author" : "xcode",
"version" : 1
}
}

View File

@ -1,6 +1,11 @@
{ {
"info" : {
"version" : 1,
"author" : "xcode"
},
"colors" : [ "colors" : [
{ {
"idiom" : "universal",
"color" : { "color" : {
"color-space" : "srgb", "color-space" : "srgb",
"components" : { "components" : {
@ -9,12 +14,7 @@
"green" : "0.137", "green" : "0.137",
"red" : "0.122" "red" : "0.122"
} }
}, }
"idiom" : "universal"
} }
], ]
"info" : { }
"author" : "xcode",
"version" : 1
}
}

View File

@ -1,20 +1,20 @@
{ {
"info" : {
"version" : 1,
"author" : "xcode"
},
"colors" : [ "colors" : [
{ {
"idiom" : "universal",
"color" : { "color" : {
"color-space" : "srgb",
"components" : { "components" : {
"blue" : "0.263",
"green" : "0.235",
"alpha" : "0.600", "alpha" : "0.600",
"blue" : "67", "red" : "0.235"
"green" : "60", },
"red" : "60" "color-space" : "srgb"
} }
},
"idiom" : "universal"
} }
], ]
"info" : { }
"author" : "xcode",
"version" : 1
}
}

View File

@ -1,20 +1,20 @@
{ {
"info" : {
"version" : 1,
"author" : "xcode"
},
"colors" : [ "colors" : [
{ {
"idiom" : "universal",
"color" : { "color" : {
"color-space" : "srgb", "color-space" : "srgb",
"components" : { "components" : {
"alpha" : "1.000", "alpha" : "1.000",
"blue" : "0.604",
"green" : "0.741", "green" : "0.741",
"red" : "0.475" "red" : "0.475",
"blue" : "0.604"
} }
}, }
"idiom" : "universal"
} }
], ]
"info" : { }
"author" : "xcode",
"version" : 1
}
}

View File

@ -1,20 +1,20 @@
{ {
"colors" : [ "colors" : [
{ {
"idiom" : "universal",
"color" : { "color" : {
"color-space" : "srgb",
"components" : { "components" : {
"red" : "0.996",
"alpha" : "1.000", "alpha" : "1.000",
"blue" : "0.996", "blue" : "0.996",
"green" : "1.000", "green" : "1.000"
"red" : "0.996" },
} "color-space" : "srgb"
}, }
"idiom" : "universal"
} }
], ],
"info" : { "info" : {
"author" : "xcode", "version" : 1,
"version" : 1 "author" : "xcode"
} }
} }

View File

@ -96,4 +96,4 @@ any server.";
"Scene.ServerRules.Subtitle" = "These rules are set by the admins of %@."; "Scene.ServerRules.Subtitle" = "These rules are set by the admins of %@.";
"Scene.ServerRules.Title" = "Some ground rules."; "Scene.ServerRules.Title" = "Some ground rules.";
"Scene.Welcome.Slogan" = "Social networking "Scene.Welcome.Slogan" = "Social networking
back in your hands."; back in your hands.";