mirror of
https://github.com/Ionaru/easy-markdown-editor
synced 2025-09-24 16:40:55 -06:00
Add CSS media query for dark mode
This commit is contained in:
parent
3d07f0eb97
commit
35c6684c5e
@ -380,3 +380,12 @@ span[data-img-src]::after {
|
||||
width: var(--width);
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
.editor-toolbar {
|
||||
background: #333;
|
||||
}
|
||||
.editor-toolbar button {
|
||||
color: #ddd;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user