✨ feat: add dual image support for switching themes
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user