File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ export const CheckboxContainer = styled.div`
1616export const StyledIcon = styled ( Icon ) `
1717 flex-grow: 0;
1818 flex-shrink: 0;
19- fill: ${ getValidatedControlColor ( "primary" ) } ;
19+ fill: ${ getValidatedControlColor ( "primary" , "accent" ) } ;
2020`
2121
2222export const HiddenCheckboxInput = styled . input . attrs ( {
Original file line number Diff line number Diff line change @@ -47,10 +47,10 @@ export const getGutterHeight = ({ theme }) => {
4747
4848export const getValidatedControlColor = (
4949 defaultColorPath = "border" ,
50- defaultDisabledPAth = "disabled"
50+ defaultDisabledPath = "disabled"
5151) => ( { theme, success, error, disabled } ) => {
5252 if ( success ) return getColor ( [ "success" ] ) ( { theme } )
5353 if ( error ) return getColor ( [ "error" ] ) ( { theme } )
54- if ( disabled ) return getColor ( [ defaultDisabledPAth ] ) ( { theme } )
54+ if ( disabled ) return getColor ( [ defaultDisabledPath ] ) ( { theme } )
5555 return getColor ( [ defaultColorPath ] ) ( { theme } )
5656}
You can’t perform that action at this time.
0 commit comments