From c604e0390d1b808088ab02fbe1d47992f6fd7ba4 Mon Sep 17 00:00:00 2001 From: Nikhil M Warrier Date: Sat, 7 Mar 2026 22:07:47 +0530 Subject: Assets and style guide page --- src/components/ColorSwatch.astro | 49 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 src/components/ColorSwatch.astro (limited to 'src/components/ColorSwatch.astro') diff --git a/src/components/ColorSwatch.astro b/src/components/ColorSwatch.astro new file mode 100644 index 0000000..df01d5a --- /dev/null +++ b/src/components/ColorSwatch.astro @@ -0,0 +1,49 @@ +--- +import { cn } from '@/lib/utils' + +interface Props { + class?: string + color: string + [key: string]: any +} + +const { color: colorName, class: className, ...rest } = Astro.props +--- + + + + -- cgit v1.2.3