Add support for different logo on dark mode (#1020)
This commit is contained in:
parent
047bb517cb
commit
07372519ee
4 changed files with 36 additions and 3 deletions
|
@ -67,4 +67,4 @@ function setImages(newScheme) {
|
|||
if (dark !== null) dark.style.display = 'none'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -85,4 +85,4 @@ function setImages(newScheme) {
|
|||
if (dark !== null) dark.style.display = 'none'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -55,4 +55,22 @@ html[data-theme='dark'] {
|
|||
.company-logo {
|
||||
max-height: 100%;
|
||||
width: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.light-logo {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.dark-logo {
|
||||
display: none;
|
||||
}
|
||||
|
||||
html[data-theme='dark'] {
|
||||
.light-logo {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.dark-logo {
|
||||
display: inline;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue