fix: root background color

This commit is contained in:
GyDi
2022-10-11 20:49:03 +08:00
parent bdc101f69c
commit 068f08aa45
2 changed files with 6 additions and 1 deletions

View File

@@ -67,7 +67,6 @@ export default function useCustomTheme() {
const scrollColor = mode === "light" ? "#90939980" : "#54545480";
const rootEle = document.documentElement;
rootEle.style.background = "transparent";
rootEle.style.setProperty("--selection-color", selectColor);
rootEle.style.setProperty("--scroller-color", scrollColor);
rootEle.style.setProperty("--primary-main", theme.palette.primary.main);