Skip to content

Commit

Permalink
More, public font traits
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmassicotte committed Mar 26, 2024
1 parent c47d9e2 commit 8a381ba
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Sources/NSUI/FontDescriptor.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,11 @@ import AppKit

typealias NSUIFontDescriptor = NSFontDescriptor
extension NSUIFontDescriptor.SymbolicTraits {
static let traitItalic = Self.italic
static let traitBold = Self.bold
public static let traitItalic = Self.italic
public static let traitBold = Self.bold
public static let traitExpanded = Self.expanded
public static let traitCondensed = Self.condensed
public static let traitMonoSpace = Self.monoSpace
}

#endif

0 comments on commit 8a381ba

Please sign in to comment.