import React, { type FC } from 'react'; import classNames from 'clsx'; const Colors = { primary: ['bg-primary', 'text-primary-content'], secondary: ['bg-secondary', 'text-secondary-content'], accent: ['bg-accent', 'text-accent-content'], neutral: ['bg-neutral', 'text-neutral-content'], info: ['bg-info', 'text-info-content'], success: ['bg-success', 'text-success-content'], warning: ['bg-warning', 'text-warning-content'], error: ['bg-error', 'text-error-content'], }; export const ThemePreviewCard: FC<{ title?: string }> = ({ title }) => { return (
{title}
{Object.entries(Colors).map(([name, [bg, content]]) => (
{name[0].toUpperCase()}
))}
); };