Function: getPomodoroBackgroundColor()
function getPomodoroBackgroundColor(phase, alpha?): string;Defined in: shared/src/helper/pomodoroHelper/pomodoroStyles.ts:27
Get background color with alpha for phase indication
Parameters
Section titled “Parameters”| Parameter | Type | Default value |
|---|---|---|
phase | "focus" | "short-break" | "long-break" | undefined |
alpha | number | 0.1 |
Returns
Section titled “Returns”string