From 407c4812ccf728ebd3f6e487cece653cfb370815 Mon Sep 17 00:00:00 2001 From: winston Date: Fri, 29 Dec 2023 14:49:58 +0100 Subject: [PATCH] fix(github): regex (#423) Co-authored-by: Isabel --- styles/github/catppuccin.user.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/styles/github/catppuccin.user.css b/styles/github/catppuccin.user.css index fb085cfa..3f44942b 100644 --- a/styles/github/catppuccin.user.css +++ b/styles/github/catppuccin.user.css @@ -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.3.3 +@version 1.3.4 @description Soothing pastel theme for GitHub @author Catppuccin @updateURL https://github.com/catppuccin/userstyles/raw/main/styles/github/catppuccin.user.css @@ -23,7 +23,7 @@ @mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; }; } -@-moz-document regexp("https:\/\/(gist\.)*github\.com(?!\/(home|marketplace|organizations\/plan))(?!\/.+?\/.+?\/commit\/[A-Fa-f0-9]+\.).*") { +@-moz-document regexp("https:\/\/(gist\.)*github\.com(?!((\/.+?\/.+?\/commit\/[A-Fa-f0-9]+\.(patch|diff)$)|\/home$|\/features($|\/.*)|\/marketplace($|\/.*)|\/organizations\/plan)).*$") { [data-color-mode="light"], [data-color-mode="auto"] > .theme-light { #catppuccin(@lightFlavor, @accentColor);