fix css references to make suitable for import

This commit is contained in:
Elijah Duffy
2025-07-03 19:30:45 -07:00
parent 8bea47f9fd
commit 79552d21f8
6 changed files with 16 additions and 6 deletions

View File

@@ -1,8 +1,16 @@
<script lang="ts">
let { size }: { size: string } = $props();
import type { ClassValue } from 'svelte/elements';
interface Props {
size: string;
class?: ClassValue;
color?: string;
}
let { size, class: classValue, color = '#fff' }: Props = $props();
</script>
<div class="lds-ring" style="--size: {size}">
<div class={['lds-ring border-white', classValue]} style="--size: {size};--color: {color}">
<div></div>
<div></div>
<div></div>