Replace numeric prop values with named react-zen values.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
f66a508892
commit
7cafc3e61d
23 files changed
+65
-46
No files matched your search
@@ -12,12 +12,12 @@ export function EmptyPlaceholder({ title, description, icon, children }: EmptyPl
|
||||
return (
|
||||
<Column alignItems="center" justifyContent="center" gap="5" height="100%" width="100%">
|
||||
{icon && (
|
||||
<Icon color="10" size="xl">
|
||||
<Icon color="muted" size="xl">
|
||||
{icon}
|
||||
</Icon>
|
||||
)}
|
||||
{title && (
|
||||
<Text weight="bold" size="4">
|
||||
<Text weight="bold" size="lg">
|
||||
{title}
|
||||
</Text>
|
||||
)}
|
||||
|
||||
@@ -19,7 +19,7 @@ export function SectionHeader({
|
||||
<Row {...props} justifyContent="space-between" alignItems="center" height="60px">
|
||||
<Row gap="3" alignItems="center">
|
||||
{icon && <Icon size="md">{icon}</Icon>}
|
||||
{title && <Heading size="3">{title}</Heading>}
|
||||
{title && <Heading size="lg">{title}</Heading>}
|
||||
{description && <Text color="muted">{description}</Text>}
|
||||
</Row>
|
||||
<Row justifyContent="flex-end">{children}</Row>
|
||||
|
||||
Reference in new issue
Block a user