Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/monkeytypegame/monkeytype
/ applyPreset
Function
applyPreset
frontend/src/ts/controllers/theme-controller.ts:21–23 ·
view source on GitHub ↗
(name: ThemeName)
Source
from the content-addressed store, hash-verified
19
let
randomThemeIndex = 0;
20
21
export
function
applyPreset(name: ThemeName): void {
22
void apply(name);
23
}
24
25
export
function
convertCustomColorsToTheme(colors: CustomThemeColors): Theme {
26
return
{
Callers
nothing calls this directly
Calls
1
apply
Function · 0.70
Tested by
no test coverage detected