From 1760b8b2cfbe063f2c5d6b4ea4e34c270efe648c Mon Sep 17 00:00:00 2001 From: betterdancing Date: Wed, 30 Oct 2024 23:27:50 -0700 Subject: [PATCH] feat(style-panel): fix the color variables; --- .../SliderConfigurator.vue | 4 +- .../TabsGroupConfigurator.vue | 48 +++++++++++-------- .../components/background/BackgroundGroup.vue | 8 ++-- .../src/components/inputs/ModalMask.vue | 2 +- .../src/components/inputs/NumericSelect.vue | 2 +- .../src/components/inputs/ResetButton.vue | 4 +- .../styles/src/components/size/SizeGroup.vue | 4 +- packages/theme/base/src/common.less | 1 + 8 files changed, 40 insertions(+), 33 deletions(-) diff --git a/packages/configurator/src/slider-configurator/SliderConfigurator.vue b/packages/configurator/src/slider-configurator/SliderConfigurator.vue index 3e7b7a20a..d9119f84f 100644 --- a/packages/configurator/src/slider-configurator/SliderConfigurator.vue +++ b/packages/configurator/src/slider-configurator/SliderConfigurator.vue @@ -145,7 +145,7 @@ export default { height: 10px; border-radius: 50%; border: 0; - background-color: var(--te-base-bg-5); + background-color: var(--te-common-bg-default); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.21); -webkit-transition: border-color 0.15s, background-color 0.15s; transition: border-color 0.15s, background-color 0.15s; @@ -158,7 +158,7 @@ export default { } input[type='range']::-webkit-slider-thumb:active { border: 0; - background-color: var(--te-base-bg-5); + background-color: var(--te-common-bg-default); } } diff --git a/packages/configurator/src/tabs-group-configurator/TabsGroupConfigurator.vue b/packages/configurator/src/tabs-group-configurator/TabsGroupConfigurator.vue index ed09addab..6df846e36 100644 --- a/packages/configurator/src/tabs-group-configurator/TabsGroupConfigurator.vue +++ b/packages/configurator/src/tabs-group-configurator/TabsGroupConfigurator.vue @@ -58,30 +58,36 @@ - - - {{ item.label }} - + + - - - - + {{ item.label }} + + + + + +