myg-theme
v0.13.8
Published
Myg theme component.
Downloads
11
Readme
Themes
Usage
Stylesheets
@import "myg-theme/theme"
// Include classes (optional)
+myg__classes--theme
Javascript
import MygTheme from 'myg-theme';
document.addEventListener( 'ready', () => {
const mygTheme = new MygTheme( document.querySelector('html'), {} );
})
or
import * as myg from 'myg/src/myg';
const MygTheme = myg.MygTheme;
document.addEventListener( 'ready', () => {
const mygTheme = new MygTheme( document.querySelector('html'), {} );
})