Skip to content

Commit

Permalink
fix: 🐛 进度条主题颜色
Browse files Browse the repository at this point in the history
  • Loading branch information
jsxiaosi committed Oct 25, 2022
1 parent 44b0f15 commit b06ae55
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,8 @@
const { primaryColor } = JSON.parse(appConfigMode);
const loading = document.getElementById('html_loding');
loading.style.color = primaryColor;
const body = document.documentElement;
body.style.setProperty('--el-color-primary', primaryColor);
}
</script>
<script type="module" src="/src/main.ts"></script>
Expand Down

0 comments on commit b06ae55

Please sign in to comment.