Skip to content

Commit 815e272

Browse files
authored
enhance: move background color from body to html to enable developer override (#6364)
chore: all override background
1 parent 482d15a commit 815e272

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/global/global.less

+5-1
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,17 @@
33

44
:root {
55
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
6+
--adm-color-background-body: var(--adm-color-background);
7+
}
8+
9+
html {
10+
background-color: var(--adm-color-background-body);
611
}
712

813
body {
914
color: var(--adm-color-text);
1015
font-size: var(--adm-font-size-main);
1116
font-family: var(--adm-font-family);
12-
background-color: var(--adm-color-background);
1317
}
1418

1519
a,

0 commit comments

Comments
 (0)