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

Method constructor

static/js/utils.js:85–88  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

83
84class ThemeManager {
85 constructor() {
86 this.theme = this.loadTheme();
87 this.applyTheme();
88 }
89
90 loadTheme() {
91 return localStorage.getItem('theme') || 'light';

Callers

nothing calls this directly

Calls 2

loadThemeMethod · 0.95
applyThemeMethod · 0.95

Tested by

no test coverage detected