0.0.9 • Published 7 years ago

lit-theme-literals v0.0.9

Weekly downloads
2
License
ISC
Repository
github
Last release
7 years ago

Theming and Color Helper Literals for LitElements

Usage With Literals

import {LitElement, html, css} from "lit-element";

import {primaryColor, secondaryColorBackground, inverted} from "lit-theme-literals";

class MyElement extends LitElement {
  static get styles() {
    return css`
      :host {
        ${primaryColor}
        ${secondaryColorBackground}
      }

      div {
        ${inverted}
      }
    `;
  }

  render() {
    return html`
      <div></div>
    `;
  }
}
0.0.9

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago