Package 

Class StreamDesign.ChromeScale


  • @Immutable() 
    public final class StreamDesign.ChromeScale
    
                        

    A 13-stop neutral ramp for the chrome (structural gray) palette: text, backgrounds, borders, surfaces.

    s0 and s1000 are the absolute endpoints (white and black in light, black and white in dark). They absorb the light and dark polarity, so downstream tokens reference chrome stops with the same expression in both themes.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final Color s0
      private final Color s50
      private final Color s100
      private final Color s150
      private final Color s200
      private final Color s300
      private final Color s400
      private final Color s500
      private final Color s600
      private final Color s700
      private final Color s800
      private final Color s900
      private final Color s1000
    • Constructor Summary

      Constructors 
      Constructor Description
      StreamDesign.ChromeScale(Color 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)
    • Method Summary

      Modifier and Type Method Description
      final Color getS0()
      final Color getS50()
      final Color getS100()
      final Color getS150()
      final Color getS200()
      final Color getS300()
      final Color getS400()
      final Color getS500()
      final Color getS600()
      final Color getS700()
      final Color getS800()
      final Color getS900()
      final Color getS1000()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • StreamDesign.ChromeScale

        StreamDesign.ChromeScale(Color 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)
        Parameters:
        s0 - The first endpoint: white in light themes, black in dark themes.
        s50 - The 50 stop.
        s100 - The 100 stop.
        s150 - The 150 stop.
        s200 - The 200 stop.
        s300 - The 300 stop.
        s400 - The 400 stop.
        s500 - The 500 stop.
        s600 - The 600 stop.
        s700 - The 700 stop.
        s800 - The 800 stop.
        s900 - The 900 stop.
        s1000 - The last endpoint: black in light themes, white in dark themes.