feat(modules/web): souceEdito theme respect system darkmode

This commit is contained in:
Xwite
2024-10-02 21:37:12 +08:00
parent f5ec50156a
commit fe301f9bcd
8 changed files with 48 additions and 29 deletions

View File

@@ -1,6 +1,7 @@
code {
background-color: #f2f1f1;
padding: .125rem .25rem;
border-radius: 0.25rem;
font-size: 0.835rem;
code {
border-radius: 4px;
padding: .15rem .5rem;
background-color: var(--el-fill-color-light);
transition: color .25s, background-color .5s;
font-size: 14px;
}