Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions packages/gamut/src/Form/styles/Checkbox-styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ export const checkboxElement = system.css({
minWidth: 22,
width: 22,
height: 22,
borderColor: 'currentColor',
borderRadius: '4px' as keyof typeof theme.borderRadii, // hardcoded so that it is not impacted by the themes border-radius token
borderColor: 'border-primary',
borderRadius: '4px' as keyof typeof theme.borderRadii, // hardcoded so that it is not impacted by the theme's border-radius token
borderStyle: 'solid',
borderWidth: '2px',
transition: transitionConcat(
Expand Down Expand Up @@ -69,6 +69,7 @@ export const checkboxElementStates = system.states({
},
active: {
color: 'primary',
borderColor: 'primary',
},
disabled: {
color: 'text-disabled',
Expand Down
2 changes: 1 addition & 1 deletion packages/gamut/src/Form/styles/Radio-styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export const radioLabel = css({
[InputSelectors.BEFORE_AND_AFTER]: consistentLabelStyles,
[InputSelectors.BEFORE]: {
bg: 'background',
boxShadow: `0 0 0 1px ${theme.colors[`text-disabled`]}`,
boxShadow: `0 0 0 1px ${theme.colors[`border-primary`]}`,
transition: timing.medium,
},
[InputSelectors.AFTER]: {
Expand Down
Loading