Skip to content

Commit

Permalink
fixup! feat(suite-native): changing switch visuals to stand out more
Browse files Browse the repository at this point in the history
  • Loading branch information
vytick committed Aug 13, 2024
1 parent 2b113dd commit aec0d5b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion suite-native/atoms/src/Switch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import Animated, {
} from 'react-native-reanimated';

import { prepareNativeStyle, useNativeStyles } from '@trezor/styles';
import { palette } from '@trezor/theme';

import { ACCESSIBILITY_FONTSIZE_MULTIPLIER } from './Text';

Expand Down Expand Up @@ -49,7 +50,7 @@ const switchContainerStyle = prepareNativeStyle<{ isChecked: boolean }>((utils,
const switchCircleStyle = prepareNativeStyle(utils => ({
width: SWITCH_CIRCLE_SIZE,
height: SWITCH_CIRCLE_SIZE,
backgroundColor: '#ffffff',
backgroundColor: palette.darkGray1000,
borderRadius: utils.borders.radii.round,
margin: SWITCH_CIRCLE_MARGIN,
alignSelf: 'center',
Expand Down

0 comments on commit aec0d5b

Please sign in to comment.