Function: secretProgress() ​
ts
function secretProgress(progress, picked): number;Defined in: colorThemes.ts:241
Progress towards the hidden themes after a pick: the next shown theme in turn moves it on, and anything else starts again (counting a fresh first pick). Found once it reaches SECRET_LENGTH.
Parameters ​
| Parameter | Type |
|---|---|
progress | number |
picked | | "oasis" | "midnight" | "daylight" | "coral" | "camel" | "seaweed" | "rainbow" | "purple-haze" | "pure-gold" | "fusion" |
Returns ​
number