From cd6dc8157a8624667bab5e8223e80f9715f3ef23 Mon Sep 17 00:00:00 2001 From: David Walsh Date: Mon, 21 Mar 2022 08:34:29 -0500 Subject: [PATCH] Dark Mode: Button Group (#14031) --- ui/components/ui/button-group/index.scss | 27 ++++++++++++------------ 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/ui/components/ui/button-group/index.scss b/ui/components/ui/button-group/index.scss index 460e9eae5..1ec6e932e 100644 --- a/ui/components/ui/button-group/index.scss +++ b/ui/components/ui/button-group/index.scss @@ -5,9 +5,8 @@ &__button { font-size: $font-size-h5; - color: var(--tundora); border-style: solid; - border-color: var(--alto); + border-color: var(--color-border-default); border-width: 1px 1px 1px; border-left: 0; flex: 1; @@ -17,7 +16,7 @@ text-overflow: ellipsis; &:first-child { - border-left: 1px solid var(--alto); + border-left: 1px solid var(--color-border-default); border-radius: 4px 0 0 4px; } @@ -26,8 +25,8 @@ } &--active { - background-color: var(--dodger-blue); - color: var(--white); + background-color: var(--color-primary-default); + color: var(--color-primary-inverse); } &:disabled { @@ -40,9 +39,9 @@ .radio-button { @include H7; - color: var(--Grey-700); - border: 1px solid var(--Grey-100); - background: var(--white); + color: var(--color-text-alternative); + border: 1px solid var(--color-border-muted); + background: var(--color-background-default); border-radius: 25px; height: 25px; margin-right: 8px; @@ -50,15 +49,15 @@ padding: 0; &--active { - background: var(--Blue-500); + background: var(--color-primary-default); color: white; border: none; } &--danger { - border: 1px solid var(--Red-500); - color: var(--Red-500); - background: var(--white); + border: 1px solid var(--color-error-default); + color: var(--color-error-default); + background: var(--color-background-default); } &:hover { @@ -67,8 +66,8 @@ } .radio-button--active.radio-button--danger { - border: 1px solid var(--Red-500); + border: 1px solid var(--color-error-default); color: white; - background: var(--Red-500); + background: var(--color-error-default); } }