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…
Reference in New Issue