Swift95

Metrics95

Geometry tokens for controls, windows, desktop items, and taskbar content.

Metrics95 is the single source for classic sizes such as bevel width, title bars, scroll thumbs, and interaction offsets.

Use it

import Swift95

let metricTheme: Theme95 = {
  var metrics = Metrics95.classic
  metrics.titleBarHeight = 34
  metrics.scrollBarWidth = 18
  return Theme95(
    colors: .classic,
    metrics: metrics,
    fonts: .classic
  )
}()

Essential behavior

GeometryMetrics affect rendering and layout, not only decoration.
InteractionMinimum thumb, line increment, and resize-handle values support usability.
CustomizationStart with .classic and change only intentional differences.

Related

Open the complete Metrics95 API reference →