Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

myg-theme

jonhue14MIT0.13.8

Myg theme component.

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'), {} );
})