Skip to content

Commit 367e1b7

Browse files
committed
⚡️ :: Error Color (Test용) 추가
1 parent 9f2f184 commit 367e1b7

File tree

4 files changed

+44
-39
lines changed

4 files changed

+44
-39
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"colors" : [
3+
{
4+
"color" : {
5+
"color-space" : "srgb",
6+
"components" : {
7+
"alpha" : "1.000",
8+
"blue" : "0x1E",
9+
"green" : "0x26",
10+
"red" : "0xB3"
11+
}
12+
},
13+
"idiom" : "universal"
14+
}
15+
],
16+
"info" : {
17+
"author" : "xcode",
18+
"version" : 1
19+
}
20+
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"colors" : [
3+
{
4+
"color" : {
5+
"color-space" : "srgb",
6+
"components" : {
7+
"alpha" : "1.000",
8+
"blue" : "0x62",
9+
"green" : "0x69",
10+
"red" : "0xE4"
11+
}
12+
},
13+
"idiom" : "universal"
14+
}
15+
],
16+
"info" : {
17+
"author" : "xcode",
18+
"version" : 1
19+
}
20+
}

xquare-design-system-iOS/Resources/ErrorColor.xcassets/Molla.colorset/Contents.json

Lines changed: 0 additions & 38 deletions
This file was deleted.

xquare-design-system-iOS/Sources/Color/XErrorColor.swift

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,8 @@ public extension Color {
55
}
66

77
public extension Color.Error {
8-
static let error50: Color = Color("Error 50", bundle: Bundle.module)
8+
private static let error40: Color = Color(type: .error, 40)
9+
private static let error60: Color = Color(type: .error, 60)
10+
11+
static let error: Color = error60.darkModeColor(error40)
912
}

0 commit comments

Comments
 (0)