{"library":"vite-plugin-shadow-style","type":"library","category":null,"description":"A Vite plugin (v1.2.0, stable) that injects CSS styles into web component shadow DOMs. It rewrites CSS imports to be available as a global SHADOW_STYLE string inside the component bundle, allowing styles to be appended to shadow roots without leaking. Differentiates from standard Vite CSS handling by targeting shadow DOM encapsulation. Ships TypeScript declarations.","language":"javascript","status":"active","version":"1.2.0","tags":["javascript","vite","vite-plugin","webcomponents","css","style","shadow-dom","typescript"],"install":[{"cmd":"npm install vite-plugin-shadow-style","imports":["import { shadowStyle } from 'vite-plugin-shadow-style'","declare const SHADOW_STYLE: string; // in globals.d.ts","import { shadowStyle } from 'vite-plugin-shadow-style';\nexport default defineConfig({ plugins: [shadowStyle()] })"]},{"cmd":"yarn add vite-plugin-shadow-style","imports":[]},{"cmd":"pnpm add vite-plugin-shadow-style","imports":[]}],"homepage":null,"github":"https://github.com/hood/vite-plugin-shadow-style","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/vite-plugin-shadow-style","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/vite-plugin-shadow-style/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Thu Jun 18","next_check":"Sun Jul 26","install_tag":null}}