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

Method _getContrastCache

src/server/web/public/terminal.js:1487–1489  ·  view source on GitHub ↗
(e3)

Source from the content-addressed store, hash-verified

1485 return !!a2 && (this._addStyle(e3, `color:${a2.css}`), true);
1486 }
1487 _getContrastCache(e3) {
1488 return e3.isDim() ? this._themeService.colors.halfContrastCache : this._themeService.colors.contrastCache;
1489 }
1490 _addStyle(e3, t3) {
1491 e3.setAttribute("style", `${e3.getAttribute("style") || ""}${t3};`);
1492 }

Callers 1

_applyMinimumContrastMethod · 0.45

Calls 1

isDimMethod · 0.80

Tested by

no test coverage detected