Import styles more efficiently (#1861)

* import styles more efficiently; fixes #1692

* remove scale transition
This commit is contained in:
Cory LaViska
2024-02-09 10:12:47 -05:00
committed by GitHub
parent 775f30107f
commit 02ce4dbf4e
110 changed files with 117 additions and 237 deletions

View File

@@ -24,7 +24,7 @@ import type { CSSResultGroup } from 'lit';
* @cssproperty --example - An example CSS custom property.
*/
export default class {{ properCase tag }} extends ShoelaceElement {
static styles: CSSResultGroup = styles;
static styles: CSSResultGroup = [componentStyles, styles];
private readonly localize = new LocalizeController(this);