setup UmbTextStyle

This commit is contained in:
Niels Lyngsø
2023-09-05 16:16:04 +02:00
parent ad282e6eb7
commit 3a4ed4682e
14 changed files with 33 additions and 18 deletions

View File

@@ -3,7 +3,7 @@
"prefix": "lit new",
"scope": "typescript",
"body": [
"import { UUITextStyles } from '@umbraco-ui/uui-css';",
"import { UmbTextStyles } from '@umbraco-ui/backoffice/style';",
"import { css, html } from 'lit';",
"import { customElement } from 'lit/decorators.js';",
"import { UmbLitElement } from '@umbraco-cms/internal/lit-element';",
@@ -14,7 +14,7 @@
"\t\treturn html`${0:umb-${TM_FILENAME_BASE/(.*)\\..+$/$1/}}`;",
"\t}",
"",
"\tstatic styles = [UUITextStyles, css``];",
"\tstatic styles = [UmbTextStyles, css``];",
"}",
"",
"export default Umb${TM_FILENAME_BASE/(.*)\\..+$/${1:/pascalcase}/}Element",