0.0.7 • Published 5 years ago

@jrg/rollup-sass-shadow v0.0.7

Weekly downloads
6
License
MIT
Repository
github
Last release
5 years ago

Rollup Plugin for ShadowDom Sass

##rollup-sass-shadow

Simple plugin to allow for inline Sass from dart sass. This allows for things like styles to be injected into ShadowDom

Example

// Rollup config
import SassShadow from '@jrg/rollup-sass-shadow';
const __dirname = path.dirname(new URL(import.meta.url).pathname);
const shadow = new SassShadow(__dirname);

// index.mjs
import style from './index.style.scss';

//index.style.scss
@use "@material/top-app-bar/variables" as top-bar;
:host{]
    height: calc( 100% - #{top-bar.$row-height} );
}
0.0.3

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.7

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago