Skip to content

Commit

Permalink
chore: AirplaIN 폰트 구현(#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
choijungp committed Nov 11, 2024
1 parent 3ff3540 commit afa2efe
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 17 deletions.
24 changes: 20 additions & 4 deletions Presentation/Presentation.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
objects = {

/* Begin PBXBuildFile section */
0080E8572CE19EBD0095B958 /* PresentationStruct.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0080E8542CE19EBD0095B958 /* PresentationStruct.swift */; };
5B7C6EBA2CDB6C5C0024704A /* Domain.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5B7C6EB92CDB6C5C0024704A /* Domain.framework */; };
5B7C6EBB2CDB6C5C0024704A /* Domain.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 5B7C6EB92CDB6C5C0024704A /* Domain.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
A8525DC32CE200230089DA5E /* Colors.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = A8525DC22CE200230089DA5E /* Colors.xcassets */; };
A8525DC82CE201D50089DA5E /* AirplainFont.swift in Sources */ = {isa = PBXBuildFile; fileRef = A8525DC72CE201D50089DA5E /* AirplainFont.swift */; };
/* End PBXBuildFile section */

/* Begin PBXCopyFilesBuildPhase section */
Expand All @@ -28,10 +28,10 @@
/* End PBXCopyFilesBuildPhase section */

/* Begin PBXFileReference section */
0080E8542CE19EBD0095B958 /* PresentationStruct.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PresentationStruct.swift; sourceTree = "<group>"; };
5B7C6E502CDB6A380024704A /* Presentation.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Presentation.framework; sourceTree = BUILT_PRODUCTS_DIR; };
5B7C6EB92CDB6C5C0024704A /* Domain.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = Domain.framework; sourceTree = BUILT_PRODUCTS_DIR; };
A8525DC22CE200230089DA5E /* Colors.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Colors.xcassets; sourceTree = "<group>"; };
A8525DC72CE201D50089DA5E /* AirplainFont.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AirplainFont.swift; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand All @@ -49,7 +49,7 @@
0080E8552CE19EBD0095B958 /* Sources */ = {
isa = PBXGroup;
children = (
0080E8542CE19EBD0095B958 /* PresentationStruct.swift */,
A8525DC52CE201C00089DA5E /* Common */,
);
path = Sources;
sourceTree = "<group>";
Expand Down Expand Up @@ -96,6 +96,22 @@
path = Resources;
sourceTree = "<group>";
};
A8525DC52CE201C00089DA5E /* Common */ = {
isa = PBXGroup;
children = (
A8525DC62CE201CB0089DA5E /* DesignSystem */,
);
path = Common;
sourceTree = "<group>";
};
A8525DC62CE201CB0089DA5E /* DesignSystem */ = {
isa = PBXGroup;
children = (
A8525DC72CE201D50089DA5E /* AirplainFont.swift */,
);
path = DesignSystem;
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXHeadersBuildPhase section */
Expand Down Expand Up @@ -202,7 +218,7 @@
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
0080E8572CE19EBD0095B958 /* PresentationStruct.swift in Sources */,
A8525DC82CE201D50089DA5E /* AirplainFont.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
//
// AirplainFont.swift
// Presentation
//
// Created by 최정인 on 11/11/24.
//

import UIKit

enum AirplainFont {
static let Heading1 = UIFont.systemFont(ofSize: 36, weight: .bold)
static let Heading2 = UIFont.systemFont(ofSize: 33, weight: .bold)
static let Heading3 = UIFont.systemFont(ofSize: 21, weight: .bold)
static let Heading4 = UIFont.systemFont(ofSize: 19, weight: .bold)

static let Subtitle1 = UIFont.systemFont(ofSize: 17, weight: .medium)
static let Subtitle2 = UIFont.systemFont(ofSize: 15, weight: .medium)
static let Subtitle3 = UIFont.systemFont(ofSize: 13, weight: .medium)

static let Body1 = UIFont.systemFont(ofSize: 17, weight: .regular)
static let Body2 = UIFont.systemFont(ofSize: 15, weight: .regular)
static let Body3 = UIFont.systemFont(ofSize: 13, weight: .regular)
static let Body4 = UIFont.systemFont(ofSize: 11, weight: .regular)
static let Body5 = UIFont.systemFont(ofSize: 9, weight: .regular)
static let Body6 = UIFont.systemFont(ofSize: 7, weight: .regular)
}
13 changes: 0 additions & 13 deletions Presentation/Presentation/Sources/PresentationStruct.swift

This file was deleted.

0 comments on commit afa2efe

Please sign in to comment.