UNPKG

@lwc/style-compiler

Version:

Transform style sheet to be consumed by the LWC engine

15 lines (11 loc) 243 B
:host { color: var(--lwc-color); padding: 10px; } :host(.foo) { background: linear-gradient(to top, var(--lwc-color), var(--lwc-other)); } div { background: var(--lwc-color, var(--lwc-other, black)); display: "block"; }