style: 菜单背景支持跟随暗黑模式

This commit is contained in:
kailong321200875
2023-12-26 14:53:20 +08:00
parent 49a1f54c9f
commit b34aeba10a
4 changed files with 28 additions and 16 deletions

View File

@@ -41,8 +41,7 @@ export default defineComponent({
id={`${variables.namespace}-tool-header`}
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)]'
'h-[var(--top-tool-height)] relative px-[var(--top-tool-p-x)] flex items-center justify-between'
]}
>
{layout.value !== 'top' ? (