Skip to content

Commit

Permalink
colors
Browse files Browse the repository at this point in the history
  • Loading branch information
carkom committed Jan 22, 2024
1 parent f60be9b commit 25cbe0c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/desktop-client/src/components/common/Toggle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,14 @@ export const Toggle = ({
type="checkbox"
/>
<label
style={{ background: checked ? onColor : 'inherit' }}
style={{ background: checked ? onColor : theme.checkboxToggleBackground }}

Check warning on line 36 in packages/desktop-client/src/components/common/Toggle.tsx

View workflow job for this annotation

GitHub Actions / lint

Replace `·background:·checked·?·onColor·:·theme.checkboxToggleBackground` with `⏎··········background:·checked·?·onColor·:·theme.checkboxToggleBackground,⏎·······`
className={`${css({
display: 'flex',
alignItems: 'center',
justifyContent: 'space-between',
cursor: 'pointer',
width: '32px',
height: '16px',
background: theme.checkboxToggleBackground,
borderRadius: '100px',
position: 'relative',
transition: 'background-color .2s',
Expand Down

0 comments on commit 25cbe0c

Please sign in to comment.