web: data-driven switcher & save mode switcher

also:
- disabled ssr to enable localstorage
- removed the workaround for hover, as it looks bad
This commit is contained in:
wukko
2024-06-19 23:04:09 +06:00
parent 0ce73e03d3
commit 00cdb2121d
7 changed files with 52 additions and 24 deletions

View File

@@ -133,10 +133,14 @@
transform: scale(0.95);
}
:global(.button.selected) {
background: var(--secondary);
color: var(--primary);
}
@media (hover: hover) {
:global(button:hover) {
background-color: var(--button-hover);
z-index: 1;
}
}