lit-theme-literals
v0.0.9
Published
Theming and Color Helper Literals for LitElements
Downloads
20
Maintainers
Readme
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>
`;
}
}