made the time display work in idle screen!
This commit is contained in:
parent
08ef5545cf
commit
959f2441ae
12 changed files with 138 additions and 438 deletions
9
src/routes/IdleScreen/components/time/digit.svelte
Normal file
9
src/routes/IdleScreen/components/time/digit.svelte
Normal file
|
@ -0,0 +1,9 @@
|
|||
<script>
|
||||
let props = $props();
|
||||
</script>
|
||||
|
||||
{#if props.size == "small"}
|
||||
<h1 class="m-0 leading-[75px] text-[75px] text-gray-500">{props.digit}</h1>
|
||||
{:else if props.size == "large"}
|
||||
<h1 class="m-0 leading-[200px] text-[200px]">{props.digit}</h1>
|
||||
{/if}
|
Loading…
Add table
Add a link
Reference in a new issue