feat: add dual image support for switching themes

This commit is contained in:
welpo
2023-02-25 22:28:43 +01:00
parent 1496f0cf73
commit b3dc5396b4
5 changed files with 27 additions and 1 deletions

View File

@@ -37,3 +37,16 @@ figure h4::before {
svg {
max-height: 15px;
}
.img-dark {
display: none;
}
[data-theme="dark"] {
.img-dark {
display: block;
}
.img-light {
display: none;
}
}