Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
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
24 changes: 24 additions & 0 deletions src/crxviewer.less
Original file line number Diff line number Diff line change
Expand Up @@ -408,4 +408,28 @@ img:hover {
outline: 1px solid rgba(200, 200, 200, 0.5);
}

@media (prefers-color-scheme: dark) {
body,
#top-bar #file-filter,
#top-bar label,
input,
#left-panel,
button,
.content-verifier-wrapper .content-verifier-output {
background-color: #313131;
color: #bfbfbf;
}
#left-panel > .resizer {
background-color: #4e4e4e;
}
#file-list li.file-selected,
.site-specific-form > div:hover {
background-color: #4e4e4e;
color: #b7b7b7;
}
.site-specific-form label:hover {
background-color: #646464;
}
}

@import (less) "search-tools.less";
14 changes: 14 additions & 0 deletions src/lib/prettify/prettify.css
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,17 @@
li:hover {
background: #EEE;
}
@media (prefers-color-scheme: dark) {
.token.punctuation,
.token.string,
.token.atrule,
.token.attr-value {
color: #7999fb;
}
.odd-code-line {
background: #4e4e4e;
}
li:hover {
background: #646464;
}
}
8 changes: 8 additions & 0 deletions src/options.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,14 @@
white-space: pre-wrap;
word-break: break-all;
}
@media (prefers-color-scheme: dark) {
body,
button,
textarea {
background-color: #313131;
color: #bfbfbf;
}
}
</style>
</head>
<body>
Expand Down
7 changes: 7 additions & 0 deletions src/popup.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,13 @@
#download:not(.downloading) .busy {
display: none;
}
@media (prefers-color-scheme: dark) {
body,
button {
background-color: #313131;
color: #bfbfbf;
}
}
</style>
</head>
<body>
Expand Down