From ba0bc6d7e4230e6a5a16e6caa577e995872a4989 Mon Sep 17 00:00:00 2001 From: nwrenger Date: Thu, 29 Aug 2024 19:14:19 +0200 Subject: [PATCH] :wrench: Fixed fmt --- .../ui/alert/alert-description.svelte | 8 +++--- .../components/ui/alert/alert-title.svelte | 12 ++++----- src/lib/components/ui/alert/alert.svelte | 10 +++---- src/lib/components/ui/alert/index.ts | 26 +++++++++---------- 4 files changed, 28 insertions(+), 28 deletions(-) diff --git a/src/lib/components/ui/alert/alert-description.svelte b/src/lib/components/ui/alert/alert-description.svelte index 5bbc85a..06d344c 100644 --- a/src/lib/components/ui/alert/alert-description.svelte +++ b/src/lib/components/ui/alert/alert-description.svelte @@ -1,13 +1,13 @@ -
+
diff --git a/src/lib/components/ui/alert/alert-title.svelte b/src/lib/components/ui/alert/alert-title.svelte index 2795342..c63089b 100644 --- a/src/lib/components/ui/alert/alert-title.svelte +++ b/src/lib/components/ui/alert/alert-title.svelte @@ -1,20 +1,20 @@ diff --git a/src/lib/components/ui/alert/alert.svelte b/src/lib/components/ui/alert/alert.svelte index e1aa6df..0bf6eec 100644 --- a/src/lib/components/ui/alert/alert.svelte +++ b/src/lib/components/ui/alert/alert.svelte @@ -1,14 +1,14 @@ diff --git a/src/lib/components/ui/alert/index.ts b/src/lib/components/ui/alert/index.ts index 296f9e1..c8f3474 100644 --- a/src/lib/components/ui/alert/index.ts +++ b/src/lib/components/ui/alert/index.ts @@ -1,26 +1,26 @@ -import { type VariantProps, tv } from "tailwind-variants"; +import { type VariantProps, tv } from 'tailwind-variants'; -import Root from "./alert.svelte"; -import Description from "./alert-description.svelte"; -import Title from "./alert-title.svelte"; +import Root from './alert.svelte'; +import Description from './alert-description.svelte'; +import Title from './alert-title.svelte'; export const alertVariants = tv({ - base: "[&>svg]:text-foreground relative w-full rounded-lg border p-4 [&:has(svg)]:pl-11 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4", + base: '[&>svg]:text-foreground relative w-full rounded-lg border p-4 [&:has(svg)]:pl-11 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4', variants: { variant: { - default: "bg-background text-foreground", + default: 'bg-background text-foreground', destructive: - "border-destructive/50 text-destructive text-destructive dark:border-destructive [&>svg]:text-destructive", - }, + 'border-destructive/50 text-destructive text-destructive dark:border-destructive [&>svg]:text-destructive' + } }, defaultVariants: { - variant: "default", - }, + variant: 'default' + } }); -export type Variant = VariantProps["variant"]; -export type HeadingLevel = "h1" | "h2" | "h3" | "h4" | "h5" | "h6"; +export type Variant = VariantProps['variant']; +export type HeadingLevel = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6'; export { Root, @@ -29,5 +29,5 @@ export { // Root as Alert, Description as AlertDescription, - Title as AlertTitle, + Title as AlertTitle };