Skip to content

Commit

Permalink
Update button borders (#195)
Browse files Browse the repository at this point in the history
* update border-width on buttons, checkboxes, and radios

* update test snapshots
  • Loading branch information
ZeMunchkin authored Feb 11, 2020
1 parent d88782d commit f19e335
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion src/shared-components/button/__snapshots__/test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ exports[`<Button /> UI snapshots renders with props 1`] = `
appearance: none;
border-radius: 0;
border-style: solid;
border-width: 2px;
border-width: 1px;
cursor: pointer;
display: block;
margin: 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ exports[`<LinkButton/> UI snapshots renders with props 1`] = `
appearance: none;
border-radius: 0;
border-style: solid;
border-width: 2px;
border-width: 1px;
cursor: pointer;
display: block;
margin: 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ exports[`<RoundButton /> UI snapshots renders with props 1`] = `
appearance: none;
border-radius: 0;
border-style: solid;
border-width: 2px;
border-width: 1px;
cursor: pointer;
display: block;
margin: 0;
Expand Down
2 changes: 1 addition & 1 deletion src/shared-components/button/style.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ export const baseButtonStyles = ({
appearance: none;
border-radius: 0;
border-style: solid;
border-width: 2px;
border-width: 1px;
cursor: pointer;
display: block;
margin: 0;
Expand Down
22 changes: 11 additions & 11 deletions src/shared-components/selectorButton/__snapshots__/test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ exports[`<SelectorButton /> UI snapshots when Icon added displays check mark for
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
border: 2px solid;
border: 1px solid;
cursor: pointer;
display: -webkit-box;
display: -webkit-flex;
Expand Down Expand Up @@ -203,7 +203,7 @@ exports[`<SelectorButton /> UI snapshots when Icon added displays check mark for
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
border: 2px solid;
border: 1px solid;
cursor: pointer;
display: -webkit-box;
display: -webkit-flex;
Expand Down Expand Up @@ -329,7 +329,7 @@ exports[`<SelectorButton /> UI snapshots when Icon added displays icon for check
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
border: 2px solid;
border: 1px solid;
cursor: pointer;
display: -webkit-box;
display: -webkit-flex;
Expand Down Expand Up @@ -454,7 +454,7 @@ exports[`<SelectorButton /> UI snapshots when Icon added displays icon for radio
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
border: 2px solid;
border: 1px solid;
cursor: pointer;
display: -webkit-box;
display: -webkit-flex;
Expand Down Expand Up @@ -579,7 +579,7 @@ exports[`<SelectorButton /> UI snapshots when Icon added hides icon for checkbox
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
border: 2px solid;
border: 1px solid;
cursor: pointer;
display: -webkit-box;
display: -webkit-flex;
Expand Down Expand Up @@ -692,7 +692,7 @@ exports[`<SelectorButton /> UI snapshots when Icon added hides icon for radio bu
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
border: 2px solid;
border: 1px solid;
cursor: pointer;
display: -webkit-box;
display: -webkit-flex;
Expand Down Expand Up @@ -823,7 +823,7 @@ exports[`<SelectorButton /> UI snapshots when checked type is primary 1`] = `
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
border: 2px solid;
border: 1px solid;
cursor: pointer;
display: -webkit-box;
display: -webkit-flex;
Expand Down Expand Up @@ -952,7 +952,7 @@ exports[`<SelectorButton /> UI snapshots when checked type is secondary 1`] = `
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
border: 2px solid;
border: 1px solid;
cursor: pointer;
display: -webkit-box;
display: -webkit-flex;
Expand Down Expand Up @@ -1070,7 +1070,7 @@ exports[`<SelectorButton /> UI snapshots when children is a node 1`] = `
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
border: 2px solid;
border: 1px solid;
cursor: pointer;
display: -webkit-box;
display: -webkit-flex;
Expand Down Expand Up @@ -1189,7 +1189,7 @@ exports[`<SelectorButton /> UI snapshots when children is undefined 1`] = `
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
border: 2px solid;
border: 1px solid;
cursor: pointer;
display: -webkit-box;
display: -webkit-flex;
Expand Down Expand Up @@ -1303,7 +1303,7 @@ exports[`<SelectorButton /> UI snapshots when is checkbox 1`] = `
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
border: 2px solid;
border: 1px solid;
cursor: pointer;
display: -webkit-box;
display: -webkit-flex;
Expand Down
2 changes: 1 addition & 1 deletion src/shared-components/selectorButton/style.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const secondarySelectorStyle = checked => css`
export const Selector = styled.div`
align-items: center;
appearance: none;
border: 2px solid;
border: 1px solid;
cursor: pointer;
display: flex;
${({ size }) => css`
Expand Down

0 comments on commit f19e335

Please sign in to comment.