fix(github): ignore homepage / not loggedin (#237)

This commit is contained in:
Isabel 2023-10-01 15:35:49 +01:00 committed by GitHub
parent 68fe214dbd
commit 5b43cf269d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.5
@version 1.2.6
@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(?!\/(marketplace|organizations\/plan)).*") {
@-moz-document regexp("https:\/\/(gist\.)*github\.com(?!\/(home|marketplace|organizations\/plan)).*") {
[data-color-mode="light"],
[data-color-mode="auto"] > .theme-light {
#catppuccin(@lightFlavor, @accentColor);
@ -151,8 +151,8 @@
}
}
html:not([data-light-theme="light"]) body::after,
html:not([data-dark-theme="dark"]) body::after {
html:not([data-light-theme="light"]) body:not(.logged-out)::after,
html:not([data-dark-theme="dark"]) body:not(.logged-out)::after {
position: fixed;
top: 0;
left: 0;