Improves helder

This commit is contained in:
2026-10-05 09:24:25 +02:00
parent 8fafea4fc3
commit 336987d821
44 changed files with 3454 additions and 542 deletions
+8 -2
View File
@@ -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
+1 -1
View File
@@ -45,7 +45,7 @@ public enum Palette {
public static let amberSoft = Color(hex: 0xF0B476)
public static let amberTint = Color(hex: 0xE8913A, alpha: 0.10)
public static let focusRing = Color(hex: 0xE8913A, alpha: 0.22)
/// Border of an active toolbar toggle's keycap.
/// Border of a lit key in the symbol popup.
public static let amberKeycapBorder = Color(hex: 0xE8913A, alpha: 0.35)
/// Text on an amber fill: always ink, never white.
public static let ink = Color(hex: 0x171C22)
-1
View File
@@ -86,7 +86,6 @@ public enum Typography {
public static let segment = TypeRole(.sansRegular, 11)
public static let segmentOn = TypeRole(.sansMedium, 11)
public static let toolbarLabel = TypeRole(.sansRegular, 12)
public static let toolbarLabelOn = TypeRole(.sansMedium, 12)
public static let menuItem = TypeRole(.sansRegular, 13)
public static let menuItemHighlighted = TypeRole(.sansMedium, 13)
public static let note = TypeRole(.monoRegular, 14, lineHeight: 23.8)