This commit is contained in:
Vanessa 2023-11-17 08:50:49 +08:00
parent 05539a5d84
commit 16727cd8af
2 changed files with 3 additions and 3 deletions

View file

@ -113,8 +113,8 @@
}
&--select {
.av__cell {
background-color: var(--b3-av-hover);
&:not(.av__row--header) .av__cell {
background-color: var(--b3-av-background-hl);
}
.av__firstcol svg {

View file

@ -217,7 +217,7 @@ export const fontEvent = (protyle: IProtyle, nodeElements: Element[], type?: str
e.style.backgroundColor = "";
e.style.fontSize = "";
if (e.classList.contains("av")) {
e.querySelector(".av__container").setAttribute("style", "--av-background:--b3-theme-background");
e.querySelector(".av__container").setAttribute("style", "--av-background:var(--b3-theme-background)");
}
} else if (type === "style1") {
const colorList = color.split(Constants.ZWSP);