MCPcopy Create free account
hub / github.com/codeaashu/claude-code / colors

Method colors

src/server/web/public/terminal.js:2299–2301  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2297 })());
2298 let v = t2.ThemeService = class extends h.Disposable {
2299 get colors() {
2300 return this._colors;
2301 }
2302 constructor(e3) {
2303 super(), this._optionsService = e3, this._contrastCache = new n.ColorContrastCache(), this._halfContrastCache = new n.ColorContrastCache(), this._onChangeColors = this.register(new a.EventEmitter()), this.onChangeColors = this._onChangeColors.event, this._colors = { foreground: l, background: d, cursor: _, cursorAccent: u, selectionForeground: void 0, selectionBackgroundTransparent: f, selectionBackgroundOpaque: o.color.blend(d, f), selectionInactiveBackgroundTransparent: f, selectionInactiveBackgroundOpaque: o.color.blend(d, f), ansi: t2.DEFAULT_ANSI_COLORS.slice(), contrastCache: this._contrastCache, halfContrastCache: this._halfContrastCache }, this._updateRestoreColors(), this._setTheme(this._optionsService.rawOptions.theme), this.register(this._optionsService.onSpecificOptionChange("minimumContrastRatio", (() => this._contrastCache.clear()))), this.register(this._optionsService.onSpecificOptionChange("theme", (() => this._setTheme(this._optionsService.rawOptions.theme))));
2304 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected