We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6700f5 commit 52e0738Copy full SHA for 52e0738
Sources/SwiftCrossUI/Values/Font.swift
@@ -93,7 +93,7 @@ public struct Font: Hashable, Sendable {
93
}
94
95
/// Selects whether or not to use the font's monospaced variant.
96
- public func monospaced(_ monospaced: Bool) -> Font {
+ public func monospaced(_ monospaced: Bool = true) -> Font {
97
var font = self
98
if monospaced {
99
font.overlay.design = .monospaced
0 commit comments