Skip to content

Commit a799001

Browse files
change checkmark line width
1 parent bc5e1b3 commit a799001

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

Sources/ComponentsKit/Components/Checkbox/Models/CheckboxVM.swift

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,14 @@ extension CheckboxVM {
5656
return self.title.isNil ? 0.0 : 8.0
5757
}
5858
var checkmarkLineWidth: CGFloat {
59-
return 1.5
59+
switch self.size {
60+
case .small:
61+
return 1.5
62+
case .medium:
63+
return 1.75
64+
case .large:
65+
return 2.0
66+
}
6067
}
6168
var checkboxSide: CGFloat {
6269
switch self.size {

0 commit comments

Comments
 (0)