Skip to content

BlockSuite API Documentation / @blocksuite/blocks / extractCssVariables

Function: extractCssVariables()

extractCssVariables(element): CssVariablesMap

Parameters

element: Element

Returns

CssVariablesMap

Source

packages/blocks/src/_common/theme/theme-observer.ts:6