style(devkit): add explicit text color to card variant labels
This commit is contained in:
@@ -77,7 +77,7 @@ export default function ComponentsPage() {
|
|||||||
<PreviewBlock title="Card — variants">
|
<PreviewBlock title="Card — variants">
|
||||||
{['default', 'elevated', 'outline', 'success', 'info', 'warning', 'danger'].map(v => (
|
{['default', 'elevated', 'outline', 'success', 'info', 'warning', 'danger'].map(v => (
|
||||||
<Card key={v} variant={v} padding="md" className="min-w-[140px]">
|
<Card key={v} variant={v} padding="md" className="min-w-[140px]">
|
||||||
<span className="text-sm font-medium">{v}</span>
|
<span className="text-sm font-medium text-black dark:text-white">{v}</span>
|
||||||
</Card>
|
</Card>
|
||||||
))}
|
))}
|
||||||
</PreviewBlock>
|
</PreviewBlock>
|
||||||
|
|||||||
Reference in New Issue
Block a user