forked from deepStateMirrors/tabi
✨ feat: add dual image support for switching themes
This commit is contained in:
parent
1496f0cf73
commit
b3dc5396b4
5 changed files with 27 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue