wxt
Version:
⚡ Next-gen Web Extension Framework
11 lines (10 loc) • 369 B
TypeScript
/**
* Given a CSS string that will be loaded into a shadow root, split it into two parts:
* - `documentCss`: CSS that needs to be applied to the document (like `@property`)
* - `shadowCss`: CSS that needs to be applied to the shadow root
* @param css
*/
export declare function splitShadowRootCss(css: string): {
documentCss: string;
shadowCss: string;
};