From dafeebeaba3d553ca95a08dcc4b42341a42a2405 Mon Sep 17 00:00:00 2001 From: "haitao(lj)" Date: Fri, 16 Dec 2022 10:14:45 +0800 Subject: [PATCH] fix(Header): Make dropdown item in active to follow the primary color --- ui/src/components/CustomizeTheme/index.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ui/src/components/CustomizeTheme/index.tsx b/ui/src/components/CustomizeTheme/index.tsx index ec48c60f..4630c9c6 100644 --- a/ui/src/components/CustomizeTheme/index.tsx +++ b/ui/src/components/CustomizeTheme/index.tsx @@ -66,6 +66,9 @@ const Index: FC = () => { .form-check-input:focus { box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), .4); } + .dropdown-menu { + --bs-dropdown-link-active-bg: rgb(var(--bs-primary-rgb)); + } `} )}