Skip to content

Commit f66ca03

Browse files
authored
Merge pull request #445 from Biswas-Samrat/fix-logo-visibility-darkmode
Fix: Improve logo visibility in Dark Mode (#435)
2 parents ed15792 + b1e9578 commit f66ca03

File tree

2 files changed

+12
-6
lines changed

2 files changed

+12
-6
lines changed
Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
1-
.logo {
2-
width: 200px;
3-
height: auto;
4-
text-align: center;
5-
padding: 5px;
1+
.logo {
2+
width: 200px;
3+
height: auto;
4+
text-align: center;
5+
padding: 5px;
66
/*border: 3px solid blue; */
7-
}
7+
}
8+
9+
/* When dark theme is active, swap the image source */
10+
:host-context(.dark-theme) .logo {
11+
content: url("../../../assets/images/Dark-mode-logo.png");
12+
filter: none;
13+
}
17.8 KB
Loading

0 commit comments

Comments
 (0)