Skip to content

Commit

Permalink
[#27] 색상 및 아이콘 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
LeeJoEun-01 committed Nov 18, 2024
1 parent a80d94f commit f4b314c
Show file tree
Hide file tree
Showing 26 changed files with 268 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"images" : [
{
"filename" : "ic_arrowsChevronDown_filled.svg",
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"images" : [
{
"filename" : "ic_arrowsChevronDown_line.svg",
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"images" : [
{
"filename" : "ic_arrowsChevronLeft_filled.svg",
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"images" : [
{
"filename" : "ic_arrowsChevronLeft_line.svg",
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"images" : [
{
"filename" : "ic_arrowsChevronRight_filled.svg",
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"images" : [
{
"filename" : "ic_arrowsChevronRight_line.svg",
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"images" : [
{
"filename" : "ic_arrowsChevronUp_filled.svg",
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"images" : [
{
"filename" : "ic_arrowsChevronUp_line.svg",
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"images" : [
{
"filename" : "ic_user_filled.svg",
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"images" : [
{
"filename" : "ic_user_line.svg",
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 12 additions & 2 deletions Handy/Handy/Source/Foundation/HandyIcon.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@
import UIKit

public enum HandyIcon {
public static var arrowsChevronDownFilled: UIImage { .load(name: "ic_arrowsChevronDown_filled") }
public static var arrowsChevronDownLine: UIImage { .load(name: "ic_arrowsChevronDown_line") }
public static var arrowsChevronLeftFilled: UIImage { .load(name: "ic_arrowsChevronLeft_filled") }
public static var arrowsChevronLeftLine: UIImage { .load(name: "ic_arrowsChevronLeft_line") }
public static var arrowsChevronRightFilled: UIImage { .load(name: "ic_arrowsChevronRight_filled") }
public static var arrowsChevronRightLine: UIImage { .load(name: "ic_arrowsChevronRight_line") }
public static var arrowsChevronUpFilled: UIImage { .load(name: "ic_arrowsChevronUp_filled") }
public static var arrowsChevronUpLine: UIImage { .load(name: "ic_arrowsChevronUp_line") }
public static var alertTriangleFilled: UIImage { .load(name: "ic_alertTriangle_filled") }
public static var alertTriangleLine: UIImage { .load(name: "ic_alertTriangle_line") }
public static var bookmarkFilled: UIImage { .load(name: "ic_bookmark_filled") }
Expand All @@ -16,6 +24,8 @@ public enum HandyIcon {
public static var cancelLine: UIImage { .load(name: "ic_cancel_line") }
public static var chatFilled: UIImage { .load(name: "ic_chat_filled") }
public static var chatLine: UIImage { .load(name: "ic_chat_line") }
public static var closeFilled: UIImage { .load(name: "ic_close_filled") }
public static var closeLine: UIImage { .load(name: "ic_close_line") }
public static var downloadFilled: UIImage { .load(name: "ic_download_filled") }
public static var downloadLine: UIImage { .load(name: "ic_download_line") }
public static var eyeFilled: UIImage { .load(name: "ic_eye_filled") }
Expand All @@ -28,12 +38,12 @@ public enum HandyIcon {
public static var notificationOffLine: UIImage { .load(name: "ic_notificationOff_line") }
public static var retryRefreshFilled: UIImage { .load(name: "ic_retryRefresh_filled") }
public static var retryRefreshLine: UIImage { .load(name: "ic_retryRefresh_line") }
public static var userFilled: UIImage { .load(name: "ic_user_filled") }
public static var userLine: UIImage { .load(name: "ic_user_line") }
public static var volumeFilled: UIImage { .load(name: "ic_volume_filled") }
public static var volumeLine: UIImage { .load(name: "ic_volume_line") }
public static var wifiFilled: UIImage { .load(name: "ic_wifi_filled") }
public static var wifiLine: UIImage { .load(name: "ic_wifi_line") }
public static var closeFilled: UIImage { .load(name: "ic_close_filled") }
public static var closeLine: UIImage { .load(name: "ic_close_line") }

public static var checkBoxFilled: UIImage { .load(name: "checkBoxFilled") }
public static var checkBoxLine: UIImage { .load(name: "checkBoxLine") }
Expand Down
14 changes: 14 additions & 0 deletions Handy/Handy/Source/Foundation/HandySematic.swift
Original file line number Diff line number Diff line change
Expand Up @@ -320,4 +320,18 @@ public enum HandySemantic {
return .redSub
}

// MARK: - List

public static var listEnabled: UIColor {
return .white
}

public static var listPressed: UIColor {
return .gray50
}

public static var listDisabled: UIColor {
return .white
}

}

0 comments on commit f4b314c

Please sign in to comment.