update dependencies and fix some a11y issues

This commit is contained in:
2022-11-12 14:40:17 +01:00
parent 6ae927ce71
commit 74c3197e47
7 changed files with 339 additions and 350 deletions

View File

@@ -40,19 +40,19 @@
}
</script>
<div on:click={change}>
<button on:click={change}>
<Icon class="icon" icon="contrast" />
{$theme}
</div>
</button>
<style>
div :global(.icon) {
button :global(.icon) {
height: 1rem;
width: 1rem;
margin-right: 0.5rem;
}
div {
button {
display: flex;
flex-direction: row;
justify-content: flex-end;