Skip to content

A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.

fix(CustomizeTheme): Make `--bs-link-color-rgb` follow the theme colour setting

haitaoofc1270f57dd3
diff --git a/ui/src/components/CustomizeTheme/index.tsx b/ui/src/components/CustomizeTheme/index.tsx
index 04f98f7b..2599f60d 100644
--- a/ui/src/components/CustomizeTheme/index.tsx
+++ b/ui/src/components/CustomizeTheme/index.tsx
@@ -33,6 +33,7 @@ const Index: FC = () => {
--bs-primary: ${primaryColor.hex()};
--bs-primary-rgb: ${primaryColor.rgb().array().join(',')};
--bs-link-color: ${primaryColor.hex()};
+ --bs-link-color-rgb: ${primaryColor.rgb().array().join(',')};
--bs-link-hover-color: ${shiftColor(primaryColor, 0.8)};
}
.nav-pills {