类 Theme

java.lang.Object
polaris.sdk.ui.Theme

public final class Theme extends Object
Neutral glass: state is a material tint change, never a colored covering rectangle.
  • 字段详细资料

    • text

      public int text
    • muted

      public int muted
    • accent

      public int accent
    • accentText

      public int accentText
    • surface

      public int surface
    • field

      public int field
    • hover

      public int hover
    • border

      public int border
    • selected

      public int selected
    • danger

      public int danger
    • success

      public int success
    • shade

      public int shade
    • radius

      public float radius
      Ordinary controls are softly squared; panels have their own larger radius.
    • panelRadius

      public float panelRadius
      Ordinary controls are softly squared; panels have their own larger radius.
    • fontSize

      public float fontSize
      Ordinary controls are softly squared; panels have their own larger radius.
    • rowHeight

      public float rowHeight
      Ordinary controls are softly squared; panels have their own larger radius.
    • blur

      public float blur
      Ordinary controls are softly squared; panels have their own larger radius.
    • sigma

      public float sigma
      Ordinary controls are softly squared; panels have their own larger radius.
    • refraction

      public float refraction
      Ordinary controls are softly squared; panels have their own larger radius.
    • shine

      public float shine
      Ordinary controls are softly squared; panels have their own larger radius.
    • dispersion

      public float dispersion
      Ordinary controls are softly squared; panels have their own larger radius.
    • tint

      public float tint
      The backdrop itself supplies transparency; alpha=1 avoids sharp-scene leakage.
    • surfaceOpacity

      public float surfaceOpacity
      The backdrop itself supplies transparency; alpha=1 avoids sharp-scene leakage.
    • hoverTint

      public float hoverTint
      The backdrop itself supplies transparency; alpha=1 avoids sharp-scene leakage.
    • pressTint

      public float pressTint
      The backdrop itself supplies transparency; alpha=1 avoids sharp-scene leakage.
    • selectedTint

      public float selectedTint
      The backdrop itself supplies transparency; alpha=1 avoids sharp-scene leakage.
    • dark

      public boolean dark
    • reducedMotion

      public boolean reducedMotion
    • antialiasing

      Global UI rendering, not a post-process over the host scene.
    • textMode

    • textPixelSnap

      public boolean textPixelSnap
    • bezierCorners

      public boolean bezierCorners
    • textContrast

      public float textContrast
    • letterSpacing

      public float letterSpacing
    • cornerSmoothing

      public float cornerSmoothing
    • fontFamily

      Empty families select an installed system fallback. Font files are never bundled.
    • cjkFontFamily

      Empty families select an installed system fallback. Font files are never bundled.
    • background

      public int background
    • backgroundAccent

      public int backgroundAccent
    • highlight

      public int highlight
    • shadow

      public int shadow
    • disabledText

      public int disabledText
    • warning

      public int warning
  • 构造器详细资料

  • 方法详细资料