enum

Hwaro::Assets::Sass::Builtins::ComponentMode

Inherits Enum / Comparable / Value / Object

How adjust/scale/change differ: each takes the current component value and the requested amount and returns the new value. Everything else about the three — argument binding, the RGB/HSL exclusivity check, the alpha handling — is identical, so they share compound_color below rather than three near-copies that drift apart.

Constants

Adjust = 0
Scale = 1
Change = 2

Instance methods

adjust?

Returns true if this enum value equals Adjust

Source
change?

Returns true if this enum value equals Change

Source
scale?

Returns true if this enum value equals Scale

Source