Improves helder
This commit is contained in:
@@ -62,8 +62,12 @@ public enum Metrics {
|
||||
public static let titleBarGap: CGFloat = 18
|
||||
public static let titleClusterGap: CGFloat = 10
|
||||
public static let crumbGap: CGFloat = 7
|
||||
public static let toolbarGap: CGFloat = 4
|
||||
public static let toolbarPadding = EdgeInsets(top: 6, leading: 9, bottom: 6, trailing: 9)
|
||||
/// A button inside a `ButtonGroup`: the pane toggles and the toolbar.
|
||||
public static let groupButtonPadding = EdgeInsets(top: 6, leading: 10, bottom: 6, trailing: 10)
|
||||
public static let groupButtonGap: CGFloat = 7
|
||||
public static let groupButtonDot: CGFloat = 6
|
||||
/// Between the toolbar group and the `?`.
|
||||
public static let toolbarIconGap: CGFloat = 8
|
||||
/// The `?` button: a square with a hairline border.
|
||||
public static let toolbarIconButton: CGFloat = 26
|
||||
public static let statusBarGap: CGFloat = 16
|
||||
@@ -76,6 +80,8 @@ public enum Metrics {
|
||||
// MARK: Overlays
|
||||
|
||||
public static let overlayInset: CGFloat = 34
|
||||
/// The widest an `.inset` overlay grows; past it the card stays centred.
|
||||
public static let insetOverlayMaxWidth: CGFloat = 1200
|
||||
public static let contextMenuWidth: CGFloat = 320
|
||||
public static let passOnWidth: CGFloat = 460
|
||||
public static let launcherWidth: CGFloat = 520
|
||||
|
||||
Reference in New Issue
Block a user