MCPcopy Create free account
hub / github.com/Lobos/react-ui / generateGrid

Function generateGrid

src/utils/grids.js:69–75  ·  view source on GitHub ↗
(width, key, responsive)

Source from the content-addressed store, hash-verified

67}
68
69function generateGrid(width, key, responsive) {
70 GRIDS[key] = true;
71 let minWidth = RESPONSIVE[responsive];
72 let text = `@media screen and (min-width: ${minWidth}px) { .${gridPre}-${key}{width: ${width}%} }`;
73
74 createStyle(text);
75}
76
77function generateOffset(width, key, responsive) {
78 OFFSETS[key] = true;

Callers 1

generateFunction · 0.85

Calls 1

createStyleFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…