DroppyLiveActivityMetrics

Native metrics for compact and interactive live-activity rows.

enum DroppyLiveActivityMetrics

A live activity is mini-HUD chrome, not a card. These values mirror Droppy's built-in Pomodoro, media, and compact status surfaces so example droplets do not have to guess typography, control, or host widths.

Type properties

compactIslandWidth

static let compactIslandWidth: CGFloat

Width of the at-rest island live-activity slot.

compactNotchWingWidth

static let compactNotchWingWidth: CGFloat

Width of each notch wing in the at-rest live-activity slot.

contentSpacing

static let contentSpacing: CGFloat

Gap between compact row elements.

controlGlyphSize

static let controlGlyphSize: CGFloat

Glyph size for an inline interactive control.

controlSize

static let controlSize: CGFloat

Hit and background diameter for an inline interactive control.

iconSize

static let iconSize: CGFloat

Standard compact status glyph size.

interactiveIslandWidth

static let interactiveIslandWidth: CGFloat

Width of the interactive island row.

interactiveNotchWingWidth

static let interactiveNotchWingWidth: CGFloat

Width of each notch wing in the interactive row.

islandContentInset

static let islandContentInset: CGFloat

Horizontal inset inside an island capsule.

labelFontSize

static let labelFontSize: CGFloat

Standard compact status label and value size.

progressRingGlyphSize

static let progressRingGlyphSize: CGFloat

Glyph inside a compact progress ring.

progressRingLineWidth

static let progressRingLineWidth: CGFloat

Stroke width of the compact progress ring.

progressRingSize

static let progressRingSize: CGFloat

Progress-ring diameter for a ring that also contains a small glyph.

rowHeight

static let rowHeight: CGFloat

Height of both the at-rest and interactive row.