Skip to content

Commit

Permalink
Merge pull request #106 from shapehq/enhancement/select-appearance
Browse files Browse the repository at this point in the history
Styles the Select component
  • Loading branch information
simonbs authored Oct 30, 2023
2 parents ee6a447 + 9eb577e commit 5449bad
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions src/common/theme/theme.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,17 @@ const theme = () => createTheme({
MuiSelect: {
styleOverrides: {
root: () => ({
borderRadius: "20px"
borderRadius: "20px",
"&:hover": {
background: "rgba(0, 0, 0, 0.05)"
},
".MuiOutlinedInput-notchedOutline": {
borderColor: "black"
},
"&.Mui-focused .MuiOutlinedInput-notchedOutline": {
borderColor: "black",
borderWidth: "1px"
}
})
},
defaultProps: {
Expand All @@ -47,7 +57,8 @@ const theme = () => createTheme({
icon={faCaretDown}
className={props.className}
style={{
marginRight: "5px"
marginRight: "5px",
color: "black"
}}
/>
)
Expand Down

0 comments on commit 5449bad

Please sign in to comment.