SP GlassKit1.1.0

Design tokens

Themes

A theme is a value: colours for light and dark, typography, spacing, radii, motion, density and the two glass parameters the system exposes (variant and tint).

Themes are injected with .glassTheme(_:) and read from the environment. Two themes can live in the same window, and a subtree can override part of the inherited theme. A colour role without a value follows the system colour for that role.

Swift
ContentView()
    .glassTheme(.aurora)

Sidebar()
    .glassThemeOverride { $0.density = .compact }

Contrast between text and the opaque backgrounds of the seven designed themes is tested (WCAG AA for body text, AAA for primary text on the background). Over Liquid Glass the backdrop changes with the content behind it, so a static ratio is an indication and not a guarantee.

The specimens below are drawn in CSS with each theme's colours, corner radii and type design. They show the palette at work on opaque surfaces; they are not Liquid Glass and not captures. Roles marked system are left to the platform and are drawn here with the default iOS colours.

The theme list of SP Glass Studio on iPhone.Capture
Theme list in SP Glass Studio on the iOS 26.5 simulator. Capture of the real application.

System and designed themes

System

System colours and accent. The safest choice inside an existing app.

  • Typedefault, semibold headings
  • Radii8 · 14 · 22 · 30
  • Motionsmooth
  • Glassregular

Light

  • backgroundsystem
  • surfacesystem
  • textPrimarysystem
  • textSecondarysystem
  • separatorsystem
  • primarysystem
  • secondarysystem
  • accentsystem
  • successsystem
  • warningsystem
  • destructivesystem
  • focusRingsystem

Dark

  • backgroundsystem
  • surfacesystem
  • textPrimarysystem
  • textSecondarysystem
  • separatorsystem
  • primarysystem
  • secondarysystem
  • accentsystem
  • successsystem
  • warningsystem
  • destructivesystem
  • focusRingsystem
spglass theme add system
system.json

Crystal

Minimal, neutral and quiet.

  • Typedefault, semibold headings
  • Radii8 · 14 · 22 · 30
  • Motionsmooth
  • Glassregular

Light

  • background#FFFFFF
  • surface#F3F4F6
  • textPrimary#18181B
  • textSecondary#52525B
  • separator#E5E7EB
  • primary#18181B
  • secondary#64748B
  • accent#475569
  • success#15803D
  • warning#B45309
  • destructive#B91C1C
  • focusRing#64748B

Dark

  • background#0F1115
  • surface#1B1E24
  • textPrimary#F4F4F5
  • textSecondary#AAB9CC
  • separator#2E333B
  • primary#E5E7EB
  • secondary#AAB9CC
  • accent#AAB9CC
  • success#4ADE80
  • warning#FBBF24
  • destructive#F87171
  • focusRing#AAB9CC
spglass theme add crystal
crystal.json

Obsidian

Deep neutral blacks with a restrained highlight.

  • Typedefault, semibold headings
  • Radii6 · 12 · 18 · 26
  • Motionsmooth
  • Glassregular

Light

  • background#FAFAFA
  • surface#EFEFF1
  • textPrimary#09090B
  • textSecondary#52525B
  • separator#D4D4D8
  • primary#18181B
  • secondary#52525B
  • accent#27272A
  • success#166534
  • warning#92400E
  • destructive#B91C1C
  • focusRing#52525B

Dark

  • background#09090B
  • surface#18181B
  • textPrimary#FAFAFA
  • textSecondary#A1A1AA
  • separator#27272A
  • primary#D4D4D8
  • secondary#A1A1AA
  • accent#D4D4D8
  • success#4ADE80
  • warning#FBBF24
  • destructive#F87171
  • focusRing#D4D4D8
spglass theme add obsidian
obsidian.json

Aurora

Indigo, violet and cyan for forward-looking interfaces.

  • Typerounded, semibold headings
  • Radii8 · 14 · 22 · 30
  • Motionsnappy
  • Glassregular, tinted with primary

Light

  • background#FAFAFF
  • surface#F0EFFE
  • textPrimary#1E1B4B
  • textSecondary#4C4A73
  • separator#DDD9FB
  • primary#4F46E5
  • secondary#7C3AED
  • accent#DB2777
  • success#047857
  • warning#B45309
  • destructive#DC2626
  • focusRing#6366F1

