mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-01-19 07:51:02 +00:00
Style validator Address Switch and Switch thumb
This commit is contained in:
parent
9a03385180
commit
91b91ddb88
@ -16,9 +16,8 @@ const ClientAddressRow = () => {
|
||||
<Text size={13} color={'#647084'} weight={'semibold'}> Protocol </Text>
|
||||
<Text size={11} color={'#647084'} weight={'regular'}> (HTTP/HTTPS)</Text>
|
||||
</YStack>
|
||||
|
||||
<Switch size="$2" style={isBeaconSwitchOn ? { backgroundColor: '#2A4AF5' } : { backgroundColor: 'grey' }} checked={isBeaconSwitchOn} onCheckedChange={() => setIsBeaconSwitchOn(prev => !prev)}>
|
||||
<Switch.Thumb style={{ backgroundColor: '#fff', border: '1px solid #2A4AF5' }} />
|
||||
<Switch size="$1" style={isBeaconSwitchOn ? { backgroundColor: '#2A4AF5' } : { backgroundColor: 'grey' }} checked={isBeaconSwitchOn} onCheckedChange={() => setIsBeaconSwitchOn(prev => !prev)}>
|
||||
<Switch.Thumb style={{ right: 7, bottom: 3, backgroundColor: '#fff', height: '16px', width: '16px' }} />
|
||||
</Switch>
|
||||
</YStack>
|
||||
<YStack space={'$2'}>
|
||||
|
Loading…
x
Reference in New Issue
Block a user