From 380f7f2045e1d91017183c6b37e8a67efe8bfad1 Mon Sep 17 00:00:00 2001 From: rajun Date: Tue, 27 Oct 2026 16:28:57 +0530 Subject: [PATCH] feat: add colour tag --- app/components/ui/color-tag.tsx | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 app/components/ui/color-tag.tsx diff --git a/app/components/ui/color-tag.tsx b/app/components/ui/color-tag.tsx new file mode 100644 index 0000000..5d8ef19 --- /dev/null +++ b/app/components/ui/color-tag.tsx @@ -0,0 +1,11 @@ +import { Text } from '~/components/ui/text'; + +// A small colour swatch with its value, for read-only summaries +export function ColorTag({ color, label }: { color: string; label: string }) { + return ( + + + {label} + + ); +}