Skip to content

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 ​

ParameterType
progressnumber
picked| "oasis" | "midnight" | "daylight" | "coral" | "camel" | "seaweed" | "rainbow" | "purple-haze" | "pure-gold" | "fusion"

Returns ​

number

Released under the GNU Affero General Public License v3.0.