status/gui/dashboard/tile-rawvalue.svelte
Romein van Buren f57f9137c7
More dashboard fixes
Signed-off-by: Romein van Buren <romein@vburen.nl>
2022-07-11 13:15:39 +02:00

23 lines
335 B
Svelte

<script>
import Tile from './tile.svelte';
export let title;
export let subtitle;
export let color;
export let value;
export let date;
</script>
<Tile {title} {subtitle} {color} {date}>
<div class="value {color}">
{value}
</div>
</Tile>
<style>
.value {
font-size: 3rem;
font-weight: 600;
}
</style>