feat: add shadow variants
This commit is contained in:
parent
afb942dd96
commit
f5fd644543
|
@ -34,7 +34,7 @@ const DeviceCPULoad: React.FC<DeviceCPULoadProps> = ({ load }) => {
|
|||
const message = currentLoad < 80 ? 'Good' : 'Poor'
|
||||
|
||||
return (
|
||||
<Shadow style={{ width: '284px', height: '136px', borderRadius: '16px' }}>
|
||||
<Shadow variant="$2" style={{ width: '284px', height: '136px', borderRadius: '16px' }}>
|
||||
<YStack>
|
||||
<XStack
|
||||
justifyContent="space-between"
|
||||
|
|
|
@ -28,7 +28,7 @@ const DeviceStorageHealth: React.FC<DeviceStorageHealthProps> = ({ storage, maxS
|
|||
]
|
||||
}
|
||||
return (
|
||||
<Shadow style={{ width: '284px', height: '136px', borderRadius: '16px' }}>
|
||||
<Shadow variant="$2" style={{ width: '284px', height: '136px', borderRadius: '16px' }}>
|
||||
<YStack>
|
||||
<XStack
|
||||
justifyContent="space-between"
|
||||
|
|
Loading…
Reference in New Issue