Dark

  • background#0E0B1F
  • surface#1A1633
  • textPrimary#F5F3FF
  • textSecondary#C4B5FD
  • separator#2E2A52
  • primary#818CF8
  • secondary#A78BFA
  • accent#22D3EE
  • success#34D399
  • warning#FBBF24
  • destructive#FB7185
  • focusRing#22D3EE
spglass theme add aurora
aurora.json

Emerald

Greens drawn from foliage, calm and legible.

  • Typedefault, semibold headings
  • Radii8 · 14 · 22 · 30
  • Motionsmooth
  • Glassregular

Light

  • background#ECFDF5
  • surface#D5F5E6
  • textPrimary#064E3B
  • textSecondary#065F46
  • separator#A7E8CB
  • primary#065F46
  • secondary#047857
  • accent#059669
  • success#047857
  • warning#92400E
  • destructive#B91C1C
  • focusRing#059669

Dark

  • background#03261D
  • surface#064E3B
  • textPrimary#ECFDF5
  • textSecondary#A7F3D0
  • separator#065F46
  • primary#10B981
  • secondary#6EE7B7
  • accent#6EE7B7
  • success#6EE7B7
  • warning#FCD34D
  • destructive#FCA5A5
  • focusRing#6EE7B7
spglass theme add emerald
emerald.json

Solar

Warm ambers and burnt orange.

  • Typeserif, semibold headings
  • Radii8 · 14 · 22 · 30
  • Motionsmooth
  • Glassregular

Light

  • background#FFFBEB
  • surface#FEF3C7
  • textPrimary#7C2D12
  • textSecondary#9A3412
  • separator#FDE68A
  • primary#C2410C
  • secondary#B45309
  • accent#D97706
  • success#3F6212
  • warning#B45309
  • destructive#B91C1C
  • focusRing#EA580C

Dark

  • background#1C0F07
  • surface#2E1709
  • textPrimary#FFFBEB
  • textSecondary#FCD34D
  • separator#7C2D12
  • primary#F59E0B
  • secondary#FCD34D
  • accent#FB923C
  • success#BEF264
  • warning#FCD34D
  • destructive#FCA5A5
  • focusRing#FCD34D
spglass theme add solar
solar.json

Ocean

Maritime blues from shallow to deep water.

  • Typedefault, semibold headings
  • Radii8 · 14 · 22 · 30
  • Motionsmooth
  • Glassregular, tinted with accent

Light

  • background#F0F9FF
  • surface#E0F2FE
  • textPrimary#082F49
  • textSecondary#075985
  • separator#BAE6FD
  • primary#0369A1
  • secondary#0284C7
  • accent#0284C7
  • success#047857
  • warning#B45309
  • destructive#B91C1C
  • focusRing#0369A1

Dark

  • background#051D2E
  • surface#082F49
  • textPrimary#F0F9FF
  • textSecondary#7DD3FC
  • separator#0C4A6E
  • primary#0EA5E9
  • secondary#7DD3FC
  • accent#7DD3FC
  • success#6EE7B7
  • warning#FCD34D
  • destructive#FCA5A5
  • focusRing#7DD3FC
spglass theme add ocean
ocean.json

Neon

High-energy violet, magenta and cyan for games.

  • Typerounded, bold headings
  • Radii8 · 14 · 22 · 30
  • Motionbouncy
  • Glassregular, tinted with primary

Light

  • background#FAF5FF
  • surface#F3E8FF
  • textPrimary#090014
  • textSecondary#581C87
  • separator#E9D5FF
  • primary#9333EA
  • secondary#A21CAF
  • accent#DB0070
  • success#4D7C0F
  • warning#A16207
  • destructive#BE123C
  • focusRing#9333EA

Dark

  • background#090014
  • surface#170B2B
  • textPrimary#FAF5FF
  • textSecondary#D8B4FE
  • separator#3B1D63
  • primary#A855F7
  • secondary#00FFFF
  • accent#FF0080
  • success#BEF264
  • warning#FDE047
  • destructive#FF6B8B
  • focusRing#00FFFF
spglass theme add neon
neon.json

Example product themes

Themes named “(example)” illustrate how a product theme is declared with a few roles and the system for the rest; their colours are not the palettes of those products.

IMMOKA (example)

