mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-08 11:33:55 +09:00
Moono-lisa 에 대한 다크모드 제안.
This commit is contained in:
parent
9587cfd067
commit
26558e4c6c
1 changed files with 26 additions and 1 deletions
|
|
@ -32,6 +32,27 @@
|
||||||
margin: 0 0 @content_paragraph_spacing 0;
|
margin: 0 0 @content_paragraph_spacing 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* if editor_auto_dark_mode == 'Y' load darkmode style */
|
||||||
|
.auto_dark(@cs, @adm) when (@adm = Y) and not (@cs = moono-dark) {
|
||||||
|
html {
|
||||||
|
body.cke_editable {
|
||||||
|
.light_dark(moono-dark);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.cke_reset {
|
||||||
|
span {
|
||||||
|
&.cke_top {
|
||||||
|
.light_dark_top(moono-dark);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.cke_button_icon, .cke_combo_button, .cke_button_arrow, .cke_button_label {
|
||||||
|
filter: invert(1);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.auto_dark(@cs, @adm) when not (@adm = Y) or (@cs = moono-dark) {
|
||||||
|
}
|
||||||
|
|
||||||
.light_dark(@cs) when (@cs = moono-dark) {
|
.light_dark(@cs) when (@cs = moono-dark) {
|
||||||
background-color: #333;
|
background-color: #333;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
|
|
@ -133,3 +154,7 @@ p.editor_autosaved_message.autosave_message {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (prefers-color-scheme: dark) {
|
||||||
|
.auto_dark(@colorset, @auto_dark_mode)
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue