/** * Brand marks for third-party services the panel configures. * * Kept apart from `module-icons.ts` because these aren't icons in the same * sense: Lucide's set is a monochrome line vocabulary that inherits * `currentColor` and takes a `strokeWidth`, while a brand mark is a fixed, * multi-colour logo that has to be drawn exactly as its owner publishes it. * Mixing them into that map would mean a caller styling one as though it were * the other — a tinted, stroked Google "G" being the obvious failure. * * They're here at all because an OAuth setup screen is one of the few places a * logo is load-bearing rather than decorative: the reader is matching what's on * this screen against a provider's own console, and both providers' brand * guidelines expect their mark to identify the service in exactly this context. * Nominative use — identifying the provider whose credentials the card holds — * so nothing here implies the provider endorses the theme. * * Each takes the same `size` prop the Lucide components do (and ignores * `strokeWidth`, having no strokes), so `moduleIcon()` can hand either kind * back to a caller that just renders ``. */ interface BrandIconProps { // Loose like Lucide's own prop, so a brand mark stays interchangeable with // the line icons wherever `moduleIcon()` hands one back. size?: string | number; // Accepted and ignored: these are filled paths, so there's no stroke to // weight. Present only so a brand mark is drop-in wherever a Lucide icon is. strokeWidth?: string | number; } /** * Google's "G" mark, in its four brand colours. * * @param root0 * @param root0.size */ export function GoogleMark( { size = 24 }: BrandIconProps ) { return ( ); } /** * Facebook's "f" mark. * * @param root0 * @param root0.size */ export function FacebookMark( { size = 24 }: BrandIconProps ) { return ( ); }