Skip to content

Commit 13b208e

Browse files
Merge pull request #5 from swiftcomponentsio/dev
Modified default values for font and radius
2 parents a2846d4 + 21a4b44 commit 13b208e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Sources/SwiftComponents/Shared/Layout.swift

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,9 @@ public struct Layout: Initializable, Updatable {
6868

6969
public var disabledOpacity: CGFloat = 0.5
7070
public var componentRadius: Radius = .init(
71-
small: 8.0,
72-
medium: 12.0,
73-
large: 16.0
71+
small: 10.0,
72+
medium: 14.0,
73+
large: 18.0
7474
)
7575
public var borderWidth: BorderWidth = .init(
7676
small: 1.0,
@@ -83,9 +83,9 @@ public struct Layout: Initializable, Updatable {
8383
large: 0.95
8484
)
8585
public var componentFont: Font = .init(
86-
small: .system(size: 12, weight: .regular),
87-
medium: .system(size: 16, weight: .regular),
88-
large: .system(size: 20, weight: .regular)
86+
small: .system(size: 14, weight: .regular),
87+
medium: .system(size: 18, weight: .regular),
88+
large: .system(size: 22, weight: .regular)
8989
)
9090

9191
public init() {}

0 commit comments

Comments
 (0)