From c4065dc58abc1f91f95534be713a180ca0a0bc7a Mon Sep 17 00:00:00 2001 From: MuslemRahimi Date: Mon, 2 Sep 2024 22:31:28 +0200 Subject: [PATCH] bugfixing screener --- src/lib/components/shadcn/button/index.ts | 7 +++--- src/routes/+layout.svelte | 2 +- .../stock-screener/[strategyId]/+page.svelte | 25 +++++++++++++++++-- 3 files changed, 27 insertions(+), 7 deletions(-) diff --git a/src/lib/components/shadcn/button/index.ts b/src/lib/components/shadcn/button/index.ts index 7cc95b54..bc6c9727 100644 --- a/src/lib/components/shadcn/button/index.ts +++ b/src/lib/components/shadcn/button/index.ts @@ -6,12 +6,11 @@ const buttonVariants = tv({ base: "inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50", variants: { variant: { - default: "bg-primary text-primary-foreground sm:hover:bg-[#09090B]", - destructive: - "bg-destructive text-destructive-foreground sm:hover:bg-[#09090B]", + default: "bg-primary text-primary-foreground", + destructive: "bg-destructive text-destructive-foreground", outline: "border border-input bg-background hover:bg-accent hover:text-accent-foreground", - secondary: "bg-secondary text-secondary-foreground sm:hover:bg-[#09090B]", + secondary: "bg-secondary text-secondary-foreground", ghost: "hover:bg-accent hover:text-accent-foreground", link: "text-primary underline-offset-4 hover:underline", }, diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 60e2fd13..9a1885d8 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -290,7 +290,7 @@ $: { Toggle Menu - +