From 17affb29f14949b81d5a4404d8aa3608ee50ecfb Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Tue, 20 Dec 2022 23:32:08 -0800 Subject: [PATCH] Map default colors in SegmentedControl to vars --- components/SegmentedControl/index.scss | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/components/SegmentedControl/index.scss b/components/SegmentedControl/index.scss index 80633e28..a0638f8a 100644 --- a/components/SegmentedControl/index.scss +++ b/components/SegmentedControl/index.scss @@ -15,8 +15,8 @@ &.fire { .Segment input:checked + label { - background: $fire-bg-10; - color: $fire-text-10; + background: var(--fire-bg); + color: var(--fire-text); } .Segment:hover label { @@ -27,8 +27,8 @@ &.water { .Segment input:checked + label { - background: $water-bg-10; - color: $water-text-10; + background: var(--water-bg); + color: var(--water-text); } .Segment:hover label { @@ -39,8 +39,8 @@ &.earth { .Segment input:checked + label { - background: $earth-bg-10; - color: $earth-text-10; + background: var(--earth-bg); + color: var(--earth-text); } .Segment:hover label { @@ -51,8 +51,8 @@ &.wind { .Segment input:checked + label { - background: $wind-bg-10; - color: $wind-text-10; + background: var(--wind-bg); + color: var(--wind-text); } .Segment:hover label { @@ -63,8 +63,8 @@ &.light { .Segment input:checked + label { - background: $light-bg-10; - color: $light-text-10; + background: var(--light-bg); + color: var(--light-text); } .Segment:hover label { @@ -75,8 +75,8 @@ &.dark { .Segment input:checked + label { - background: $dark-bg-10; - color: $dark-text-10; + background: var(--dark-bg); + color: var(--dark-text); } .Segment:hover label {