@@ -0,0 +1,17 @@
|
||||
// The branding module owns its colour calculation; its visual comparison is a shared kit surface.
|
||||
import { type BrandPreviewLabels, BrandPreview as KitBrandPreview } from "@conusai-kit/ui/patterns"
|
||||
import { tenantStyle } from "../contract/style.js"
|
||||
export type PreviewLabels = BrandPreviewLabels
|
||||
export function BrandPreview({
|
||||
primary,
|
||||
accent,
|
||||
defaultPrimary,
|
||||
labels,
|
||||
}: {
|
||||
primary: string | null
|
||||
accent: string | null
|
||||
defaultPrimary: string
|
||||
labels: PreviewLabels
|
||||
}) {
|
||||
return <KitBrandPreview {...tenantStyle({ primary: primary ?? defaultPrimary, accent })} labels={labels} />
|
||||
}
|
||||
Reference in New Issue
Block a user