feat: add shadow variants

This commit is contained in:
RadoslavDimchev 2023-08-11 13:59:12 +03:00
parent afb942dd96
commit f5fd644543
2 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@ const DeviceCPULoad: React.FC<DeviceCPULoadProps> = ({ load }) => {
const message = currentLoad < 80 ? 'Good' : 'Poor' const message = currentLoad < 80 ? 'Good' : 'Poor'
return ( return (
<Shadow style={{ width: '284px', height: '136px', borderRadius: '16px' }}> <Shadow variant="$2" style={{ width: '284px', height: '136px', borderRadius: '16px' }}>
<YStack> <YStack>
<XStack <XStack
justifyContent="space-between" justifyContent="space-between"

View File

@ -28,7 +28,7 @@ const DeviceStorageHealth: React.FC<DeviceStorageHealthProps> = ({ storage, maxS
] ]
} }
return ( return (
<Shadow style={{ width: '284px', height: '136px', borderRadius: '16px' }}> <Shadow variant="$2" style={{ width: '284px', height: '136px', borderRadius: '16px' }}>
<YStack> <YStack>
<XStack <XStack
justifyContent="space-between" justifyContent="space-between"