Advances the ongoing token/componentization cleanup (anchored player dock, border-based panels instead of floating shadows, corrected light-mode accent/gradient tokens) alongside in-progress backend support for track genre tags.
16 lines
345 B
Svelte
16 lines
345 B
Svelte
<script lang="ts">
|
|
import type { Snippet } from 'svelte';
|
|
|
|
interface Props {
|
|
class?: string;
|
|
style?: string;
|
|
children: Snippet;
|
|
}
|
|
|
|
let { class: klass = '', style = '', children }: Props = $props();
|
|
</script>
|
|
|
|
<div class="glass-panel animate-pop rounded-panel border border-hairline p-1.5 {klass}" {style}>
|
|
{@render children()}
|
|
</div>
|