Skip to content

Commit

Permalink
fix(22645): Toggle color fix for disable state
Browse files Browse the repository at this point in the history
  • Loading branch information
wadehrarshpreet authored and bsclifton committed May 27, 2022
1 parent ab87d15 commit 3a7aab5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/brave_new_tab_ui/components/toggle/style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export const StyledBullet = styled('label')<Props>`
transform: ${p => `translate(${transformBullet(p)})`};
width: ${p => p.size === 'small' ? '16px' : '20px'};
height: ${p => p.size === 'small' ? '16px' : '20px'};
background-color: ${p => p.disabled && 'rgba(235,236,240,0.8)' || p.checked ? '#fb542b' : '#ebecf0'};
background-color: ${p => p.disabled ? 'rgba(235,236,240,0.8)' : p.checked ? '#fb542b' : '#ebecf0'};
display: block;
box-shadow: 0 3px 3px rgba(0,0,0,0.05);
`

0 comments on commit 3a7aab5

Please sign in to comment.