Illustrative palette for documentation. Not the product's actual brand colours.

  • Typedefault, semibold headings
  • Radii8 · 14 · 22 · 30
  • Motionsmooth
  • Glassregular

Light

  • backgroundsystem
  • surfacesystem
  • textPrimarysystem
  • textSecondarysystem
  • separatorsystem
  • primary#1E3A8A
  • secondarysystem
  • accent#B91C1C
  • successsystem
  • warningsystem
  • destructivesystem
  • focusRing#1E3A8A

Dark

  • backgroundsystem
  • surfacesystem
  • textPrimarysystem
  • textSecondarysystem
  • separatorsystem
  • primary#93C5FD
  • secondarysystem
  • accent#FCA5A5
  • successsystem
  • warningsystem
  • destructivesystem
  • focusRing#93C5FD
spglass theme add example-immoka
example-immoka.json

Lou-Ka (example)

Illustrative palette for documentation. Not the product's actual brand colours.

  • Typedefault, semibold headings
  • Radii8 · 14 · 22 · 30
  • Motionsmooth
  • Glassregular

Light

  • backgroundsystem
  • surfacesystem
  • textPrimarysystem
  • textSecondarysystem
  • separatorsystem
  • primary#0F766E
  • secondarysystem
  • accent#B45309
  • successsystem
  • warningsystem
  • destructivesystem
  • focusRing#0F766E

Dark

  • backgroundsystem
  • surfacesystem
  • textPrimarysystem
  • textSecondarysystem
  • separatorsystem
  • primary#2DD4BF
  • secondarysystem
  • accent#FBBF24
  • successsystem
  • warningsystem
  • destructivesystem
  • focusRing#2DD4BF
spglass theme add example-lou-ka
example-lou-ka.json

MacLustr (example)

Illustrative palette for documentation. Not the product's actual brand colours.

  • Typedefault, semibold headings
  • Radii8 · 14 · 22 · 30
  • Motionsmooth
  • Glassregular

Light

  • backgroundsystem
  • surfacesystem
  • textPrimarysystem
  • textSecondarysystem
  • separatorsystem
  • primary#334155
  • secondarysystem
  • accent#0369A1
  • successsystem
  • warningsystem
  • destructivesystem
  • focusRing#334155

Dark

  • backgroundsystem
  • surfacesystem
  • textPrimarysystem
  • textSecondarysystem
  • separatorsystem
  • primary#CBD5E1
  • secondarysystem
  • accent#38BDF8
  • successsystem
  • warningsystem
  • destructivesystem
  • focusRing#CBD5E1
spglass theme add example-maclustr
example-maclustr.json

ORIX (example)

Illustrative palette for documentation. Not the product's actual brand colours.

  • Typedefault, semibold headings
  • Radii8 · 14 · 22 · 30
  • Motionsmooth
  • Glassregular

Light

  • backgroundsystem
  • surfacesystem
  • textPrimarysystem
  • textSecondarysystem
  • separatorsystem
  • primary#6D28D9
  • secondarysystem
  • accent#0E7490
  • successsystem
  • warningsystem
  • destructivesystem
  • focusRing#6D28D9

Dark

  • backgroundsystem
  • surfacesystem
  • textPrimarysystem
  • textSecondarysystem
  • separatorsystem
  • primary#C4B5FD
  • secondarysystem
  • accent#67E8F9
  • successsystem
  • warningsystem
  • destructivesystem
  • focusRing#C4B5FD
spglass theme add example-orix
example-orix.json

Vrai Prix (example)

Illustrative palette for documentation. Not the product's actual brand colours.

  • Typedefault, semibold headings
  • Radii8 · 14 · 22 · 30
  • Motionsmooth
  • Glassregular

Light

  • backgroundsystem
  • surfacesystem
  • textPrimarysystem
  • textSecondarysystem
  • separatorsystem
  • primary#15803D
  • secondarysystem
  • accent#C2410C
  • successsystem
  • warningsystem
  • destructivesystem
  • focusRing#15803D

Dark

  • backgroundsystem
  • surfacesystem
  • textPrimarysystem
  • textSecondarysystem
  • separatorsystem
  • primary#4ADE80
  • secondarysystem
  • accent#FB923C
  • successsystem
  • warningsystem
  • destructivesystem
  • focusRing#4ADE80
spglass theme add example-vrai-prix
example-vrai-prix.json