Swift95

Colors95

Semantic colors for surfaces, text, selection, inputs, and bevels.

Colors95 names colors by component role, keeping custom themes consistent across interaction states.

Use it

import Swift95
import SwiftUI

let colorTheme: Theme95 = {
  var colors = Colors95.classic
  colors.accent = .purple
  colors.link = .cyan
  return Theme95(
    colors: colors,
    metrics: .classic,
    fonts: .classic
  )
}()

Essential behavior

SemanticPrefer changing role tokens instead of styling individual controls.
DesktopWorkspace background, shortcut text, shadow, and selection have dedicated roles.
BevelsFive border levels build raised, sunken, and input surfaces.

Related

Open the complete Colors95 API reference →