diff --git a/bun.lockb b/bun.lockb index 099e70a..4834d55 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index 232461f..107c996 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,7 @@ "lint": "next lint" }, "dependencies": { + "@radix-ui/react-radio-group": "^1.2.2", "class-variance-authority": "^0.7.1", "clsx": "^2.1.1", "lucide-react": "^0.474.0", diff --git a/public/ui-dark.png b/public/ui-dark.png new file mode 100644 index 0000000..a67fcc0 Binary files /dev/null and b/public/ui-dark.png differ diff --git a/public/ui-light.png b/public/ui-light.png new file mode 100644 index 0000000..dbe35ba Binary files /dev/null and b/public/ui-light.png differ diff --git a/public/ui-system.png b/public/ui-system.png new file mode 100644 index 0000000..693820b Binary files /dev/null and b/public/ui-system.png differ diff --git a/src/app/globals.css b/src/app/globals.css index 16ec755..1c0e1e0 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -19,10 +19,10 @@ --accent: 240 4.8% 95.9%; --accent-foreground: 240 5.9% 10%; --destructive: 0 84.2% 60.2%; - --destructive-foreground: 0 0% 98%; + --destructive-foreground: 0 0% 100%; --border: 240 5.9% 90%; - --input: 240 5.9% 90%; - --ring: 240 10% 3.9%; + --input: 240 4.9% 83.9%; + --ring: 240 5% 64.9%; --chart-1: 12 76% 61%; --chart-2: 173 58% 39%; --chart-3: 197 37% 24%; @@ -41,15 +41,15 @@ --primary-foreground: 240 5.9% 10%; --secondary: 240 3.7% 15.9%; --secondary-foreground: 0 0% 98%; - --muted: 240 3.7% 15.9%; - --muted-foreground: 240 5% 64.9%; - --accent: 240 3.7% 15.9%; + --muted: 240 5.9% 10%; + --muted-foreground: 240 4.4% 58%; + --accent: 240 5.9% 10%; --accent-foreground: 0 0% 98%; - --destructive: 0 62.8% 30.6%; - --destructive-foreground: 0 0% 98%; + --destructive: 0 84.2% 60.2%; + --destructive-foreground: 0 0% 100%; --border: 240 3.7% 15.9%; --input: 240 3.7% 15.9%; - --ring: 240 4.9% 83.9%; + --ring: 240 3.8% 46.1%; --chart-1: 220 70% 50%; --chart-2: 160 60% 45%; --chart-3: 30 80% 55%; @@ -57,6 +57,7 @@ --chart-5: 340 75% 55%; } } + @layer base { * { @apply border-border; diff --git a/src/components/ui/radio-group.tsx b/src/components/ui/radio-group.tsx new file mode 100644 index 0000000..f0639ff --- /dev/null +++ b/src/components/ui/radio-group.tsx @@ -0,0 +1,51 @@ +"use client"; + +import * as RadioGroupPrimitive from "@radix-ui/react-radio-group"; +import * as React from "react"; + +import { cn } from "@/lib/utils"; + +const RadioGroup = React.forwardRef< + React.ElementRef, + React.ComponentPropsWithoutRef +>(({ className, ...props }, ref) => { + return ( + + ); +}); +RadioGroup.displayName = RadioGroupPrimitive.Root.displayName; + +const RadioGroupItem = React.forwardRef< + React.ElementRef, + React.ComponentPropsWithoutRef +>(({ className, ...props }, ref) => { + return ( + + + + + + + + ); +}); +RadioGroupItem.displayName = RadioGroupPrimitive.Item.displayName; + +export { RadioGroup, RadioGroupItem }; diff --git a/src/components/ui/skeleton.tsx b/src/components/ui/skeleton.tsx new file mode 100644 index 0000000..c26c4ea --- /dev/null +++ b/src/components/ui/skeleton.tsx @@ -0,0 +1,15 @@ +import { cn } from "@/lib/utils"; + +function Skeleton({ + className, + ...props +}: React.HTMLAttributes) { + return ( +
+ ); +} + +export { Skeleton };