Skip to content

Commit e773f92

Browse files
jonnybelkodiakhq[bot]
authored andcommitted
fix(radio-input): radio option background color (#1193)
1 parent 613101c commit e773f92

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/components/inputs/radio-input/radio-option.styles.js

+5-3
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@ const getContainerStyles = props => {
66
display: flex;
77
align-items: center;
88
9-
/* reset from createStyledIcon */
10-
* {
11-
fill: none;
9+
svg {
10+
fill: ${vars.backgroundColorForInput};
1211
}
1312
1413
svg [id$='borderAndContent'] > [id$='border'] {
@@ -22,6 +21,9 @@ const getContainerStyles = props => {
2221
return [
2322
baseStyles,
2423
css`
24+
svg {
25+
fill: ${vars.backgroundColorForInputWhenDisabled};
26+
}
2527
svg [id$='borderAndContent'] > [id$='content'] {
2628
fill: ${vars.fontColorForInputWhenDisabled};
2729
}

0 commit comments

Comments
 (0)