import { colors, font, radii } from "../../../.storybook/ui/index.js"; /** A small inline SVG data URI — avoids needing binary assets registered in `staticDirs`. */ export const svgIcon = (fill: string): string => `data:image/svg+xml,${encodeURIComponent( `` + `` + ``, )}`; /** Preview box mirroring what the real (invisible-in-canvas) browser tab favicon currently is. */ export const IconPreview = (props: { href: string; label?: string }) => (
favicon preview {props.label ?? "current favicon"}
);