style: update settings input icons
This commit is contained in:
parent
b8d4aa3d0b
commit
a87091152d
2 changed files with 8 additions and 3 deletions
|
@ -40,7 +40,7 @@
|
|||
RNG Weight
|
||||
</SettingsInput>
|
||||
<button
|
||||
class="mt-10 px-4 py-2 bg-blue-500 hover:brightness-75 text-medium rounded-lg w-min"
|
||||
class="mt-10 px-4 py-2 bg-amber-600 hover:brightness-75 text-medium rounded-lg w-min"
|
||||
on:click={resetSettings}>Reset</button
|
||||
>
|
||||
|
||||
|
|
|
@ -28,6 +28,11 @@
|
|||
// @ts-expect-error
|
||||
value = get(settingsStore)[setting]
|
||||
})
|
||||
|
||||
settingsStore.subscribe(data => {
|
||||
// @ts-expect-error
|
||||
value = data[setting]
|
||||
})
|
||||
</script>
|
||||
|
||||
<span class="flex flex-row gap-2">
|
||||
|
@ -39,10 +44,10 @@
|
|||
class="text-slate-800 rounded-lg p-0.5 text-center"
|
||||
/>
|
||||
<button
|
||||
class="bg-blue-500 px-4 py-2 rounded-lg hover:brightness-75 font-medium"
|
||||
class="bg-blue-500 px-2 py-1 rounded-lg hover:brightness-75 font-medium"
|
||||
on:click={handleSubmit}
|
||||
>
|
||||
Save
|
||||
<span class="material-symbols-outlined mt-1">check</span>
|
||||
</button>
|
||||
<label
|
||||
class="text-xl text-slate-100 font-medium my-auto"
|
||||
|
|
Loading…
Reference in a new issue