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 78a1cc0 commit 5fee865
Show file tree
Hide file tree
Showing 11 changed files with 46 additions and 46 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,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 @@ -186,7 +186,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 @@ -362,7 +362,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 @@ -36,7 +36,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 @@ -144,7 +144,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 @@ -251,7 +251,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 @@ -401,7 +401,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 @@ -524,7 +524,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 @@ -664,7 +664,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 @@ -783,7 +783,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 @@ -901,7 +901,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 @@ -1008,7 +1008,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 @@ -1143,7 +1143,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 @@ -1263,7 +1263,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 @@ -1382,7 +1382,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 @@ -1500,7 +1500,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 @@ -805,7 +805,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 @@ -52,7 +52,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 @@ -45,7 +45,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 @@ -177,7 +177,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 @@ -42,7 +42,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 @@ -236,7 +236,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 @@ -435,7 +435,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 @@ -661,7 +661,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 @@ -855,7 +855,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 @@ -1049,7 +1049,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 @@ -1232,7 +1232,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 @@ -96,7 +96,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 @@ -109,7 +109,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
Loading

0 comments on commit 5fee865

Please sign in to comment.