mirror of
https://github.com/github/awesome-copilot.git
synced 2026-02-23 11:55:12 +00:00
feat: use official GitHub Copilot logo in header
- Add Copilot_Icon_White.svg and Copilot_Icon_Black.svg - Switch between white/black logos based on theme - Update favicon to use Copilot icon
This commit is contained in:
@@ -161,7 +161,37 @@ a:hover {
|
||||
}
|
||||
|
||||
.logo-icon {
|
||||
font-size: 28px;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
}
|
||||
|
||||
/* Show white logo by default (dark theme) */
|
||||
.logo-icon-light {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.logo-icon-dark {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* Light theme: show black logo */
|
||||
[data-theme="light"] .logo-icon-light {
|
||||
display: block;
|
||||
}
|
||||
|
||||
[data-theme="light"] .logo-icon-dark {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Auto theme based on system preference */
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root:not([data-theme="dark"]) .logo-icon-light {
|
||||
display: block;
|
||||
}
|
||||
|
||||
:root:not([data-theme="dark"]) .logo-icon-dark {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.main-nav {
|
||||
|
||||
Reference in New Issue
Block a user