| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- //
- // UIFont+Theme.swift
- // Lanu
- //
- // Created by OneeChan on 2025/11/6.
- //
- import Foundation
- extension UIFont {
- static let boldFontName = "Poppins-SemiBold"
-
- static let heading_h1: UIFont = {
- .init(name: boldFontName, size: 24)!
- }()
- static let heading_h1_5: UIFont = {
- .init(name: boldFontName, size: 22)!
- }()
- static let heading_h2: UIFont = {
- .init(name: boldFontName, size: 18)!
- }()
- static let heading_h3: UIFont = {
- .init(name: boldFontName, size: 16)!
- }()
- static let heading_h4: UIFont = {
- .init(name: boldFontName, size: 14)!
- }()
- static let heading_h5: UIFont = {
- .init(name: boldFontName, size: 12)!
- }()
-
- static let body_xl: UIFont = {
- .systemFont(ofSize: 24)
- }()
- static let body_l: UIFont = {
- .systemFont(ofSize: 16)
- }()
- static let body_m: UIFont = {
- .systemFont(ofSize: 14)
- }()
- static let body_s: UIFont = {
- .systemFont(ofSize: 12)
- }()
- static let body_xs: UIFont = {
- .systemFont(ofSize: 11)
- }()
- static let body_xxs: UIFont = {
- .systemFont(ofSize: 8)
- }()
- }
|