From 5d2711ceea30c11e1661a041ded0370280611905 Mon Sep 17 00:00:00 2001 From: Tnixc Date: Thu, 7 Dec 2023 15:07:07 -0500 Subject: [PATCH] fix(github): new repo view (#369) --- styles/github/catppuccin.user.css | 86 +++++++++++++++++++++++++++---- 1 file changed, 77 insertions(+), 9 deletions(-) diff --git a/styles/github/catppuccin.user.css b/styles/github/catppuccin.user.css index 70a829d2..e0aa46da 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.0 +@version 1.3.1 @description Soothing pastel theme for GitHub @author Catppuccin @updateURL https://github.com/catppuccin/userstyles/raw/main/styles/github/catppuccin.user.css @@ -669,15 +669,13 @@ .hUWqlv, .bJcMWH { color: @blue; - } - // search menu links + } // search menu links .Link__StyledLink-sc-14289xe-0.ifbDxt { color: @blue; } .Link__StyledLink-sc-14289xe-0.ifbDxt:hover { background-color: fadeout(@blue, 60%); - } - // Search page buttons + } // Search page buttons .cxcvTj, .Box-sc-g0xbh4-0.grSspY button { background-color: @mantle; @@ -992,9 +990,7 @@ .jykkjb { background-color: @base; - box-shadow: - @crust 0 -2px 0 inset, - @crust 0 1px 0 inset; + box-shadow: @crust 0 -2px 0 inset, @crust 0 1px 0 inset; } .jhjELj, @@ -1057,7 +1053,6 @@ } /* Tree Fix */ - /* Weird barely visible outlines | Can be removed if intentional */ .brFBoI, .ldUAkr, @@ -1321,8 +1316,81 @@ .search-results-page { background-color: @base; } + /* New repo layout button, pr button on repo, tick */ + .dvJnjZ, + .types__StyledButton-sc-ws60qy-0.gHIvvy, + .ldavJa { + background-color: @green; + color: @crust; + &:hover { + background-color: darken(@green, 15%); + } + } + .ezbPok * { + fill: @text; + } + .jMEWXM > * > *, + #branch-picker-repos-header-ref-selector, + .gtXnmh .Box-sc-g0xbh4-0.jGfYmh > * { + background-color: @surface0; + border-color: @surface1; + &:hover { + background-color: @surface1; + border-color: @surface2; + } + & * { + fill: @text; + color: @text; + } + } + .cPEOjV { + background-color: @mantle; + } + .Box-sc-g0xbh4-0.bUCzHg, + .ehcSsh > * { + border-color: @surface1 !important; + } + + .eYedVD .Box-sc-g0xbh4-0.jGfYmh *, + .Text-sc-17v1xeu-0.foaUgQ { + color: @subtext0; + } + .hRMLtq, + .ilcYjX *, + .lcModf, + button.types__StyledButton-sc-ws60qy-0.kRuNkv { + color: @text; + } + .Flash__StyledFlash-sc-hzrzfc-0.kUDiXM { + background-color: fadeout(@peach, 90%); + border-color: @peach; + } + .kUDiXM svg { + fill: @peach; + } + /* Some popup */ + .iGzDhH, + .hBobmI, + #__primerPortalRoot__ > div > div > div { + background-color: @mantle; + } + .Text-sc-17v1xeu-0.gPDEWA { + color: @subtext1; + } + .TabNav__TabNavTabList-sc-pwdi4r-1.gFzOft { + & * { + border-color: @surface0; + } + + &:hover { + & * { + background: @mantle; + } + } + } } } + @-moz-document regexp("https:\/\/notebooks\.githubusercontent\.com\/view\/ipynb.*") { :root { #catppuccin(@darkFlavor, @accentColor);