Skip to content

Commit

Permalink
fix: minor border radius issues (#611)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsladerman authored Jun 18, 2024
1 parent eea0851 commit cc2316e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions src/components/Select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ const SelectButtonInner = styled.div<{
color: theme.colors['text-light'],
border: theme.borders.input,
borderRadius: theme.borderRadiuses.medium,
overflow: 'hidden',
'.content': {
alignItems: 'center',
display: 'flex',
Expand Down
8 changes: 4 additions & 4 deletions src/theme.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ const getHonorableThemeProps = ({ mode }: { mode: ColorMode }) => {
{
buttonMedium: true,
display: 'flex',
borderRadius: 'normal',
borderRadius: 'medium',
color: 'text-always-white',
backgroundColor: 'action-primary',
border: '1px solid action-primary',
Expand Down Expand Up @@ -460,7 +460,7 @@ const getHonorableThemeProps = ({ mode }: { mode: ColorMode }) => {
{
width: 24,
height: 24,
borderRadius: 'normal',
borderRadius: 'medium',
},
({ small }: any) =>
small && {
Expand Down Expand Up @@ -527,7 +527,7 @@ const getHonorableThemeProps = ({ mode }: { mode: ColorMode }) => {
paddingRight: 'medium',
paddingLeft: 'medium',
border: '1px solid border-input',
borderRadius: 'normal',
borderRadius: 'medium',
_focusWithin: {
borderColor: 'border-outline-focused',
},
Expand Down Expand Up @@ -630,7 +630,7 @@ const getHonorableThemeProps = ({ mode }: { mode: ColorMode }) => {
paddingBottom: '4px',
backgroundColor: 'fill-two',
border: '1px solid border',
borderRadius: 'normal',
borderRadius: 'medium',
boxShadow: 'moderate',
elevation: 0, // reset from honorable-theme-default
},
Expand Down

0 comments on commit cc2316e

Please sign in to comment.