Skip to content

Commit

Permalink
jsut some cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
talentlessguy committed Sep 3, 2024
1 parent 6ee7c1c commit 495010a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions components/src/components/molecules/Checkbox/Checkbox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ const InputBox = React.forwardRef<HTMLElement, BoxProps & { $colorStyle: ColorSt
<Box
as="input"
backgroundColor={{
base: '$border',
disabled: '$border',
base: 'border',
disabled: 'border',
checked: getValueForColorStyle($colorStyle, 'background'),
}}
borderRadius="small"
Expand Down
2 changes: 1 addition & 1 deletion components/src/components/molecules/Input/Input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ const Label = ({
{...props}
alignItems="center"
as="label"
backgroundColor={$disabled ? '$border' : 'greySurface'}
backgroundColor={$disabled ? 'border' : 'greySurface'}
color="greyPrimary"
cursor={$disabled ? 'not-allowed' : 'pointer'}
display="flex"
Expand Down
2 changes: 1 addition & 1 deletion components/src/components/molecules/Profile/Profile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const Container = React.forwardRef<HTMLElement, BoxProps & ContainerProps>(
({ $size, $hasDropdown, $open, ...props }, ref) => (
<Box
alignItems="center"
backgroundColor={$open ? '$border' : 'backgroundPrimary'}
backgroundColor={$open ? 'border' : 'backgroundPrimary'}
borderRadius="full"
cursor={$hasDropdown ? 'pointer' : 'unset'}
display="flex"
Expand Down
4 changes: 2 additions & 2 deletions components/src/components/molecules/Toggle/Toggle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ const CheckBox = React.forwardRef<
alignItems="center"
as="input"
backgroundColor={{
base: '$border',
base: 'border',
checked: getValidatedColor($color),
disabled: '$border',
disabled: 'border',
}}
borderRadius="full"
cursor={{ base: 'pointer', disabled: 'not-allowed' }}
Expand Down

0 comments on commit 495010a

Please sign in to comment.