MCPcopy Create free account
hub / github.com/webstudio-is/webstudio / decls

Function decls

packages/css-data/src/parse-css.test.ts:1895–1898  ·  view source on GitHub ↗
(css: string)

Source from the content-addressed store, hash-verified

1893};
1894
1895const decls = (css: string) =>
1896 parseCss(`.x { ${css} }`, new Map()).styles.filter(
1897 (d) => d.selector === ".x"
1898 );
1899
1900describe("var() substitution — background", () => {
1901 test("var() for color part alongside other background parts", () => {

Callers 1

parse-css.test.tsFile · 0.85

Calls 1

parseCssFunction · 0.90

Tested by

no test coverage detected