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(Theme): Set the `--bs-link-hover-color-rgb` colour variable
haitaoo9e632d14a92b
diff --git a/ui/src/components/CustomizeTheme/index.tsx b/ui/src/components/CustomizeTheme/index.tsxindex a3b450f2..b63ce1a7 100644--- a/ui/src/components/CustomizeTheme/index.tsx+++ b/ui/src/components/CustomizeTheme/index.tsx@@ -34,7 +34,10 @@ const Index: FC = () => {--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)};+ --bs-link-hover-color: ${shiftColor(primaryColor, 0.8).hex()};+ --bs-link-hover-color-rgb: ${shiftColor(primaryColor, 0.8)+ .round()+ .array()}}.nav-pills {--bs-nav-pills-link-active-bg: ${primaryColor.hex()};