Skip to content

Commit

Permalink
Dark theme: correct the logo
Browse files Browse the repository at this point in the history
  • Loading branch information
luclu7 committed Jan 10, 2024
1 parent 3414d5a commit b87b313
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions client/src/app/css/root.scss
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,11 @@ $form-scrap-content-height: 10vh;
align-self: flex-start;
background-image: url("/assets/MytinyDC_logo-brand-full.png");
background-repeat: no-repeat;

@media (prefers-color-scheme: dark) {
background-image: url("/assets/MytinyDC_logo-brand-full-darkmode.png");
background-size: 180px 50px;
}
}

:root {
Expand Down
2 changes: 1 addition & 1 deletion client/src/components/Header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
.logo {
margin: 4px;
cursor: pointer;
background-color: white;
background-color: inherit;
padding: 6px 6px 0 0;
opacity: 0.7;
}
Expand Down

0 comments on commit b87b313

Please sign in to comment.