Foundation
extension NSAttributedString
Montage 디자인 시스템의 타이포그래피를 적용한 NSAttributedString을 생성하는 확장입니다.
static func attributedString(String, variant: Typography.Variant, weight: Typography.Weight, color: SwiftUI.Color, lineBreakMode: NSLineBreakMode) -> NSAttributedString
Montage 디자인 시스템의 타이포그래피를 적용한 NSAttributedString을 생성합니다.
-
Parameters
-
Return Value
Montage 스타일이 적용된 NSAttributedString
static func attributedString(String, variant: Typography.Variant, weight: Typography.Weight, semantic: Color.Semantic, lineBreakMode: NSLineBreakMode) -> NSAttributedString
Montage 디자인 시스템의 타이포그래피를 적용한 NSAttributedString을 생성합니다.
-
Parameters
-
Return Value
Montage 스타일이 적용된 NSAttributedString