Support automatic switching to dark skin in CKEditor and SimpleEditor

This commit is contained in:
Kijin Sung 2021-01-06 23:35:51 +09:00
parent c80a80f986
commit e7b49baf13
12 changed files with 41 additions and 4 deletions

View file

@ -33,18 +33,23 @@
}
.light_dark(@cs) when (@cs = moono-dark) {
background-color: #494949;
background-color: #333;
color: #fff;
}
.light_dark(@cs) when not (@cs = moono-dark) {
background-color: #fff;
color: #000;
&.color_scheme_dark {
background-color: #333;
color: #fff;
}
}
.light_dark_top(@cs) when (@cs = moono-dark) {
border-bottom-color: #1b1b1b;
}
.light_dark_top(@cs) when not (@cs = moono-dark) {
border-bottom-color: #555;
}
html {