MCPcopy
hub / github.com/monkeytypegame/monkeytype / theme-controller.ts

File theme-controller.ts

frontend/src/ts/controllers/theme-controller.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import * as Arrays from "../utils/arrays";
2import { isColorDark, isColorLight } from "../utils/colors";
3
4import { Config, getConfig } from "../config/store";

Callers

nothing calls this directly

Calls 11

showNoticeNotificationFunction · 0.90
clearRandomFunction · 0.85
clearPreviewFunction · 0.85
prefersColorSchemeDarkFunction · 0.85
applyCustomBackgroundFunction · 0.85
changeThemeListFunction · 0.85
previewFunction · 0.85
updateThemeIndicatorFunction · 0.85
applyFunction · 0.70
setFunction · 0.70

Tested by

no test coverage detected