mirror of
https://github.com/shoelace-style/shoelace.git
synced 2026-01-12 02:59:13 +00:00
Import styles more efficiently (#1861)
* import styles more efficiently; fixes #1692 * remove scale transition
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user