Skip to content

Commit f33a3b3

Browse files
authored
[NL-5]: 디자인 시스템 추가 (#7)
* [NL-5]: Color asset 추가 * [NL-5]: ttf 리소스 추가 * [NL-5]: DesignSystem Project 로 분리 * [NL-5]: SwiftRichString 의존성 추가 * [NL-5]: Typography 구현 * [NL-5]: DesignSystem Sample App * [NL-5]: 누락된 LaunchScreen 설정 추가 * [NL-5]: lineHeightMultiple 값 보정 * [NL-5]: 색상값 변경사항 반영
1 parent d34694f commit f33a3b3

File tree

90 files changed

+1730
-5
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

90 files changed

+1730
-5
lines changed

App/Project.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ struct AppLayer: Layer {
1616
infoPlist: .extendingDefault(
1717
with: [
1818
"CFBundleDisplayName": "$(APP_NAME)",
19+
"UILaunchStoryboardName": "LaunchScreen",
1920
"UIApplicationSceneManifest": [
2021
"UIApplicationSupportsMultipleScenes": false,
2122
"UISceneConfigurations": [
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="13122.16" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
3+
<dependencies>
4+
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13104.12"/>
5+
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
6+
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
7+
</dependencies>
8+
<scenes>
9+
<!--View Controller-->
10+
<scene sceneID="EHf-IW-A2E">
11+
<objects>
12+
<viewController id="01J-lp-oVM" sceneMemberID="viewController">
13+
<view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
14+
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
15+
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
16+
<color key="backgroundColor" xcode11CocoaTouchSystemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
17+
<viewLayoutGuide key="safeArea" id="6Tk-OE-BBY"/>
18+
</view>
19+
</viewController>
20+
<placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
21+
</objects>
22+
<point key="canvasLocation" x="53" y="375"/>
23+
</scene>
24+
</scenes>
25+
</document>

App/Sources/SceneDelegate.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate {
77

88
func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
99
guard let windowScene = (scene as? UIWindowScene) else { return }
10-
window = UIWindow(frame: windowScene.coordinateSpace.bounds)
10+
window = UIWindow(windowScene: windowScene)
1111
window?.windowScene = windowScene
1212

1313
let viewController = ViewController()

App/Sources/ViewController.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ class ViewController: UIViewController {
55
override func viewDidLoad() {
66
super.viewDidLoad()
77
// Do any additional setup after loading the view.
8+
view.backgroundColor = .red
89
}
910

1011

Common/DesignSystem/Sources/empty.swift

Whitespace-only changes.

Common/Project.swift

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,13 @@ struct CommonLayer: Layer {
1313
dependencies: [
1414
.target(name: "Auth"),
1515
.target(name: "Constant"),
16-
.target(name: "DesignSystem"),
1716
.target(name: "Lib"),
18-
.project(target: "CoreLayer", path: "../Core")
17+
.project(target: "CoreLayer", path: "../Core"),
18+
.project(target: "DesignSystem", path: "../DesignSystem"),
1919
]
2020
),
2121
.createTarget(name: "Auth"),
2222
.createTarget(name: "Constant"),
23-
.createTarget(name: "DesignSystem"),
2423
.createTarget(
2524
name: "Lib",
2625
dependencies: [
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" : "0x19",
9+
"green" : "0x17",
10+
"red" : "0x17"
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" : "0xD9",
9+
"green" : "0x7F",
10+
"red" : "0x17"
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" : "0xE4",
9+
"green" : "0x92",
10+
"red" : "0x35"
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" : "0xF3",
9+
"green" : "0xA3",
10+
"red" : "0x48"
11+
}
12+
},
13+
"idiom" : "universal"
14+
}
15+
],
16+
"info" : {
17+
"author" : "xcode",
18+
"version" : 1
19+
}
20+
}

0 commit comments

Comments
 (0)