Fix title.svelte
This commit is contained in:
parent
70da1db833
commit
8ba5b8ec90
5 changed files with 8 additions and 5 deletions
|
|
@ -1,6 +1,9 @@
|
|||
<script lang="ts">
|
||||
const {size}: {size: string} = $props();
|
||||
import { cn } from "$lib/utils";
|
||||
import type { ClassValue } from 'svelte/elements';
|
||||
|
||||
const props: { class: ClassValue } = $props();
|
||||
</script>
|
||||
<div class="text-{size || "2xl"} bg-clip-text text-transparent bg-linear-to-r from-amber-500 to-orange-500">
|
||||
<div class={cn(props.class, "bg-clip-text text-transparent bg-linear-to-r from-amber-500 to-orange-500")}>
|
||||
chat.sad.ovh
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue