Content

data object Content : PaletteStyle

A scheme that places the source color in Scheme.primaryContainer.

Primary Container is the source color, adjusted for color relativity. It maintains constant appearance in light mode and dark mode. This adds ~5 tone in light mode, and subtracts ~5 tone in dark mode.

Tertiary Container is an analogous color, specifically, the analog of a color wheel divided into 6, and the precise analog is the one found by increasing hue. This is a scientifically grounded equivalent to rotating hue clockwise by 60 degrees. It also maintains constant appearance.

Properties

Link copied to clipboard
open val name: String

Stable identifier for the style, matching the entry names the old enum had. Cmf is always "Cmf" no matter which seed it carries, so use toString() when the seed must survive.