Opacity

Opacity color variants for semi-transparent effects.

Parameters

accent

Opacity variants for accent colors.

black

Opacity variants for black.

info

Opacity variants for info colors.

negative

Opacity variants for negative colors.

positive

Opacity variants for positive colors.

primary

Opacity variants for primary colors.

warning

Opacity variants for warning colors.

white

Opacity variants for white.

Types

Link copied to clipboard
class Accent(val low: Color = Color.Unspecified, val medium: Color = Color.Unspecified)

Opacity variants for accent colors.

Link copied to clipboard
class Black(val high: Color = Color.Unspecified, val higher: Color = Color.Unspecified, val highest: Color = Color.Unspecified, val low: Color = Color.Unspecified, val lower: Color = Color.Unspecified, val lowest: Color = Color.Unspecified, val medium: Color = Color.Unspecified, val mediumHigh: Color = Color.Unspecified, val mediumLow: Color = Color.Unspecified, val transparent: Color = Color.Unspecified)

Opacity variants for black.

Link copied to clipboard
class Info(val low: Color = Color.Unspecified, val medium: Color = Color.Unspecified)

Opacity variants for info colors.

Link copied to clipboard
class Negative(val low: Color = Color.Unspecified, val medium: Color = Color.Unspecified)

Opacity variants for negative colors.

Link copied to clipboard
class Positive(val low: Color = Color.Unspecified, val medium: Color = Color.Unspecified)

Opacity variants for positive colors.

Link copied to clipboard
class Primary(val high: Color = Color.Unspecified, val higher: Color = Color.Unspecified, val highest: Color = Color.Unspecified, val low: Color = Color.Unspecified, val lower: Color = Color.Unspecified, val lowest: Color = Color.Unspecified, val medium: Color = Color.Unspecified, val transparent: Color = Color.Unspecified)

Opacity variants for primary colors.

Link copied to clipboard
class Warning(val low: Color = Color.Unspecified, val medium: Color = Color.Unspecified)

Opacity variants for warning colors.

Link copied to clipboard
class White(val high: Color = Color.Unspecified, val higher: Color = Color.Unspecified, val highest: Color = Color.Unspecified, val low: Color = Color.Unspecified, val lower: Color = Color.Unspecified, val lowest: Color = Color.Unspecified, val medium: Color = Color.Unspecified, val mediumLow: Color = Color.Unspecified, val transparent: Color = Color.Unspecified)

Opacity variants for white.