From 970b9bb7dcebf8f500a83ceb33dc6d81e3f1ad27 Mon Sep 17 00:00:00 2001 From: lerte smith Date: Thu, 31 Oct 2024 10:33:56 +0800 Subject: [PATCH] :bug: fix filled select background color --- .../actify/src/components/Select/filled-field.module.css | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/actify/src/components/Select/filled-field.module.css b/packages/actify/src/components/Select/filled-field.module.css index 60a57d6..a14aaa9 100644 --- a/packages/actify/src/components/Select/filled-field.module.css +++ b/packages/actify/src/components/Select/filled-field.module.css @@ -5,6 +5,10 @@ display: inline-flex; justify-content: center; flex-direction: column; + --_container-color: var( + --md-filled-field-container-color, + rgb(var(--md-sys-color-surface-container-highest)) + ); --_active-indicator-color: var( --md-filled-field-active-indicator-color, rgb(var(--md-sys-color-on-surface-variant)) @@ -99,7 +103,7 @@ inset: 0; border-top-left-radius: 4px; border-top-right-radius: 4px; - background: rgb(59 52 42); + background: var(--_container-color); } .state-layer {