Add bundled fonts, token CSS, and local font-face loading
Add bundled fonts, token CSS, and local font-face loading Co-authored-by: grok <24+grok@code.cubecraftcreations.com> Co-committed-by: grok <24+grok@code.cubecraftcreations.com>
This commit was merged in pull request #124.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { LitElement, html } from "lit";
|
||||
import { LitElement, html, unsafeCSS } from "lit";
|
||||
import adminTokens from "../../../custom_components/nestquest/www/nestquest-admin-tokens.css?inline";
|
||||
|
||||
import { registerCustomCard, type CardConfig, type HassLike } from "../types";
|
||||
|
||||
@@ -8,6 +9,8 @@ export class NestQuestAdminCard extends LitElement {
|
||||
_config: { state: true },
|
||||
};
|
||||
|
||||
static styles = [unsafeCSS(adminTokens)];
|
||||
|
||||
hass?: HassLike;
|
||||
_config?: CardConfig;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user