shadowy-style 🕶️
A web component that makes use of the shadow DOM to scope styles, while allowing unobstructed JS interactivity
Demo
A demo site is available.
Install
npm install shadowy-style
Then, in a JS file:
import 'shadowy-style'
or in your HTML:
<script src="npm_modules/shadowy-style/shadowy-style.js" type="module" />