From 5ee4dbe9fcc47ab654aca5c82261d65143d8589e Mon Sep 17 00:00:00 2001 From: duanzhijiang Date: Wed, 28 Dec 2022 17:34:23 +0800 Subject: [PATCH] =?UTF-8?q?TASK:=20#126261=20slider=20=E7=BB=84=E4=BB=B6?= =?UTF-8?q?=E9=BB=91=E6=9A=97=E6=A8=A1=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/slider/slider-styles.ts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/components/slider/slider-styles.ts b/src/components/slider/slider-styles.ts index 922e0f9..1adc19b 100644 --- a/src/components/slider/slider-styles.ts +++ b/src/components/slider/slider-styles.ts @@ -150,4 +150,18 @@ export const sharedStyles: CSSResult = css` font-family: 'gaia-icons'; content: attr(data-icon); } + @media (prefers-color-scheme: dark) { + .v-sliderBar { + background: rgba(255, 255, 255, 0.15); + } + .v-progress { + background: #ebebeb; + } + .sliderBar { + background: rgba(255, 255, 255, 0.15); + } + .progress { + background: #ebebeb; + } + } `