-
public class StreamDesign.ChromeScale.Companion
-
-
Field Summary
Fields Modifier and Type Field Description public final static StreamDesign.ChromeScale.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final StreamDesign.ChromeScaledefaultLight()Default chrome scale for light themes. final StreamDesign.ChromeScaledefaultDark()Default chrome scale for dark themes. -
-
Method Detail
-
defaultLight
final StreamDesign.ChromeScale defaultLight()
Default chrome scale for light themes.
Maps chrome 0 → white, 50..900 → slate 50..900, 1000 → black.
-
defaultDark
final StreamDesign.ChromeScale defaultDark()
Default chrome scale for dark themes.
Switches to the neutral palette and inverts the direction: chrome 0 → black, 50 → neutral 900, …, 900 → neutral 50, 1000 → white.
-
-
-
-