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} + + ); +}