@skra/shadow-dom-bridge
Project status — built primarily for the author's own applications and published
quietly. No support, roadmap, or stability guarantees beyond the documented SemVer
contract. Licensed under Apache-2.0 (see LICENSE / NOTICE).
Framework-agnostic delivery of Skra Design System styles into Shadow DOM roots (ADR 012
§5). Zero Angular imports — usable from any host (plain DOM, web components, micro-frontends).
import { registerSkraStyles } from '@skra/shadow-dom-bridge';
registerSkraStyles(shadowRoot); // adopts the registered Skra stylesheets into the root
Skra's token system (@skra/tokens) declares CSS custom properties at :root/:host
scopes precisely so values cross Shadow DOM boundaries; this bridge closes the remaining gap —
getting the component/structural CSS itself inside a shadow root.
Versioned in lockstep with @skra/ui and @skra/tokens.