diff --git a/Atcha-iOS/AppDelegate.swift b/Atcha-iOS/Delegate/AppDelegate.swift similarity index 100% rename from Atcha-iOS/AppDelegate.swift rename to Atcha-iOS/Delegate/AppDelegate.swift diff --git a/Atcha-iOS/SceneDelegate.swift b/Atcha-iOS/Delegate/SceneDelegate.swift similarity index 100% rename from Atcha-iOS/SceneDelegate.swift rename to Atcha-iOS/Delegate/SceneDelegate.swift diff --git a/Atcha-iOS/Assets.xcassets/AccentColor.colorset/Contents.json b/Atcha-iOS/DesignSource/Assets.xcassets/AccentColor.colorset/Contents.json similarity index 100% rename from Atcha-iOS/Assets.xcassets/AccentColor.colorset/Contents.json rename to Atcha-iOS/DesignSource/Assets.xcassets/AccentColor.colorset/Contents.json diff --git a/Atcha-iOS/Assets.xcassets/AppIcon.appiconset/Contents.json b/Atcha-iOS/DesignSource/Assets.xcassets/AppIcon.appiconset/Contents.json similarity index 100% rename from Atcha-iOS/Assets.xcassets/AppIcon.appiconset/Contents.json rename to Atcha-iOS/DesignSource/Assets.xcassets/AppIcon.appiconset/Contents.json diff --git a/Atcha-iOS/Assets.xcassets/Contents.json b/Atcha-iOS/DesignSource/Assets.xcassets/Contents.json similarity index 100% rename from Atcha-iOS/Assets.xcassets/Contents.json rename to Atcha-iOS/DesignSource/Assets.xcassets/Contents.json diff --git a/Atcha-iOS/DesignSource/AtchaColor/AtchaColor.swift b/Atcha-iOS/DesignSource/AtchaColor/AtchaColor.swift new file mode 100644 index 00000000..57bafafc --- /dev/null +++ b/Atcha-iOS/DesignSource/AtchaColor/AtchaColor.swift @@ -0,0 +1,81 @@ +// +// AtchaColor.swift +// Atcha-iOS +// +// Created by wodnd on 6/15/25. +// + +import UIKit + +enum AtchaColor{ + + // MARK: - Static + static let black = UIColor(named: "black")! + static let white = UIColor(named: "white")! + + // MARK: - Primary + static let main = UIColor(named: "Main")! + + // MARK: - Gray + static let gray100 = UIColor(named: "gray100")! + static let gray200 = UIColor(named: "gray200")! + static let gray300 = UIColor(named: "gray300")! + static let gray400 = UIColor(named: "gray400")! + static let gray500 = UIColor(named: "gray500")! + static let gray600 = UIColor(named: "gray600")! + static let gray700 = UIColor(named: "gray700")! + static let gray800 = UIColor(named: "gray800")! + static let gray910 = UIColor(named: "gray910")! + static let gray920 = UIColor(named: "gray920")! + static let gray930 = UIColor(named: "gray930")! + static let gray940 = UIColor(named: "gray940")! + static let gray950 = UIColor(named: "gray950")! + + // MARK: - Opacity + static let opacity100 = UIColor(named: "opacity100")! + static let opacity200 = UIColor(named: "opacity200")! + static let opacity300 = UIColor(named: "opacity300")! + + + // MARK: - Transportation/Bus + enum Bus { + static let regular = UIColor(named: "regular")! + static let town = UIColor(named: "town")! + static let mainline = UIColor(named: "mainline")! + static let widearea = UIColor(named: "widearea")! + } + + // MARK: - Transportation/Subway + enum Subway { + static let line1 = UIColor(named: "line1")! + static let line2 = UIColor(named: "line2")! + static let line3 = UIColor(named: "line3")! + static let line4 = UIColor(named: "line4")! + static let line5 = UIColor(named: "line5")! + static let line6 = UIColor(named: "line6")! + static let line7 = UIColor(named: "line7")! + static let line8 = UIColor(named: "line8")! + static let line9 = UIColor(named: "line9")! + static let airport = UIColor(named: "Airport")! + static let everLine = UIColor(named: "EverLine")! + static let gimpo = UIColor(named: "Gimpo")! + static let gtxA = UIColor(named: "GTX-A")! + static let gyeongchun = UIColor(named: "Gyeongchun")! + static let gyeonggang = UIColor(named: "Gyeonggang")! + static let gyeonguiJungang = UIColor(named: "Gyeongui-jungang")! + static let incheon1 = UIColor(named: "Incheon1")! + static let incheon2 = UIColor(named: "Incheon2")! + static let seohae = UIColor(named: "Seohae")! + static let shinbundang = UIColor(named: "Shinbundang")! + static let sillim = UIColor(named: "Sillim")! + static let suinBundang = UIColor(named: "SuinBundang")! + static let uiSinseol = UIColor(named: "Ui-Sinseol")! + static let uijeongbu = UIColor(named: "Uijeongbu")! + } + + // MARK: - 사용 예시 + // + // titleLabel.textColor = AtchaColor.gray900 + // busIcon.tintColor = AtchaColor.Bus.mainline + // lineView.backgroundColor = AtchaColor.Subway.line2 +} diff --git a/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Contents.json b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Contents.json new file mode 100644 index 00000000..73c00596 --- /dev/null +++ b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Opacity/Contents.json b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Opacity/Contents.json new file mode 100644 index 00000000..73c00596 --- /dev/null +++ b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Opacity/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Opacity/opacity100.colorset/Contents.json b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Opacity/opacity100.colorset/Contents.json new file mode 100644 index 00000000..b175bc97 --- /dev/null +++ b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Opacity/opacity100.colorset/Contents.json @@ -0,0 +1,20 @@ +{ + "colors" : [ + { + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "0.040", + "blue" : "0xFF", + "green" : "0xFF", + "red" : "0xFF" + } + }, + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Opacity/opacity200.colorset/Contents.json b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Opacity/opacity200.colorset/Contents.json new file mode 100644 index 00000000..1427c73e --- /dev/null +++ b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Opacity/opacity200.colorset/Contents.json @@ -0,0 +1,20 @@ +{ + "colors" : [ + { + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "0.400", + "blue" : "0x30", + "green" : "0x2C", + "red" : "0x2C" + } + }, + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Opacity/opacity300.colorset/Contents.json b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Opacity/opacity300.colorset/Contents.json new file mode 100644 index 00000000..707c5697 --- /dev/null +++ b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Opacity/opacity300.colorset/Contents.json @@ -0,0 +1,20 @@ +{ + "colors" : [ + { + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "0.800", + "blue" : "0x2B", + "green" : "0x27", + "red" : "0x27" + } + }, + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Primary/Contents.json b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Primary/Contents.json new file mode 100644 index 00000000..73c00596 --- /dev/null +++ b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Primary/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Primary/Main.colorset/Contents.json b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Primary/Main.colorset/Contents.json new file mode 100644 index 00000000..b3d65c37 --- /dev/null +++ b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Primary/Main.colorset/Contents.json @@ -0,0 +1,20 @@ +{ + "colors" : [ + { + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0x77", + "green" : "0xF9", + "red" : "0x99" + } + }, + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Static/Contents.json b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Static/Contents.json new file mode 100644 index 00000000..73c00596 --- /dev/null +++ b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Static/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Static/black.colorset/Contents.json b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Static/black.colorset/Contents.json new file mode 100644 index 00000000..7e8f38fe --- /dev/null +++ b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Static/black.colorset/Contents.json @@ -0,0 +1,20 @@ +{ + "colors" : [ + { + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0x00", + "green" : "0x00", + "red" : "0x00" + } + }, + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Static/white.colorset/Contents.json b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Static/white.colorset/Contents.json new file mode 100644 index 00000000..a61d481a --- /dev/null +++ b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Static/white.colorset/Contents.json @@ -0,0 +1,20 @@ +{ + "colors" : [ + { + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0xFF", + "green" : "0xFF", + "red" : "0xFE" + } + }, + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Bus/Contents.json b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Bus/Contents.json new file mode 100644 index 00000000..73c00596 --- /dev/null +++ b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Bus/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Bus/mainline.colorset/Contents.json b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Bus/mainline.colorset/Contents.json new file mode 100644 index 00000000..92ce799e --- /dev/null +++ b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Bus/mainline.colorset/Contents.json @@ -0,0 +1,20 @@ +{ + "colors" : [ + { + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0xFF", + "green" : "0x77", + "red" : "0x17" + } + }, + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Bus/regular.colorset/Contents.json b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Bus/regular.colorset/Contents.json new file mode 100644 index 00000000..9747df80 --- /dev/null +++ b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Bus/regular.colorset/Contents.json @@ -0,0 +1,20 @@ +{ + "colors" : [ + { + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0x47", + "green" : "0xB8", + "red" : "0x24" + } + }, + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Bus/town.colorset/Contents.json b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Bus/town.colorset/Contents.json new file mode 100644 index 00000000..4dc6a62f --- /dev/null +++ b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Bus/town.colorset/Contents.json @@ -0,0 +1,20 @@ +{ + "colors" : [ + { + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0x3F", + "green" : "0xC5", + "red" : "0x6F" + } + }, + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Bus/widearea.colorset/Contents.json b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Bus/widearea.colorset/Contents.json new file mode 100644 index 00000000..43e5033b --- /dev/null +++ b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Bus/widearea.colorset/Contents.json @@ -0,0 +1,20 @@ +{ + "colors" : [ + { + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0x47", + "green" : "0x47", + "red" : "0xF2" + } + }, + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Contents.json b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Contents.json new file mode 100644 index 00000000..73c00596 --- /dev/null +++ b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Subway/Airport.colorset/Contents.json b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Subway/Airport.colorset/Contents.json new file mode 100644 index 00000000..40c7b5ae --- /dev/null +++ b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Subway/Airport.colorset/Contents.json @@ -0,0 +1,20 @@ +{ + "colors" : [ + { + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0xDB", + "green" : "0xA9", + "red" : "0x5C" + } + }, + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Subway/Contents.json b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Subway/Contents.json new file mode 100644 index 00000000..73c00596 --- /dev/null +++ b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Subway/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Subway/EverLine.colorset/Contents.json b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Subway/EverLine.colorset/Contents.json new file mode 100644 index 00000000..c3cd7f47 --- /dev/null +++ b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Subway/EverLine.colorset/Contents.json @@ -0,0 +1,20 @@ +{ + "colors" : [ + { + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0x60", + "green" : "0xBA", + "red" : "0x66" + } + }, + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Subway/GTX-A.colorset/Contents.json b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Subway/GTX-A.colorset/Contents.json new file mode 100644 index 00000000..dcd5ad90 --- /dev/null +++ b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Subway/GTX-A.colorset/Contents.json @@ -0,0 +1,20 @@ +{ + "colors" : [ + { + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0x87", + "green" : "0x57", + "red" : "0x8F" + } + }, + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Subway/Gimpo.colorset/Contents.json b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Subway/Gimpo.colorset/Contents.json new file mode 100644 index 00000000..c5832259 --- /dev/null +++ b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Subway/Gimpo.colorset/Contents.json @@ -0,0 +1,20 @@ +{ + "colors" : [ + { + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0x10", + "green" : "0x7A", + "red" : "0x9F" + } + }, + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Subway/Gyeongchun.colorset/Contents.json b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Subway/Gyeongchun.colorset/Contents.json new file mode 100644 index 00000000..46daf8e6 --- /dev/null +++ b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Subway/Gyeongchun.colorset/Contents.json @@ -0,0 +1,20 @@ +{ + "colors" : [ + { + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0x8B", + "green" : "0xBA", + "red" : "0x2B" + } + }, + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Subway/Gyeonggang.colorset/Contents.json b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Subway/Gyeonggang.colorset/Contents.json new file mode 100644 index 00000000..01e3106d --- /dev/null +++ b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Subway/Gyeonggang.colorset/Contents.json @@ -0,0 +1,20 @@ +{ + "colors" : [ + { + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0xC3", + "green" : "0x6C", + "red" : "0x39" + } + }, + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Subway/Gyeongui-jungang.colorset/Contents.json b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Subway/Gyeongui-jungang.colorset/Contents.json new file mode 100644 index 00000000..efdd0a1e --- /dev/null +++ b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Subway/Gyeongui-jungang.colorset/Contents.json @@ -0,0 +1,20 @@ +{ + "colors" : [ + { + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0xAD", + "green" : "0xAD", + "red" : "0x3E" + } + }, + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Subway/Incheon1.colorset/Contents.json b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Subway/Incheon1.colorset/Contents.json new file mode 100644 index 00000000..e75562d4 --- /dev/null +++ b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Subway/Incheon1.colorset/Contents.json @@ -0,0 +1,20 @@ +{ + "colors" : [ + { + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0xE6", + "green" : "0xA4", + "red" : "0x71" + } + }, + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Subway/Incheon2.colorset/Contents.json b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Subway/Incheon2.colorset/Contents.json new file mode 100644 index 00000000..e75562d4 --- /dev/null +++ b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Subway/Incheon2.colorset/Contents.json @@ -0,0 +1,20 @@ +{ + "colors" : [ + { + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0xE6", + "green" : "0xA4", + "red" : "0x71" + } + }, + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Subway/Seohae.colorset/Contents.json b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Subway/Seohae.colorset/Contents.json new file mode 100644 index 00000000..c70e7961 --- /dev/null +++ b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Subway/Seohae.colorset/Contents.json @@ -0,0 +1,20 @@ +{ + "colors" : [ + { + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0x39", + "green" : "0xC9", + "red" : "0x90" + } + }, + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Subway/Shinbundang.colorset/Contents.json b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Subway/Shinbundang.colorset/Contents.json new file mode 100644 index 00000000..e4a34f92 --- /dev/null +++ b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Subway/Shinbundang.colorset/Contents.json @@ -0,0 +1,20 @@ +{ + "colors" : [ + { + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0x49", + "green" : "0x36", + "red" : "0xBF" + } + }, + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Subway/Sillim.colorset/Contents.json b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Subway/Sillim.colorset/Contents.json new file mode 100644 index 00000000..61eb70af --- /dev/null +++ b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Subway/Sillim.colorset/Contents.json @@ -0,0 +1,20 @@ +{ + "colors" : [ + { + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0xC4", + "green" : "0x8C", + "red" : "0x60" + } + }, + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Subway/SuinBundang.colorset/Contents.json b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Subway/SuinBundang.colorset/Contents.json new file mode 100644 index 00000000..057759b0 --- /dev/null +++ b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Subway/SuinBundang.colorset/Contents.json @@ -0,0 +1,20 @@ +{ + "colors" : [ + { + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0x21", + "green" : "0xB4", + "red" : "0xDD" + } + }, + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Subway/Ui-Sinseol.colorset/Contents.json b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Subway/Ui-Sinseol.colorset/Contents.json new file mode 100644 index 00000000..d1e45349 --- /dev/null +++ b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Subway/Ui-Sinseol.colorset/Contents.json @@ -0,0 +1,20 @@ +{ + "colors" : [ + { + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0x1C", + "green" : "0xB5", + "red" : "0xBB" + } + }, + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Subway/Uijeongbu.colorset/Contents.json b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Subway/Uijeongbu.colorset/Contents.json new file mode 100644 index 00000000..237222d9 --- /dev/null +++ b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Subway/Uijeongbu.colorset/Contents.json @@ -0,0 +1,20 @@ +{ + "colors" : [ + { + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0x24", + "green" : "0x8E", + "red" : "0xE6" + } + }, + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Subway/line1.colorset/Contents.json b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Subway/line1.colorset/Contents.json new file mode 100644 index 00000000..92ce799e --- /dev/null +++ b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Subway/line1.colorset/Contents.json @@ -0,0 +1,20 @@ +{ + "colors" : [ + { + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0xFF", + "green" : "0x77", + "red" : "0x17" + } + }, + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Subway/line2.colorset/Contents.json b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Subway/line2.colorset/Contents.json new file mode 100644 index 00000000..9747df80 --- /dev/null +++ b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Subway/line2.colorset/Contents.json @@ -0,0 +1,20 @@ +{ + "colors" : [ + { + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0x47", + "green" : "0xB8", + "red" : "0x24" + } + }, + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Subway/line3.colorset/Contents.json b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Subway/line3.colorset/Contents.json new file mode 100644 index 00000000..ce1599f2 --- /dev/null +++ b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Subway/line3.colorset/Contents.json @@ -0,0 +1,20 @@ +{ + "colors" : [ + { + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0x2A", + "green" : "0x7B", + "red" : "0xED" + } + }, + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Subway/line4.colorset/Contents.json b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Subway/line4.colorset/Contents.json new file mode 100644 index 00000000..6aaa300b --- /dev/null +++ b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Subway/line4.colorset/Contents.json @@ -0,0 +1,20 @@ +{ + "colors" : [ + { + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0xFF", + "green" : "0xB1", + "red" : "0x3E" + } + }, + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Subway/line5.colorset/Contents.json b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Subway/line5.colorset/Contents.json new file mode 100644 index 00000000..cb350505 --- /dev/null +++ b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Subway/line5.colorset/Contents.json @@ -0,0 +1,20 @@ +{ + "colors" : [ + { + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0xF6", + "green" : "0x4F", + "red" : "0x92" + } + }, + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Subway/line6.colorset/Contents.json b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Subway/line6.colorset/Contents.json new file mode 100644 index 00000000..5b67bf9b --- /dev/null +++ b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Subway/line6.colorset/Contents.json @@ -0,0 +1,20 @@ +{ + "colors" : [ + { + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0x31", + "green" : "0x6E", + "red" : "0xC8" + } + }, + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Subway/line7.colorset/Contents.json b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Subway/line7.colorset/Contents.json new file mode 100644 index 00000000..11ba5b0f --- /dev/null +++ b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Subway/line7.colorset/Contents.json @@ -0,0 +1,20 @@ +{ + "colors" : [ + { + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0x1D", + "green" : "0xA8", + "red" : "0x9B" + } + }, + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Subway/line8.colorset/Contents.json b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Subway/line8.colorset/Contents.json new file mode 100644 index 00000000..5dfc3fb0 --- /dev/null +++ b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Subway/line8.colorset/Contents.json @@ -0,0 +1,20 @@ +{ + "colors" : [ + { + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0x90", + "green" : "0x4B", + "red" : "0xF5" + } + }, + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Subway/line9.colorset/Contents.json b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Subway/line9.colorset/Contents.json new file mode 100644 index 00000000..2c7c09cb --- /dev/null +++ b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/Transportation/Subway/line9.colorset/Contents.json @@ -0,0 +1,20 @@ +{ + "colors" : [ + { + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0x16", + "green" : "0xA5", + "red" : "0xD8" + } + }, + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/gray/Contents.json b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/gray/Contents.json new file mode 100644 index 00000000..73c00596 --- /dev/null +++ b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/gray/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/gray/gray100.colorset/Contents.json b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/gray/gray100.colorset/Contents.json new file mode 100644 index 00000000..e6a75dca --- /dev/null +++ b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/gray/gray100.colorset/Contents.json @@ -0,0 +1,20 @@ +{ + "colors" : [ + { + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0xC2", + "green" : "0xB9", + "red" : "0xB9" + } + }, + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/gray/gray200.colorset/Contents.json b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/gray/gray200.colorset/Contents.json new file mode 100644 index 00000000..7f68166a --- /dev/null +++ b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/gray/gray200.colorset/Contents.json @@ -0,0 +1,20 @@ +{ + "colors" : [ + { + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0xA4", + "green" : "0x9C", + "red" : "0x99" + } + }, + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/gray/gray300.colorset/Contents.json b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/gray/gray300.colorset/Contents.json new file mode 100644 index 00000000..398ef62a --- /dev/null +++ b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/gray/gray300.colorset/Contents.json @@ -0,0 +1,20 @@ +{ + "colors" : [ + { + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0x8A", + "green" : "0x7E", + "red" : "0x7E" + } + }, + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/gray/gray400.colorset/Contents.json b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/gray/gray400.colorset/Contents.json new file mode 100644 index 00000000..d97eafd5 --- /dev/null +++ b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/gray/gray400.colorset/Contents.json @@ -0,0 +1,20 @@ +{ + "colors" : [ + { + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0x70", + "green" : "0x69", + "red" : "0x66" + } + }, + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/gray/gray500.colorset/Contents.json b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/gray/gray500.colorset/Contents.json new file mode 100644 index 00000000..2613acf5 --- /dev/null +++ b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/gray/gray500.colorset/Contents.json @@ -0,0 +1,20 @@ +{ + "colors" : [ + { + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0x63", + "green" : "0x5B", + "red" : "0x5B" + } + }, + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/gray/gray600.colorset/Contents.json b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/gray/gray600.colorset/Contents.json new file mode 100644 index 00000000..99a4ef97 --- /dev/null +++ b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/gray/gray600.colorset/Contents.json @@ -0,0 +1,20 @@ +{ + "colors" : [ + { + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0x49", + "green" : "0x42", + "red" : "0x42" + } + }, + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/gray/gray700.colorset/Contents.json b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/gray/gray700.colorset/Contents.json new file mode 100644 index 00000000..2ac6711a --- /dev/null +++ b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/gray/gray700.colorset/Contents.json @@ -0,0 +1,20 @@ +{ + "colors" : [ + { + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0x42", + "green" : "0x3C", + "red" : "0x39" + } + }, + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/gray/gray800.colorset/Contents.json b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/gray/gray800.colorset/Contents.json new file mode 100644 index 00000000..d6e16417 --- /dev/null +++ b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/gray/gray800.colorset/Contents.json @@ -0,0 +1,20 @@ +{ + "colors" : [ + { + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0x3A", + "green" : "0x36", + "red" : "0x36" + } + }, + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/gray/gray910.colorset/Contents.json b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/gray/gray910.colorset/Contents.json new file mode 100644 index 00000000..c3629ecd --- /dev/null +++ b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/gray/gray910.colorset/Contents.json @@ -0,0 +1,20 @@ +{ + "colors" : [ + { + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0x2E", + "green" : "0x2C", + "red" : "0x2C" + } + }, + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/gray/gray920.colorset/Contents.json b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/gray/gray920.colorset/Contents.json new file mode 100644 index 00000000..dcd0904a --- /dev/null +++ b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/gray/gray920.colorset/Contents.json @@ -0,0 +1,20 @@ +{ + "colors" : [ + { + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0x2B", + "green" : "0x27", + "red" : "0x27" + } + }, + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/gray/gray930.colorset/Contents.json b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/gray/gray930.colorset/Contents.json new file mode 100644 index 00000000..b9b09edb --- /dev/null +++ b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/gray/gray930.colorset/Contents.json @@ -0,0 +1,20 @@ +{ + "colors" : [ + { + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0x23", + "green" : "0x1F", + "red" : "0x1F" + } + }, + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/gray/gray940.colorset/Contents.json b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/gray/gray940.colorset/Contents.json new file mode 100644 index 00000000..4257cc56 --- /dev/null +++ b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/gray/gray940.colorset/Contents.json @@ -0,0 +1,20 @@ +{ + "colors" : [ + { + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0x1E", + "green" : "0x1C", + "red" : "0x1C" + } + }, + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/gray/gray950.colorset/Contents.json b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/gray/gray950.colorset/Contents.json new file mode 100644 index 00000000..637bedcb --- /dev/null +++ b/Atcha-iOS/DesignSource/AtchaColor/Colors.xcassets/gray/gray950.colorset/Contents.json @@ -0,0 +1,20 @@ +{ + "colors" : [ + { + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0x15", + "green" : "0x13", + "red" : "0x13" + } + }, + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Atcha-iOS/DesignSource/AtchaFont/AtchaFont.swift b/Atcha-iOS/DesignSource/AtchaFont/AtchaFont.swift new file mode 100644 index 00000000..db793bd2 --- /dev/null +++ b/Atcha-iOS/DesignSource/AtchaFont/AtchaFont.swift @@ -0,0 +1,183 @@ +// +// AtchaFont.swift +// Atcha-iOS +// +// Created by wodnd on 6/15/25. +// + +import UIKit + +enum AtchaFont { + + // MARK: - Pretendard Weights + enum Pretendard: String { + case Bold = "Pretendard-Bold" + case ExtraBold = "Pretendard-ExtraBold" + case Medium = "Pretendard-Medium" + case Regular = "Pretendard-Regular" + case SemiBold = "Pretendard-SemiBold" + } + + // MARK: - 공통 생성기 + private static func styled(_ fontName: Pretendard, size: CGFloat, lineHeight: CGFloat, text: String, color: UIColor = .label, letterSpacing: CGFloat = 0) -> NSAttributedString { + let font = UIFont(name: fontName.rawValue, size: size)! + let paragraph = NSMutableParagraphStyle() + paragraph.minimumLineHeight = lineHeight + paragraph.maximumLineHeight = lineHeight + + let attributes: [NSAttributedString.Key: Any] = [ + .font: font, + .foregroundColor: color, + .kern: letterSpacing, + .paragraphStyle: paragraph + ] + + return NSAttributedString(string: text, attributes: attributes) + } + + // MARK: - Heading Styles + static func H1_EB_56(_ text: String, color: UIColor = .label) -> NSAttributedString { + styled(.ExtraBold, size: 56, lineHeight: 72, text: text, color: color) + } + + static func H1_SB_34(_ text: String, color: UIColor = .label) -> NSAttributedString { + styled(.SemiBold, size: 34, lineHeight: 41, text: text, color: color) + } + + static func H1_B_34(_ text: String, color: UIColor = .label) -> NSAttributedString { + styled(.Bold, size: 34, lineHeight: 41, text: text, color: color) + } + + static func H2_SB_26(_ text: String, color: UIColor = .label) -> NSAttributedString { + styled(.SemiBold, size: 26, lineHeight: 34, text: text, color: color) + } + + static func H2_B_26(_ text: String, color: UIColor = .label) -> NSAttributedString { + styled(.Bold, size: 26, lineHeight: 34, text: text, color: color) + } + + static func H3_SB_22(_ text: String, color: UIColor = .label) -> NSAttributedString { + styled(.SemiBold, size: 22, lineHeight: 28, text: text, color: color) + } + + static func H3_B_22(_ text: String, color: UIColor = .label) -> NSAttributedString { + styled(.Bold, size: 22, lineHeight: 28, text: text, color: color) + } + + static func H4_SB_20(_ text: String, color: UIColor = .label) -> NSAttributedString { + styled(.SemiBold, size: 20, lineHeight: 25, text: text, color: color) + } + + static func H4_B_20(_ text: String, color: UIColor = .label) -> NSAttributedString { + styled(.Bold, size: 20, lineHeight: 25, text: text, color: color) + } + + static func H4_M_20(_ text: String, color: UIColor = .label) -> NSAttributedString { + styled(.Medium, size: 20, lineHeight: 25, text: text, color: color) + } + + static func H5_SB_17(_ text: String, color: UIColor = .label) -> NSAttributedString { + styled(.SemiBold, size: 17, lineHeight: 24, text: text, color: color) + } + + static func H5_B_17(_ text: String, color: UIColor = .label) -> NSAttributedString { + styled(.Bold, size: 17, lineHeight: 24, text: text, color: color) + } + + static func H6_SB_15(_ text: String, color: UIColor = .label) -> NSAttributedString { + styled(.SemiBold, size: 15, lineHeight: 20, text: text, color: color) + } + + static func H6_B_15(_ text: String, color: UIColor = .label) -> NSAttributedString { + styled(.Bold, size: 15, lineHeight: 20, text: text, color: color) + } + + // MARK: - Body Styles + static func Body_M_17(_ text: String, color: UIColor = .label) -> NSAttributedString { + styled(.Medium, size: 17, lineHeight: 24, text: text, color: color) + } + + static func Body_R_17(_ text: String, color: UIColor = .label) -> NSAttributedString { + styled(.Regular, size: 17, lineHeight: 24, text: text, color: color) + } + + static func Body_M_15(_ text: String, color: UIColor = .label) -> NSAttributedString { + styled(.Medium, size: 15, lineHeight: 20, text: text, color: color) + } + + static func Body_R_15(_ text: String, color: UIColor = .label) -> NSAttributedString { + styled(.Regular, size: 15, lineHeight: 20, text: text, color: color) + } + + static func Body_SB_14(_ text: String, color: UIColor = .label) -> NSAttributedString { + styled(.SemiBold, size: 14, lineHeight: 18, text: text, color: color) + } + + static func Body_M_14(_ text: String, color: UIColor = .label) -> NSAttributedString { + styled(.Medium, size: 14, lineHeight: 18, text: text, color: color) + } + + static func Body_R_14(_ text: String, color: UIColor = .label) -> NSAttributedString { + styled(.Regular, size: 14, lineHeight: 18, text: text, color: color) + } + + static func Body_SB_13(_ text: String, color: UIColor = .label) -> NSAttributedString { + styled(.SemiBold, size: 13, lineHeight: 16, text: text, color: color) + } + + static func Body_M_13(_ text: String, color: UIColor = .label) -> NSAttributedString { + styled(.Medium, size: 13, lineHeight: 16, text: text, color: color) + } + + static func Body_R_13(_ text: String, color: UIColor = .label) -> NSAttributedString { + styled(.Regular, size: 13, lineHeight: 16, text: text, color: color) + } + + static func Body_SB_12(_ text: String, color: UIColor = .label) -> NSAttributedString { + styled(.SemiBold, size: 12, lineHeight: 14, text: text, color: color) + } + + static func Body_M_12(_ text: String, color: UIColor = .label) -> NSAttributedString { + styled(.Medium, size: 12, lineHeight: 14, text: text, color: color) + } + + static func Body_R_12(_ text: String, color: UIColor = .label) -> NSAttributedString { + styled(.Regular, size: 12, lineHeight: 14, text: text, color: color) + } + + static func Body_SB_11(_ text: String, color: UIColor = .label) -> NSAttributedString { + styled(.SemiBold, size: 11, lineHeight: 13, text: text, color: color) + } + + static func Body_M_11(_ text: String, color: UIColor = .label) -> NSAttributedString { + styled(.Medium, size: 11, lineHeight: 13, text: text, color: color) + } + + static func Body_R_11(_ text: String, color: UIColor = .label) -> NSAttributedString { + styled(.Regular, size: 11, lineHeight: 13, text: text, color: color) + } + + static func Body_SB_10(_ text: String, color: UIColor = .label) -> NSAttributedString { + styled(.SemiBold, size: 10, lineHeight: 12, text: text, color: color) + } + + static func Body_M_10(_ text: String, color: UIColor = .label) -> NSAttributedString { + styled(.Medium, size: 10, lineHeight: 12, text: text, color: color) + } + + static func Body_R_10(_ text: String, color: UIColor = .label) -> NSAttributedString { + styled(.Regular, size: 10, lineHeight: 12, text: text, color: color) + } + + // MARK: - 사용 예시 + // + // UILabel: + // titleLabel.attributedText = AtchaFont.H2_SB_26("자리에서 떠나기 전에") + // descriptionLabel.attributedText = AtchaFont.Body_R_12("설명 텍스트입니다", color: AtchaColor.gray600) + // + // UIButton: + // actionButton.setAttributedTitle(AtchaFont.Body_SB_14("확인", color: .white), for: .normal) + // + // UITextView: + // textView.attributedText = AtchaFont.Body_M_15("공지사항 본문 내용") +} diff --git a/Atcha-iOS/DesignSource/AtchaFont/Pretendard-Bold.otf b/Atcha-iOS/DesignSource/AtchaFont/Pretendard-Bold.otf new file mode 100644 index 00000000..8e5e30a2 Binary files /dev/null and b/Atcha-iOS/DesignSource/AtchaFont/Pretendard-Bold.otf differ diff --git a/Atcha-iOS/DesignSource/AtchaFont/Pretendard-ExtraBold.otf b/Atcha-iOS/DesignSource/AtchaFont/Pretendard-ExtraBold.otf new file mode 100644 index 00000000..388f3ca4 Binary files /dev/null and b/Atcha-iOS/DesignSource/AtchaFont/Pretendard-ExtraBold.otf differ diff --git a/Atcha-iOS/DesignSource/AtchaFont/Pretendard-Medium.otf b/Atcha-iOS/DesignSource/AtchaFont/Pretendard-Medium.otf new file mode 100644 index 00000000..05750698 Binary files /dev/null and b/Atcha-iOS/DesignSource/AtchaFont/Pretendard-Medium.otf differ diff --git a/Atcha-iOS/DesignSource/AtchaFont/Pretendard-Regular.otf b/Atcha-iOS/DesignSource/AtchaFont/Pretendard-Regular.otf new file mode 100644 index 00000000..08bf4cfc Binary files /dev/null and b/Atcha-iOS/DesignSource/AtchaFont/Pretendard-Regular.otf differ diff --git a/Atcha-iOS/DesignSource/AtchaFont/Pretendard-SemiBold.otf b/Atcha-iOS/DesignSource/AtchaFont/Pretendard-SemiBold.otf new file mode 100644 index 00000000..e7e36abc Binary files /dev/null and b/Atcha-iOS/DesignSource/AtchaFont/Pretendard-SemiBold.otf differ diff --git a/Atcha-iOS/Info.plist b/Atcha-iOS/Info.plist index dd3c9afd..4917e763 100644 --- a/Atcha-iOS/Info.plist +++ b/Atcha-iOS/Info.plist @@ -2,6 +2,14 @@ + UIAppFonts + + Pretendard-Bold.otf + Pretendard-ExtraBold.otf + Pretendard-Medium.otf + Pretendard-Regular.otf + Pretendard-SemiBold.otf + UIApplicationSceneManifest UIApplicationSupportsMultipleScenes