Много чего
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<script setup>
|
||||
import { NLayout, NH1, NLayoutSider, NFlex, NButton, NConfigProvider, ruRU, dateRuRU } from "naive-ui";
|
||||
import {NLayout, NH1, NLayoutSider, NFlex, NButton, NConfigProvider, ruRU, dateRuRU, darkTheme} from "naive-ui";
|
||||
import SideMenu from "./Components/SideMenu.vue";
|
||||
import { generate } from '@arco-design/color'
|
||||
|
||||
@@ -7,17 +7,27 @@ const colors = generate('#EC6608', {
|
||||
list: true,
|
||||
})
|
||||
const themeOverrides = {
|
||||
common: {
|
||||
primaryColor: colors[5],
|
||||
primaryColorHover: colors[4],
|
||||
primaryColorSuppl: colors[4],
|
||||
primaryColorPressed: colors[6],
|
||||
// common: {
|
||||
// primaryColor: colors[5],
|
||||
// primaryColorHover: colors[4],
|
||||
// primaryColorSuppl: colors[4],
|
||||
// primaryColorPressed: colors[6],
|
||||
// },
|
||||
Modal: {
|
||||
peers: {
|
||||
Dialog: {
|
||||
borderRadius: '8px'
|
||||
},
|
||||
Card: {
|
||||
borderRadius: '8px'
|
||||
},
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<NConfigProvider :theme-overrides="themeOverrides" :locale="ruRU" :date-locale="dateRuRU">
|
||||
<NConfigProvider :theme="darkTheme" :theme-overrides="themeOverrides" :locale="ruRU" :date-locale="dateRuRU">
|
||||
<NLayout class="h-screen">
|
||||
<NLayout position="absolute" content-class="p-6 relative" :native-scrollbar="false">
|
||||
<!-- <NLayoutSider-->
|
||||
|
||||
Reference in New Issue
Block a user