Dark Mode: Button Group (#14031)

feature/default_network_editable
David Walsh 3 years ago committed by GitHub
parent 1bb276bb9a
commit cd6dc8157a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 27
      ui/components/ui/button-group/index.scss

@ -5,9 +5,8 @@
&__button { &__button {
font-size: $font-size-h5; font-size: $font-size-h5;
color: var(--tundora);
border-style: solid; border-style: solid;
border-color: var(--alto); border-color: var(--color-border-default);
border-width: 1px 1px 1px; border-width: 1px 1px 1px;
border-left: 0; border-left: 0;
flex: 1; flex: 1;
@ -17,7 +16,7 @@
text-overflow: ellipsis; text-overflow: ellipsis;
&:first-child { &:first-child {
border-left: 1px solid var(--alto); border-left: 1px solid var(--color-border-default);
border-radius: 4px 0 0 4px; border-radius: 4px 0 0 4px;
} }
@ -26,8 +25,8 @@
} }
&--active { &--active {
background-color: var(--dodger-blue); background-color: var(--color-primary-default);
color: var(--white); color: var(--color-primary-inverse);
} }
&:disabled { &:disabled {
@ -40,9 +39,9 @@
.radio-button { .radio-button {
@include H7; @include H7;
color: var(--Grey-700); color: var(--color-text-alternative);
border: 1px solid var(--Grey-100); border: 1px solid var(--color-border-muted);
background: var(--white); background: var(--color-background-default);
border-radius: 25px; border-radius: 25px;
height: 25px; height: 25px;
margin-right: 8px; margin-right: 8px;
@ -50,15 +49,15 @@
padding: 0; padding: 0;
&--active { &--active {
background: var(--Blue-500); background: var(--color-primary-default);
color: white; color: white;
border: none; border: none;
} }
&--danger { &--danger {
border: 1px solid var(--Red-500); border: 1px solid var(--color-error-default);
color: var(--Red-500); color: var(--color-error-default);
background: var(--white); background: var(--color-background-default);
} }
&:hover { &:hover {
@ -67,8 +66,8 @@
} }
.radio-button--active.radio-button--danger { .radio-button--active.radio-button--danger {
border: 1px solid var(--Red-500); border: 1px solid var(--color-error-default);
color: white; color: white;
background: var(--Red-500); background: var(--color-error-default);
} }
} }

Loading…
Cancel
Save