Skip to content

Commit

Permalink
theme: use radio focus color from theme
Browse files Browse the repository at this point in the history
  • Loading branch information
thecodrr committed Mar 4, 2024
1 parent 2c22a7c commit af1cea8
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion packages/theme/src/theme/variants/input.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,15 @@ const error: ThemeUIStyleObject = {
}
};

const radio: ThemeUIStyleObject = {
"input:focus ~ &": {
backgroundColor: `border-secondary`
}
};

export const inputVariants = {
input: defaultVariant,
error,
clean
clean,
radio
};

0 comments on commit af1cea8

Please sign in to comment.