[S] Use css variables
This commit is contained in:
@@ -30,17 +30,22 @@
|
|||||||
|
|
||||||
.dark
|
.dark
|
||||||
{
|
{
|
||||||
background: #555555 !important;
|
--dark-layer-1: #555555;
|
||||||
|
--dark-layer-2: #7d7d7d;
|
||||||
|
--dark-layer-3: #898989;
|
||||||
|
--dark-foreground: #e9e9e9;
|
||||||
|
|
||||||
|
background: var(--dark-layer-1) !important;
|
||||||
|
|
||||||
div, ul
|
div, ul
|
||||||
{
|
{
|
||||||
background: #7d7d7d !important;
|
background: var(--dark-layer-2) !important;
|
||||||
color: #e9e9e9 !important;
|
color: var(--dark-foreground) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
span, button
|
span, button
|
||||||
{
|
{
|
||||||
color: #e9e9e9 !important;
|
color: var(--dark-foreground) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-card
|
.el-card
|
||||||
@@ -51,7 +56,6 @@
|
|||||||
// Overall
|
// Overall
|
||||||
#overall, #overall-course, .overall-span, #app-content
|
#overall, #overall-course, .overall-span, #app-content
|
||||||
{
|
{
|
||||||
background: #555555 !important;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.entry-box, .none .unread-number
|
.entry-box, .none .unread-number
|
||||||
@@ -62,6 +66,7 @@
|
|||||||
.entry-box.max
|
.entry-box.max
|
||||||
{
|
{
|
||||||
background-color: #949494 !important;
|
background-color: #949494 !important;
|
||||||
|
background: var(--dark-layer-1) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.entry-box.percent
|
.entry-box.percent
|
||||||
@@ -71,7 +76,7 @@
|
|||||||
|
|
||||||
.course-card-content.expand, .assignment-entry, .unread-row, .unread-row .el-col
|
.course-card-content.expand, .assignment-entry, .unread-row, .unread-row .el-col
|
||||||
{
|
{
|
||||||
background-color: #898989 !important;
|
background-color: var(--dark-layer-3) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.course-name
|
.course-name
|
||||||
|
|||||||
Reference in New Issue
Block a user