Function: cssValueSites()
ts
function cssValueSites(css, options?): CssValueSites;Defined in: packages/index/src/index.ts:666
Extract custom-property assignments (--name: value) and var(--name, fallback) references from CSS. Parsing lives here — the CSS-parsing package — so the linters and the language server share one extractor for the value-validation rules.
Parameters
css
string
The CSS source.
options?
parse?
(css) => Root_
Returns
The assignments and var(…) usages found.