musica / source /ui /src /lib /TemperatureOptions.svelte
MMVos's picture
try
4a9e8e5
raw history blame
No virus
486 Bytes
<script lang="ts">
import { temperature } from './stores';
import { temperatures } from './config.json';
import Radio from './Radio.svelte';
</script>
<div>
<fieldset>
<legend>Temperature</legend>
<Radio bind:selection={$temperature} options={temperatures} />
</fieldset>
</div>
<style>
fieldset {
padding: 0;
border: none;
margin-top: 1rem;
}
legend {
text-align: center;
font-size: 1.25rem;
font-weight: 700;
padding: 0;
margin-bottom: 1rem;
}
</style>