Perfect night mode

This commit is contained in:
zyronon
2023-11-02 11:00:51 +08:00
parent 39554b9b72
commit 0ab894d306
4 changed files with 7 additions and 6 deletions

View File

@@ -2,6 +2,8 @@
@import "/node_modules/hover.css";
@import "variable.scss";
@import "anim";
@import 'element-plus/theme-chalk/dark/css-vars';
:root {
--color-background: #E6E8EB;
@@ -31,7 +33,7 @@
--color-scrollbar: rgb(147, 173, 227);
}
html[data-theme='dark'] {
html.dark {
//--color-main-bg: rgba(0, 5, 24, 1);
//--color-main-bg: rgba(17,24,39, 1);
--color-background: transparent;