Added config page and store

For the future global sound handling
This commit is contained in:
Alexis
2024-05-07 23:31:17 +02:00
parent 8e3a5ddc3f
commit 6fcf8cd1da
10 changed files with 137 additions and 20 deletions

View File

@@ -24,9 +24,10 @@ function handleClickedKey(e: Event, item: MenuItem) {
}
function handleActiveBtn(e: Event, item: MenuItem) {
// if (document.activeElement && e.type === 'mouseenter') {
// ;(document.activeElement as HTMLElement).blur()
// }
if (document.activeElement && e.type === 'mouseenter') {
;(document.activeElement as HTMLElement).blur()
}
activeKey.value = item.id
bannerText.value = item.bannerText
}
@@ -71,8 +72,8 @@ menu {
position: relative;
@apply pl-11;
li {
@apply mb-3;
li:not(:first-child) {
@apply mt-3;
}
&::before {