Skip to content

Commit

Permalink
Apply dark color scheme to tab preview panel
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Dec 6, 2024
1 parent 6dd1961 commit 13a7e33
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions webextensions/resources/module/tab-preview-frame.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,12 @@ try{
--panel-border-color: light-dark(rgb(240, 240, 244), rgb(82, 82, 94));
@media (prefers-color-scheme: dark) {
--panel-background: var(--dark-popup);
--panel-color: var(--dark-popup-text);
--panel-border-color: var(--dark-popup-border);
}
background: var(--panel-background);
border: var(--panel-border-color) solid calc(1px / var(--scale));
border-radius: var(--panel-border-radius);
Expand Down

0 comments on commit 13a7e33

Please sign in to comment.