presentation/widgets/common/combo_heat_background library
Classes
- ComboHeatBackground
-
Reactive background that lerps between a "cool" and "hot" color as
heat rises (IDEA-08) — the caller computes heat from whatever combo/
streak mechanic it has (e.g.
min(1.0, comboCount / 10)); this widget has no idea what a "combo" is, matching VictoryCardTemplate's convention of taking caller-computed values rather than inventing game-specific mechanics.