Skip to content

Commit

Permalink
[#187] icon 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
JJongW committed Mar 12, 2023
1 parent d0efa4d commit 96301fd
Show file tree
Hide file tree
Showing 7 changed files with 42 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ class TooltipPageViewController: StoryBookViewController {

private func resetupTooltip() {
tooltip.removeFromSuperview()
tooltip = YDSTooltip(text: tooltipInfo.text ,
tooltip = YDSTooltip(text: tooltipInfo.text,
color: tooltipInfo.color,
tailPosition: tooltipInfo.tailPosition,
duration: tooltipInfo.duration)
Expand Down
2 changes: 2 additions & 0 deletions YDS-Storybook/Resources/YDSIconArray.swift
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ let ydsIconArray = [
YDSIcon.foodcalendarLine,
YDSIcon.groundFilled,
YDSIcon.groundLine,
YDSIcon.heartFilled,
YDSIcon.heartLine,
YDSIcon.homeFilled,
YDSIcon.homeLine,
YDSIcon.listLine,
Expand Down
2 changes: 2 additions & 0 deletions YDS/Source/Foundation/YDSIcon.swift
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ public enum YDSIcon {
public static var foodcalendarLine: UIImage { .load(name: "ic_foodcalendar_line") }
public static var groundFilled: UIImage { .load(name: "ic_ground_filled") }
public static var groundLine: UIImage { .load(name: "ic_ground_line") }
public static var heartFilled: UIImage { .load(name: "ic_heart_filled") }
public static var heartLine: UIImage { .load(name: "ic_heart_line") }
public static var homeFilled: UIImage { .load(name: "ic_home_filled") }
public static var homeLine: UIImage { .load(name: "ic_home_line") }
public static var listLine: UIImage { .load(name: "ic_list_line") }
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"images" : [
{
"filename" : "ic_heart_filled.svg",
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"preserves-vector-representation" : true
}
}
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,15 @@
{
"images" : [
{
"filename" : "ic_heart_line.svg",
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"preserves-vector-representation" : true
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 96301fd

Please sign in to comment.