fix(github): update regex to exclude .patch and .diff urls (#328)
This commit is contained in:
1 parent
ff8da1e094
commit
c7a5c79910
1 file changed
+2
-2
@@ -2,7 +2,7 @@
|
||||
@name Github Catppuccin
|
||||
@namespace github.com/catppuccin/userstyles/styles/github
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/github
|
||||
@version 1.2.10
|
||||
@version 1.2.11
|
||||
@description Soothing pastel theme for GitHub
|
||||
@author Catppuccin
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/github/catppuccin.user.css
|
||||
@@ -131,7 +131,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
@-moz-document regexp("https:\/\/(gist\.)*github\.com(?!\/(home|marketplace|organizations\/plan)).*") {
|
||||
@-moz-document regexp("https:\/\/(gist\.)*github\.com(?!\/(home|marketplace|organizations\/plan))(?!\/.+?\/.+?\/commit\/[A-Fa-f0-9]+\.).*") {
|
||||
[data-color-mode="light"],
|
||||
[data-color-mode="auto"] > .theme-light {
|
||||
#catppuccin(@lightFlavor, @accentColor);
|
||||
|
||||
Reference in new issue
Block a user