This content starts inside a declarative shadow root.
v152 · interactive demo
Parse-time Theme
Use shadowrootadoptedstylesheets on a real declarative shadow root and inspect the resulting sheets.
code
<template shadowrootmode="open" shadowrootadoptedstylesheets="../theme.css">
<article class="card">Shared theme</article>
</template>