0.0.9 • Published 6 years ago

lit-theme-literals v0.0.9

Weekly downloads
2
License
ISC
Repository
github
Last release
6 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

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago