Skip to content

Commit

Permalink
enhance: move background color from body to html to enable developer …
Browse files Browse the repository at this point in the history
…override (#6364)

chore: all override background
  • Loading branch information
zombieJ committed Sep 13, 2023
1 parent 482d15a commit 815e272
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/global/global.less
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,17 @@

:root {
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
--adm-color-background-body: var(--adm-color-background);
}

html {
background-color: var(--adm-color-background-body);
}

body {
color: var(--adm-color-text);
font-size: var(--adm-font-size-main);
font-family: var(--adm-font-family);
background-color: var(--adm-color-background);
}

a,
Expand Down

1 comment on commit 815e272

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.