feat(layouts): 添加侧边栏/头部的反转模式来增加对比度

This commit is contained in:
元家怿
2022-04-27 16:39:20 +08:00
parent 20347b7d65
commit 3c8dd772f8
15 changed files with 56 additions and 13 deletions

View File

@ -1,5 +1,5 @@
<template>
<dark-mode-container class="flex h-full" @mouseleave="resetFirstDegreeMenus">
<dark-mode-container class="flex h-full" :inverted="theme.sider.inverted" @mouseleave="resetFirstDegreeMenus">
<div class="flex-1 flex-col-stretch h-full">
<global-logo :show-title="false" :style="{ height: theme.header.height + 'px' }" />
<n-scrollbar class="flex-1-hidden">