Skip to content

Commit

Permalink
[Chore] Font, Color Extension 변수 및 메소드 class -> static 으로 변경 #8
Browse files Browse the repository at this point in the history
  • Loading branch information
meltsplit committed Apr 23, 2023
1 parent 4d3a5d0 commit 332c4ec
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions SOPTving/SOPTving/Utility/Resources/TvingColor.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ extension UIColor {

extension UIColor {

class var tvingRed: UIColor {
static var tvingRed: UIColor {
return UIColor(r: 234, g: 51, b: 58)
}

class var tvingDarkGray: UIColor {
static var tvingDarkGray: UIColor {
return UIColor(r: 46, g: 46, b: 46)
}

class var tvingLightGray: UIColor {
static var tvingLightGray: UIColor {
return UIColor(r: 156, g: 156, b: 156)
}
}
4 changes: 2 additions & 2 deletions SOPTving/SOPTving/Utility/Resources/TvingFont.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ import UIKit

extension UIFont {

class func tvingSemiBold(ofSize size: CGFloat) -> UIFont{
static func tvingSemiBold(ofSize size: CGFloat) -> UIFont {
return UIFont(name: "Pretendard-SemiBold", size: size)!
}

class func tvingMedium(ofSize size: CGFloat) -> UIFont{
static func tvingMedium(ofSize size: CGFloat) -> UIFont {
return UIFont(name: "Pretendard-Medium", size: size)!
}
}

0 comments on commit 332c4ec

Please sign in to comment.