style: Major visual overhaul with various improvements and fixes

This commit is contained in:
Aleksi Lassila
2024-04-15 17:17:01 +03:00
parent d3a47555fd
commit f519fb7447
24 changed files with 853 additions and 599 deletions

View File

@@ -0,0 +1,19 @@
<script lang="ts">
import classNames from 'classnames';
export let hasFocus: boolean;
</script>
<div
class={classNames(
'relative transition-all',
{
'scale-105': hasFocus
},
$$restProps.class
)}
style="transition: transform 200ms;"
{...$$restProps}
>
<slot />
</div>