From cec2d8c644266d717c49801abc3fc08418fe5d43 Mon Sep 17 00:00:00 2001 From: Tnixc Date: Thu, 26 Oct 2023 04:14:17 -0400 Subject: [PATCH] Fix/GitHub (#279) * fix: search (incomplete) * fix: calendar and commit graphs * fix: version update --- styles/github/catppuccin.user.css | 42 +++++++++++++++++++++++++++---- 1 file changed, 37 insertions(+), 5 deletions(-) diff --git a/styles/github/catppuccin.user.css b/styles/github/catppuccin.user.css index 0b9c9cdc..b794e83f 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.2.7 +@version 1.2.8 @description Soothing pastel theme for GitHub @author Catppuccin @updateURL https://github.com/catppuccin/userstyles/raw/main/styles/github/catppuccin.user.css @@ -1097,6 +1097,19 @@ .bJcMWH { color: @blue; } + // 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 + .cxcvTj, + .Box-sc-g0xbh4-0.grSspY button { + background-color: @mantle; + border-color: @surface1; + } .gxGEao { border-bottom-color: @surface0; @@ -1209,13 +1222,17 @@ border-color: @surface0; } - .jEgFtJ::after { + .jPHlsW::after { background-color: @accent-color; } .khCtfm:hover { background-color: @surface0; } + .bWlbEI, + .hzIORV { + background-color: @mantle; + } .khCtfm, .khCtfm[data-component="leadingVisual"], @@ -1402,9 +1419,7 @@ .jykkjb { background-color: @base; - box-shadow: - @crust 0px -2px 0px inset, - @crust 0px 1px 0px inset; + box-shadow: @crust 0px -2px 0px inset, @crust 0px 1px 0px inset; } .jhjELj, @@ -1554,7 +1569,21 @@ background-color: @base; color: @text; } + .ContributionCalendar-day { + --color-calendar-graph-day-L1-bg: spin(fade(@green, 40%), 15deg); + --color-calendar-graph-day-L2-bg: spin(fade(@green, 60%), 10deg); + --color-calendar-graph-day-L3-bg: spin(fade(@green, 80%), 5deg); + --color-calendar-graph-day-L4-bg: @green; + --color-calendar-graph-day-L1-border: transparent; + --color-calendar-graph-day-L2-border: transparent; + --color-calendar-graph-day-L3-border: transparent; + --color-calendar-graph-day-L4-border: transparent; + --color-calendar-graph-day-bg: @surface0; + } + .tooltipped.tooltipped-s rect { + fill: @green !important; + } .hfRvxg { color: @subtext1; @@ -1733,6 +1762,9 @@ .turbo-progress-bar { background-color: @accent-color; } + .search-results-page { + background-color: @base; + } } } @-moz-document regexp("https:\/\/notebooks\.githubusercontent\.com\/view\/ipynb.*") {