Skip to content

Commit

Permalink
styling changes from design review
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanjamal committed Jun 1, 2023
1 parent ae47e77 commit d0ee6db
Show file tree
Hide file tree
Showing 19 changed files with 12 additions and 6 deletions.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 12 additions & 6 deletions packages/segmented-buttons/src/styles/default.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,20 @@
align-items: center;
padding: 0 var(--spacing-3);
width: auto;
height: 46px;
height: 48px;
border: solid 1px var(--color-neutral-300);
border-right-width: 0 !important;
background: #fff;
color: var(--color-neutral-700);
font-size: 16px;
cursor: pointer;

&:last-child {
border-right-width: 1px !important;
}

& > svg {
margin-right: 10px;
margin-right: var(--spacing-2);
}

&:hover,
Expand All @@ -33,23 +39,23 @@
}

&[aria-checked='true'] {
border: solid 1px var(--color-primary-500);
border-color: var(--color-primary-500);
outline: solid 2px var(--color-primary-500);
outline-offset: -2px;
background: var(--color-primary-50);
color: var(--color-primary-500);

&:hover,
&:focus {
border: solid 1px var(--color-primary-600);
border-color: var(--color-primary-600);
outline: solid 2px var(--color-primary-600);
outline-offset: -2px;
background: var(--color-primary-100);
color: var(--color-primary-600);
}

&:active {
border: solid 1px var(--color-primary-700);
border-color: var(--color-primary-700);
outline: solid 2px var(--color-primary-700);
outline-offset: -2px;
background: var(--color-primary-100);
Expand All @@ -59,7 +65,7 @@

&:disabled {
background: #fff !important;
border: solid 1px var(--color-neutral-300) !important;
border-color: var(--color-neutral-300) !important;
color: var(--color-neutral-300) !important;
outline: none;
cursor: not-allowed;
Expand Down

0 comments on commit d0ee6db

Please sign in to comment.