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

Method toggle

static/js/utils.js:103–107  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

101 }
102
103 toggle() {
104 this.theme = this.theme === 'light' ? 'dark' : 'light';
105 this.saveTheme(this.theme);
106 this.applyTheme();
107 }
108
109 setTheme(theme) {
110 this.theme = theme;

Callers 5

initEventListenersFunction · 0.80
showVendorProgressPanelFunction · 0.80
switchPaymentTabFunction · 0.80
selectPlanFunction · 0.80
toggleMsdFunction · 0.80

Calls 2

saveThemeMethod · 0.95
applyThemeMethod · 0.95

Tested by

no test coverage detected