JengaMediaHeroColors

class JengaMediaHeroColors(val fallback: Brush, val scrim: Brush, val title: Color, val support: Color)(source)

Resolved colors for a JengaMediaHero. Override via JengaMediaHeroDefaults.colors.

Constructors

Link copied to clipboard
constructor(fallback: Brush, scrim: Brush, title: Color, support: Color)

Properties

Link copied to clipboard

The fallback fill shown when there is no image (never a grey box).

Link copied to clipboard

The bottom scrim that keeps title/support legible over any image.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun copy(fallback: Brush = this.fallback, scrim: Brush = this.scrim, title: Color = this.title, support: Color = this.support): JengaMediaHeroColors