MCPcopy Create free account
hub / github.com/GCWing/BitFun / getComputed

Function getComputed

MiniApp/Demo/git-graph/source/ui.js:124–126  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

122 const root = document.documentElement;
123
124 function getComputed(name) {
125 return getComputedStyle(root).getPropertyValue(name).trim() || null;
126 }
127
128 /** Returns array of 7 branch/lane colors from CSS variables (theme-aware). */
129 window.__GG.getGraphColors = function () {

Callers 1

ui.jsFile · 0.70

Calls 1

trimMethod · 0.80

Tested by

no test coverage detected