I am just wondering why lit-css - https://lit-element.polymer-project.org/guide/styles - is not being used in this repo?
import { LitElement, html, css } from 'lit-element';
const mainColor = css`red`;
class MyElement extends LitElement {
static get styles() {
return css`
div { color: ${mainColor} }
`;
}
render() {
return html`<div>Some content in a div</div>`;
}
}
customElements.define('my-element', MyElement);
I am just wondering why lit-css - https://lit-element.polymer-project.org/guide/styles - is not being used in this repo?