← all modules

Std.Ui.Background

Std.Ui.Background
  Std.Ui.Background — typed background-* attribute helpers for `Std.Ui`.

Values
  activeColor : Color -> Attribute msg
      `activeColor` — background while the element is being clicked /
  color : Color -> Attribute msg
      Bring Color + Attribute (and the Std.Ui helper functions) into
  disabledColor : Color -> Attribute msg
      `disabledColor` — background when the element has the
  focusColor : Color -> Attribute msg
      `focusColor` targets `:focus-visible` (the safer default — only
  focusVisibleColor : Color -> Attribute msg
      Explicit `:focus-visible` alias for users who prefer the
  gradient : String -> Attribute msg
      Pre-built CSS gradient string (escape hatch). Pass the full
  hoverColor : Color -> Attribute msg
      `hoverColor` swaps the background colour while the pointer is
  image : String -> Attribute msg
      Background image from a URL. The renderer emits
  linearGradient : Float -> List ( Float, Color ) -> Attribute msg
      Linear gradient with an angle (in degrees) and a list of