ChromeScale

data class ChromeScale(val s0: Color, val s50: Color, val s100: Color, val s150: Color, val s200: Color, val s300: Color, val s400: Color, val s500: Color, val s600: Color, val s700: Color, val s800: Color, val s900: Color, val s1000: Color)

A 13-stop neutral ramp representing the chrome (structural gray) palette.

Chrome defines the visual canvas: text, backgrounds, borders, surfaces. Light themes map to the slate foundation (cool grays); dark themes switch to neutral (warm grays) and invert the direction, so that s0 is always the base surface and s900 is always the strongest foreground.

s0 and s1000 are the absolute endpoints (white/black in light, black/white in dark). They absorb the light↔dark polarity, allowing all downstream tokens to reference chrome stops with identical expressions regardless of theme.

Parameters

s0

Base surface — white in light, black in dark.

s50

Faintest tint — subtle surfaces, elevation-1 (dark).

s100

Light — standard surface, disabled states.

s150

Light-mid — surface-strong, default border, avatar placeholder bg.

s200

Mid-light — elevation-3 border (dark), border default (dark).

s300

Mid — border strong, disabled text, elevation-4 (dark).

s400

Mid-neutral — neutral accent.

s500

Core neutral — tertiary text, accent neutral.

s600

Strong — secondary metadata (not used in default themes).

s700

Darker — secondary text.

s800

Deep — not used in default themes.

s900

Deepest foreground — primary text, inverse background.

s1000

Absolute endpoint — black in light, white in dark.

Constructors

Link copied to clipboard
constructor(s0: Color, s50: Color, s100: Color, s150: Color, s200: Color, s300: Color, s400: Color, s500: Color, s600: Color, s700: Color, s800: Color, s900: Color, s1000: Color)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val s0: Color
Link copied to clipboard
val s100: Color
Link copied to clipboard
Link copied to clipboard
val s150: Color
Link copied to clipboard
val s200: Color
Link copied to clipboard
val s300: Color
Link copied to clipboard
val s400: Color
Link copied to clipboard
val s50: Color
Link copied to clipboard
val s500: Color
Link copied to clipboard
val s600: Color
Link copied to clipboard
val s700: Color
Link copied to clipboard
val s800: Color
Link copied to clipboard
val s900: Color