MCPcopy Create free account
hub / github.com/csskit/csskit / getGridBorderColor

Function getGridBorderColor

website/script/benchmarks.js:113–116  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

111}
112
113function getGridBorderColor() {
114 const isDarkMode = window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches;
115 return isDarkMode ? "rgba(255, 255, 255, 0.2)" : "rgba(0, 0, 0, 0.2)";
116}
117
118function addThresholdAnnotations(thresholds) {
119 if (!thresholds) return [];

Callers 4

getBaseChartConfigFunction · 0.85
setupThemeObserverFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected