Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Simplify CSS & add dark theme support
  • Loading branch information
1Git2Clone committed Mar 23, 2026
commit b771840aa01767b88a82ceec885c88ad7503937f
21 changes: 17 additions & 4 deletions src/menu/popup.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,24 @@
:root {
--color-bg: #fefefe;
--color-text: #111111;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #111111;
--color-text: #fefefe;
}

#ghlink {
filter: invert(100%);
}
}

body {
max-width: 14rem;
min-width: 12rem;
height: 100%;
background-color: var(--color-bg);
color: var(--color-text);
}

.bottom {
Expand Down Expand Up @@ -37,8 +54,6 @@ body {
width: 120px;
left: 0;
visibility: hidden;
background-color: black;
color: #fff;
text-align: center;
border-radius: 6px;
padding: 5px 5px;
Expand All @@ -62,7 +77,6 @@ body {

details {
width: 100%;
background: #ffffff;
border-radius: 8px;
position: relative;
}
Expand All @@ -87,5 +101,4 @@ summary:hover,
pointer-events: none;
position: absolute;
top: 0.75em;
background: #ffffff;
}