mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-03-02 03:50:40 +00:00
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'
|
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"
|
||||||
|
@ -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"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user