Skip to content

Commit

Permalink
Increase border-radius of form fields
Browse files Browse the repository at this point in the history
  • Loading branch information
connor-baer committed May 22, 2023
1 parent 8ac68d7 commit af944ce
Show file tree
Hide file tree
Showing 13 changed files with 58 additions and 58 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ exports[`CurrencyInput Styles should render a currency as a prefix 1`] = `
background-color: var(--cui-bg-normal);
border: none;
outline: 0;
border-radius: 8px;
border-radius: 12px;
padding: 12px 16px;
-webkit-transition: box-shadow 120ms ease-in-out,padding 120ms ease-in-out;
transition: box-shadow 120ms ease-in-out,padding 120ms ease-in-out;
Expand Down Expand Up @@ -182,7 +182,7 @@ exports[`CurrencyInput Styles should render a currency as a suffix 1`] = `
background-color: var(--cui-bg-normal);
border: none;
outline: 0;
border-radius: 8px;
border-radius: 12px;
padding: 12px 16px;
-webkit-transition: box-shadow 120ms ease-in-out,padding 120ms ease-in-out;
transition: box-shadow 120ms ease-in-out,padding 120ms ease-in-out;
Expand Down Expand Up @@ -356,7 +356,7 @@ exports[`CurrencyInput Styles should render with default styles and format 1`] =
background-color: var(--cui-bg-normal);
border: none;
outline: 0;
border-radius: 8px;
border-radius: 12px;
padding: 12px 16px;
-webkit-transition: box-shadow 120ms ease-in-out,padding 120ms ease-in-out;
transition: box-shadow 120ms ease-in-out,padding 120ms ease-in-out;
Expand Down
2 changes: 1 addition & 1 deletion packages/circuit-ui/components/Input/Input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ const inputBaseStyles = ({ theme }: StyleProps) => css`
background-color: var(--cui-bg-normal);
border: none;
outline: 0;
border-radius: ${theme.borderRadius.byte};
border-radius: ${theme.borderRadius.kilo};
padding: ${theme.spacings.kilo} ${theme.spacings.mega};
transition: box-shadow ${theme.transitions.default},
padding ${theme.transitions.default};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ exports[`Input Styles should prioritize disabled over error styles 1`] = `
background-color: var(--cui-bg-normal);
border: none;
outline: 0;
border-radius: 8px;
border-radius: 12px;
padding: 12px 16px;
-webkit-transition: box-shadow 120ms ease-in-out,padding 120ms ease-in-out;
transition: box-shadow 120ms ease-in-out,padding 120ms ease-in-out;
Expand Down Expand Up @@ -140,7 +140,7 @@ exports[`Input Styles should prioritize disabled over warning styles 1`] = `
background-color: var(--cui-bg-normal);
border: none;
outline: 0;
border-radius: 8px;
border-radius: 12px;
padding: 12px 16px;
-webkit-transition: box-shadow 120ms ease-in-out,padding 120ms ease-in-out;
transition: box-shadow 120ms ease-in-out,padding 120ms ease-in-out;
Expand Down Expand Up @@ -245,7 +245,7 @@ exports[`Input Styles should render with a description when passed the validatio
background-color: var(--cui-bg-normal);
border: none;
outline: 0;
border-radius: 8px;
border-radius: 12px;
padding: 12px 16px;
-webkit-transition: box-shadow 120ms ease-in-out,padding 120ms ease-in-out;
transition: box-shadow 120ms ease-in-out,padding 120ms ease-in-out;
Expand Down Expand Up @@ -392,7 +392,7 @@ exports[`Input Styles should render with a prefix when passed the prefix prop 1`
background-color: var(--cui-bg-normal);
border: none;
outline: 0;
border-radius: 8px;
border-radius: 12px;
padding: 12px 16px;
-webkit-transition: box-shadow 120ms ease-in-out,padding 120ms ease-in-out;
transition: box-shadow 120ms ease-in-out,padding 120ms ease-in-out;
Expand Down Expand Up @@ -513,7 +513,7 @@ exports[`Input Styles should render with a suffix when passed the suffix prop 1`
background-color: var(--cui-bg-normal);
border: none;
outline: 0;
border-radius: 8px;
border-radius: 12px;
padding: 12px 16px;
-webkit-transition: box-shadow 120ms ease-in-out,padding 120ms ease-in-out;
transition: box-shadow 120ms ease-in-out,padding 120ms ease-in-out;
Expand Down Expand Up @@ -651,7 +651,7 @@ exports[`Input Styles should render with custom styles 1`] = `
background-color: var(--cui-bg-normal);
border: none;
outline: 0;
border-radius: 8px;
border-radius: 12px;
padding: 12px 16px;
-webkit-transition: box-shadow 120ms ease-in-out,padding 120ms ease-in-out;
transition: box-shadow 120ms ease-in-out,padding 120ms ease-in-out;
Expand Down Expand Up @@ -768,7 +768,7 @@ exports[`Input Styles should render with default styles 1`] = `
background-color: var(--cui-bg-normal);
border: none;
outline: 0;
border-radius: 8px;
border-radius: 12px;
padding: 12px 16px;
-webkit-transition: box-shadow 120ms ease-in-out,padding 120ms ease-in-out;
transition: box-shadow 120ms ease-in-out,padding 120ms ease-in-out;
Expand Down Expand Up @@ -884,7 +884,7 @@ exports[`Input Styles should render with disabled styles when passed the disable
background-color: var(--cui-bg-normal);
border: none;
outline: 0;
border-radius: 8px;
border-radius: 12px;
padding: 12px 16px;
-webkit-transition: box-shadow 120ms ease-in-out,padding 120ms ease-in-out;
transition: box-shadow 120ms ease-in-out,padding 120ms ease-in-out;
Expand Down Expand Up @@ -989,7 +989,7 @@ exports[`Input Styles should render with invalid styles when passed the invalid
background-color: var(--cui-bg-normal);
border: none;
outline: 0;
border-radius: 8px;
border-radius: 12px;
padding: 12px 16px;
-webkit-transition: box-shadow 120ms ease-in-out,padding 120ms ease-in-out;
transition: box-shadow 120ms ease-in-out,padding 120ms ease-in-out;
Expand Down Expand Up @@ -1122,7 +1122,7 @@ exports[`Input Styles should render with readonly styles when passed the readOnl
background-color: var(--cui-bg-normal);
border: none;
outline: 0;
border-radius: 8px;
border-radius: 12px;
padding: 12px 16px;
-webkit-transition: box-shadow 120ms ease-in-out,padding 120ms ease-in-out;
transition: box-shadow 120ms ease-in-out,padding 120ms ease-in-out;
Expand Down Expand Up @@ -1240,7 +1240,7 @@ exports[`Input Styles should render with right aligned text 1`] = `
background-color: var(--cui-bg-normal);
border: none;
outline: 0;
border-radius: 8px;
border-radius: 12px;
padding: 12px 16px;
-webkit-transition: box-shadow 120ms ease-in-out,padding 120ms ease-in-out;
transition: box-shadow 120ms ease-in-out,padding 120ms ease-in-out;
Expand Down Expand Up @@ -1357,7 +1357,7 @@ exports[`Input Styles should render with valid styles when passed the showValid
background-color: var(--cui-bg-normal);
border: none;
outline: 0;
border-radius: 8px;
border-radius: 12px;
padding: 12px 16px;
-webkit-transition: box-shadow 120ms ease-in-out,padding 120ms ease-in-out;
transition: box-shadow 120ms ease-in-out,padding 120ms ease-in-out;
Expand Down Expand Up @@ -1473,7 +1473,7 @@ exports[`Input Styles should render with warning styles when passed the hasWarni
background-color: var(--cui-bg-normal);
border: none;
outline: 0;
border-radius: 8px;
border-radius: 12px;
padding: 12px 16px;
-webkit-transition: box-shadow 120ms ease-in-out,padding 120ms ease-in-out;
transition: box-shadow 120ms ease-in-out,padding 120ms ease-in-out;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -803,7 +803,7 @@ exports[`Pagination with more than 5 pages should render with default styles 1`]
background-color: var(--cui-bg-normal);
outline: none;
border: 0;
border-radius: 8px;
border-radius: 12px;
box-shadow: none;
color: var(--cui-fg-normal);
margin: 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ HTMLCollection [
background-color: var(--cui-bg-normal);
outline: none;
border: 0;
border-radius: 8px;
border-radius: 12px;
box-shadow: none;
color: var(--cui-fg-normal);
margin: 0;
Expand Down
2 changes: 1 addition & 1 deletion packages/circuit-ui/components/SearchInput/SearchInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const clearButtonStyles = ({ theme }: StyleProps) => css`
pointer-events: all !important;
cursor: pointer !important;
padding: 16px !important;
border-radius: ${theme.borderRadius.byte};
border-radius: ${theme.borderRadius.kilo};
`;

const ClearButton = styled(IconButton)(clearButtonStyles);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ exports[`SearchInput should grey out icon when disabled 1`] = `
background-color: var(--cui-bg-normal);
border: none;
outline: 0;
border-radius: 8px;
border-radius: 12px;
padding: 12px 16px;
-webkit-transition: box-shadow 120ms ease-in-out,padding 120ms ease-in-out;
transition: box-shadow 120ms ease-in-out,padding 120ms ease-in-out;
Expand Down Expand Up @@ -173,7 +173,7 @@ exports[`SearchInput should render with default styles 1`] = `
background-color: var(--cui-bg-normal);
border: none;
outline: 0;
border-radius: 8px;
border-radius: 12px;
padding: 12px 16px;
-webkit-transition: box-shadow 120ms ease-in-out,padding 120ms ease-in-out;
transition: box-shadow 120ms ease-in-out,padding 120ms ease-in-out;
Expand Down
2 changes: 1 addition & 1 deletion packages/circuit-ui/components/Select/Select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ const selectBaseStyles = ({ theme }: StyleProps) => css`
background-color: var(--cui-bg-normal);
outline: none;
border: 0;
border-radius: ${theme.borderRadius.byte};
border-radius: ${theme.borderRadius.kilo};
box-shadow: none;
color: var(--cui-fg-normal);
margin: 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ exports[`Select Styles should not render with invalid styles when also passed th
background-color: var(--cui-bg-normal);
outline: none;
border: 0;
border-radius: 8px;
border-radius: 12px;
box-shadow: none;
color: var(--cui-fg-normal);
margin: 0;
Expand Down Expand Up @@ -232,7 +232,7 @@ exports[`Select Styles should render with a prefix when passed the prefix prop 1
background-color: var(--cui-bg-normal);
outline: none;
border: 0;
border-radius: 8px;
border-radius: 12px;
box-shadow: none;
color: var(--cui-fg-normal);
margin: 0;
Expand Down Expand Up @@ -429,7 +429,7 @@ exports[`Select Styles should render with a tooltip when passed a validation hin
background-color: var(--cui-bg-normal);
outline: none;
border: 0;
border-radius: 8px;
border-radius: 12px;
box-shadow: none;
color: var(--cui-fg-normal);
margin: 0;
Expand Down Expand Up @@ -652,7 +652,7 @@ exports[`Select Styles should render with a visually-hidden label 1`] = `
background-color: var(--cui-bg-normal);
outline: none;
border: 0;
border-radius: 8px;
border-radius: 12px;
box-shadow: none;
color: var(--cui-fg-normal);
margin: 0;
Expand Down Expand Up @@ -844,7 +844,7 @@ exports[`Select Styles should render with default styles 1`] = `
background-color: var(--cui-bg-normal);
outline: none;
border: 0;
border-radius: 8px;
border-radius: 12px;
box-shadow: none;
color: var(--cui-fg-normal);
margin: 0;
Expand Down Expand Up @@ -1036,7 +1036,7 @@ exports[`Select Styles should render with disabled styles when passed the disabl
background-color: var(--cui-bg-normal);
outline: none;
border: 0;
border-radius: 8px;
border-radius: 12px;
box-shadow: none;
color: var(--cui-fg-normal);
margin: 0;
Expand Down Expand Up @@ -1217,7 +1217,7 @@ exports[`Select Styles should render with invalid styles when passed the invalid
background-color: var(--cui-bg-normal);
outline: none;
border: 0;
border-radius: 8px;
border-radius: 12px;
box-shadow: none;
color: var(--cui-fg-normal);
margin: 0;
Expand Down
4 changes: 2 additions & 2 deletions packages/circuit-ui/components/Selector/Selector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ const baseStyles = ({ theme }: StyleProps) => css`
color: var(--cui-fg-normal);
text-align: center;
position: relative;
border-radius: ${theme.borderRadius.byte};
border-radius: ${theme.borderRadius.kilo};
transition: box-shadow ${theme.transitions.default};
&::before {
Expand All @@ -102,7 +102,7 @@ const baseStyles = ({ theme }: StyleProps) => css`
left: 0;
width: 100%;
height: 100%;
border-radius: ${theme.borderRadius.byte};
border-radius: ${theme.borderRadius.kilo};
border: ${theme.borderWidth.kilo} solid var(--cui-border-normal);
transition: border ${theme.transitions.default};
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ exports[`Selector should render a checked selector 1`] = `
color: var(--cui-fg-normal);
text-align: center;
position: relative;
border-radius: 8px;
border-radius: 12px;
-webkit-transition: box-shadow 120ms ease-in-out;
transition: box-shadow 120ms ease-in-out;
padding: calc(12px) 24px;
Expand All @@ -93,7 +93,7 @@ exports[`Selector should render a checked selector 1`] = `
left: 0;
width: 100%;
height: 100%;
border-radius: 8px;
border-radius: 12px;
border: 1px solid var(--cui-border-normal);
-webkit-transition: border 120ms ease-in-out;
transition: border 120ms ease-in-out;
Expand Down Expand Up @@ -213,7 +213,7 @@ exports[`Selector should render a default selector 1`] = `
color: var(--cui-fg-normal);
text-align: center;
position: relative;
border-radius: 8px;
border-radius: 12px;
-webkit-transition: box-shadow 120ms ease-in-out;
transition: box-shadow 120ms ease-in-out;
padding: calc(12px) 24px;
Expand All @@ -229,7 +229,7 @@ exports[`Selector should render a default selector 1`] = `
left: 0;
width: 100%;
height: 100%;
border-radius: 8px;
border-radius: 12px;
border: 1px solid var(--cui-border-normal);
-webkit-transition: border 120ms ease-in-out;
transition: border 120ms ease-in-out;
Expand Down Expand Up @@ -348,7 +348,7 @@ exports[`Selector should render a disabled selector 1`] = `
color: var(--cui-fg-normal);
text-align: center;
position: relative;
border-radius: 8px;
border-radius: 12px;
-webkit-transition: box-shadow 120ms ease-in-out;
transition: box-shadow 120ms ease-in-out;
padding: calc(12px) 24px;
Expand All @@ -364,7 +364,7 @@ exports[`Selector should render a disabled selector 1`] = `
left: 0;
width: 100%;
height: 100%;
border-radius: 8px;
border-radius: 12px;
border: 1px solid var(--cui-border-normal);
-webkit-transition: border 120ms ease-in-out;
transition: border 120ms ease-in-out;
Expand Down Expand Up @@ -484,7 +484,7 @@ exports[`Selector should render with a description 1`] = `
color: var(--cui-fg-normal);
text-align: center;
position: relative;
border-radius: 8px;
border-radius: 12px;
-webkit-transition: box-shadow 120ms ease-in-out;
transition: box-shadow 120ms ease-in-out;
padding: calc(12px) 24px;
Expand All @@ -505,7 +505,7 @@ exports[`Selector should render with a description 1`] = `
left: 0;
width: 100%;
height: 100%;
border-radius: 8px;
border-radius: 12px;
border: 1px solid var(--cui-border-normal);
-webkit-transition: border 120ms ease-in-out;
transition: border 120ms ease-in-out;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ exports[`SelectorGroup should render with default styles 1`] = `
color: var(--cui-fg-normal);
text-align: center;
position: relative;
border-radius: 8px;
border-radius: 12px;
-webkit-transition: box-shadow 120ms ease-in-out;
transition: box-shadow 120ms ease-in-out;
padding: calc(12px) 24px;
Expand All @@ -137,7 +137,7 @@ exports[`SelectorGroup should render with default styles 1`] = `
left: 0;
width: 100%;
height: 100%;
border-radius: 8px;
border-radius: 12px;
border: 1px solid var(--cui-border-normal);
-webkit-transition: border 120ms ease-in-out;
transition: border 120ms ease-in-out;
Expand Down Expand Up @@ -348,7 +348,7 @@ exports[`SelectorGroup should render with horizontal layout by default 1`] = `
color: var(--cui-fg-normal);
text-align: center;
position: relative;
border-radius: 8px;
border-radius: 12px;
-webkit-transition: box-shadow 120ms ease-in-out;
transition: box-shadow 120ms ease-in-out;
padding: calc(12px) 24px;
Expand All @@ -365,7 +365,7 @@ exports[`SelectorGroup should render with horizontal layout by default 1`] = `
left: 0;
width: 100%;
height: 100%;
border-radius: 8px;
border-radius: 12px;
border: 1px solid var(--cui-border-normal);
-webkit-transition: border 120ms ease-in-out;
transition: border 120ms ease-in-out;
Expand Down
Loading

0 comments on commit af944ce

Please sign in to comment.