fix(github): apply on image diffs (#1478)

This commit is contained in:
uncenter authored and GitHub committed 2024-12-05 11:21:50 -05:00
1 parent 088e88d35c
commit 41f6751b7d
1 file changed
+1 -1
+1 -1
View File
@@ -15,7 +15,7 @@
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
@-moz-document regexp("https:\/\/(gist\.)*github\.com(?!((\/.+?\/.+?\/commit\/[A-Fa-f0-9]+\.(patch|diff)$)|\/home$|\/features($|\/.*)|\/marketplace($|\?.*|\/.*)|\/organizations\/plan)).*$") {
@-moz-document regexp("https:\/\/(gist\.)*github\.com(?!((\/.+?\/.+?\/commit\/[A-Fa-f0-9]+\.(patch|diff)$)|\/home$|\/features($|\/.*)|\/marketplace($|\?.*|\/.*)|\/organizations\/plan)).*$"), url-prefix("https://viewscreen.githubusercontent.com/diff/img") {
[data-color-mode="auto"] {
@media (prefers-color-scheme: light) {
&[data-light-theme="light"] {