feat: add dark mode

This commit is contained in:
kailong321200875
2022-05-10 21:05:07 +08:00
parent a76858c13f
commit 0758a6a9d8
10 changed files with 150 additions and 71 deletions

View File

@@ -42,7 +42,7 @@ export default defineComponent({
class={[
prefixCls,
'h-[var(--top-tool-height)] relative px-[var(--top-tool-p-x)] flex items-center justify-between',
'dark:bg-[var(--el-bg-color)]'
'dark:(bg-[var(--el-bg-color)] border-[--el-border-color])'
]}
>
{layout.value !== 'top' ? (