quasar暗黑模式背景色和 utools 统一

This commit is contained in:
fofolee 2022-04-11 19:55:26 +08:00
parent 2a922e414a
commit 3ccafe9397
2 changed files with 5 additions and 4 deletions

View File

@ -59,10 +59,11 @@ export default defineComponent({
</script>
<style>
body.body--dark {
background: #1d1d1d;
}
.q-tooltip {
font-size: 11px;
}
:root {
--q-dark: #303133;
--q-dark-page: #303133;
}
</style>

View File

@ -8,7 +8,7 @@
class="absolute-left shadow-10"
:style="{
width: sideBarWidth + 'px',
background: $q.dark.isActive ? '#2d2d2d' : '#f2f2f2',
background: $q.dark.isActive ? 'var(--q-dark)' : '#f2f2f2',
zIndex: 1,
transition: '0.3s',
}"