Skip to content

Commit

Permalink
Add checkbox props and clause colors
Browse files Browse the repository at this point in the history
  • Loading branch information
kapantzak committed Dec 17, 2024
1 parent 839d545 commit e886ce2
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/checkbox/checkbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export const Checkbox = forwardRef(
checked,
disabled,
iconProps,
checkboxProps = {},
indeterminate,
Label = Text,
label,
Expand Down Expand Up @@ -55,7 +56,7 @@ export const Checkbox = forwardRef(
{...(indeterminate && { "data-indeterminate": true })}
data-checked={checked}
/>
<StyledCheckbox data-testid="styled-checkbox" disabled={disabled}>
<StyledCheckbox data-testid="styled-checkbox" disabled={disabled} {...checkboxProps}>
{(!!checked || !!indeterminate) && (
<Icon
disabled={disabled}
Expand Down
4 changes: 4 additions & 0 deletions src/theme/dark/colors.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,10 @@ const appColors = {
terminalGreenBorder: rawColors.green.green60,
darkBackground: rawColors.neutral.grey05,
integrationMenuItemHover: rawColors.green.green20,

//Dynamic rooms
clauseBg: rawColors.neutral.grey90,
clauseText: rawColors.neutral.white,
}

export default {
Expand Down
4 changes: 4 additions & 0 deletions src/theme/default/colors.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,10 @@ const appColors = {
terminalGreenBorder: rawColors.green.green,
darkBackground: rawColors.neutral.grey195,
integrationMenuItemHover: rawColors.neutral.grey180,

//Dynamic rooms
clauseBg: rawColors.neutral.grey180,
clauseText: rawColors.neutral.grey100,
}

export default {
Expand Down

0 comments on commit e886ce2

Please sign in to comment.