feat: border radius

This commit is contained in:
TrèsAbhi committed 2024-10-22 15:21:13 -05:00
1 parent bb6044a704
commit c708ab6004
2 files changed
+3 -2

No files matched your search

@@ -12,6 +12,7 @@ export function ThemedBar<RawDatum extends BarDatum>(
<ResponsiveBar <ResponsiveBar
colors={{ scheme: 'yellow_green_blue' }} colors={{ scheme: 'yellow_green_blue' }}
theme={nivoTheme} theme={nivoTheme}
borderRadius={4}
{...props} {...props}
/> />
); );
@@ -28,9 +28,9 @@ export function PerformanceInfo({ skeleton }: MaybeSkeletonComponentProps) {
<InfoCircledIcon /> <InfoCircledIcon />
</Callout.Icon> </Callout.Icon>
<Callout.Text> <Callout.Text>
Career stats based on{' '} Estimated stats based on{' '}
{skeleton ? <InlineSkeleton width="2rem" /> : samples} players. {skeleton ? <InlineSkeleton width="2rem" /> : samples} players.
Updated {skeleton ? <InlineSkeleton width="4rem" /> : timeAgo} ago. Updated {skeleton ? <InlineSkeleton width="3rem" /> : timeAgo} ago.
</Callout.Text> </Callout.Text>
</Callout.Root> </Callout.Root>
</Flex> </Flex>