{description}
+ \ No newline at end of file diff --git a/apps/it-tools/src/components/ui/button.tsx b/apps/it-tools/src/components/ui/button.tsx new file mode 100644 index 00000000..6663232c --- /dev/null +++ b/apps/it-tools/src/components/ui/button.tsx @@ -0,0 +1,66 @@ +import { cn } from "@/libs/cn"; +import type { ButtonRootProps } from "@kobalte/core/button"; +import { Button as ButtonPrimitive } from "@kobalte/core/button"; +import type { PolymorphicProps } from "@kobalte/core/polymorphic"; +import type { VariantProps } from "class-variance-authority"; +import { cva } from "class-variance-authority"; +import type { ValidComponent } from "solid-js"; +import { splitProps } from "solid-js"; + +export const buttonVariants = cva( + "inline-flex items-center justify-center rounded-md text-sm font-medium transition-shadow focus-visible:(outline-none ring-1.5 ring-ring) disabled:(pointer-events-none opacity-50) bg-inherit", + { + variants: { + variant: { + default: + "bg-primary text-primary-foreground shadow hover:bg-primary/90", + destructive: + "bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90", + outline: + "border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground", + secondary: + "bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80", + ghost: "hover:(bg-accent text-accent-foreground)", + link: "text-primary underline-offset-4 hover:underline", + }, + size: { + default: "h-9 px-4 py-2", + sm: "h-8 px-3 text-xs", + lg: "h-10 px-8", + icon: "h-9 w-9", + }, + }, + defaultVariants: { + variant: "default", + size: "default", + }, + }, +); + +type buttonProps+ Page not found +
++ The open-source and self-hostable collection of handy online tools for developers and people working in IT. +
+The page you are looking for does not exist.
-Please check the URL and try again.
- -- {t('app.description')} -
- -