From bf73427be74aa81750c2537a9dee0ea3d8f6a9ae Mon Sep 17 00:00:00 2001 From: "Elf M. Sternberg" Date: Sat, 7 Oct 2023 14:36:37 -0700 Subject: [PATCH] Make the clock's
accessible by outside CSS. This will allow the font to be configurable without a rebuild. --- demo/index.html | 16 +++++++++++++--- src/PendorClock.ts | 2 +- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/demo/index.html b/demo/index.html index 0cad0e5..9b06e5e 100644 --- a/demo/index.html +++ b/demo/index.html @@ -3,9 +3,19 @@ diff --git a/src/PendorClock.ts b/src/PendorClock.ts index 9ccd913..8a996e1 100644 --- a/src/PendorClock.ts +++ b/src/PendorClock.ts @@ -152,6 +152,6 @@ export class PendorClock extends LitElement { } render() { - return html`
${this.tick(this.clock.value)}
`; + return html`
${this.tick(this.clock.value)}
`; } }