MCPcopy Create free account
hub / github.com/Tron521/codex-console-temp / applyTheme

Method applyTheme

static/js/utils.js:98–101  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

96 }
97
98 applyTheme() {
99 document.documentElement.setAttribute('data-theme', this.theme);
100 this.updateToggleButtons();
101 }
102
103 toggle() {
104 this.theme = this.theme === 'light' ? 'dark' : 'light';

Callers 4

constructorMethod · 0.95
toggleMethod · 0.95
setThemeMethod · 0.95
utils.jsFile · 0.80

Calls 1

updateToggleButtonsMethod · 0.95

Tested by

no test coverage detected