From f1426a8aae0a5b46c6166ef6d836a0fff52bd2a8 Mon Sep 17 00:00:00 2001 From: soradotwav <84683510+soradotwav@users.noreply.github.com> Date: Mon, 14 Aug 2023 08:05:05 -0700 Subject: [PATCH] fix(github) - Fixed missing work on the code explorer and changed two small ui pieces to accent color (#171) * Fixed Tree Code Nav Interface * Loading bar color * Turned the Tab selection color of a repo to the accent color * Fully revamped dropdown menus to make it look simmilar to main repo page ui * Update version number --- styles/github/catppuccin.user.css | 80 ++++++++++++++++++++++++++++++- 1 file changed, 79 insertions(+), 1 deletion(-) diff --git a/styles/github/catppuccin.user.css b/styles/github/catppuccin.user.css index 48dd9e0..ad94f58 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.2 +@version 1.2.3 @description Soothing pastel theme for GitHub @author Catppuccin @updateURL https://github.com/catppuccin/userstyles/raw/main/styles/github/catppuccin.user.css @@ -351,6 +351,7 @@ --color-checks-ansi-white: @subtext1; --color-checks-ansi-white-bright: @subtext0; --divider-color: @surface1; + --underlineNav-borderColor-active: @accent-color; & when (@lookup =latte) { // When using a light theme use the light colors instead of the dark @@ -1427,6 +1428,83 @@ .iGxiw { border-bottom-color: @surface1; } + + /* Tree Fix */ + /* Buttons */ + .bJYdrf:hover { + background-color: @mantle; + } + + .dSlCya:hover { + color: @accent-color; + } + + .hNNRLM, .hGgJQu, .hTcsdJ { + background-color: @surface0; + border-color: @surface0; + color: @text; + + &:hover { + background-color: @surface1; + border-color: @surface1; + } + } + + .hNNRLM svg { + color: @text; + } + + /* Dropdown Menus */ + .jfOCiu, .gNXjVV, .iGzDhH { + background-color: @mantle; + border: 1px solid @surface1; + border-radius: 6px; + box-shadow: var(--shadow-floating-large, var(--color-shadow-large)); + } + + .jfOCiu li { + color: @text; + } + + .kRbyXo { + color: @text; + } + + .VgnWi { + background-color: @base; + border: 1px solid @surface1; + + &:focus-within { + border-color: @accent-color; + box-shadow: @accent-color 0px 0px 0px 1px inset; + } + } + + .bAKGFC { + background-color: @surface1; + } + + .bdMlHy { + border-color: @surface1; + } + + .jMyfUO.selected { + border-color: @surface1; + background-color: @mantle; + } + + .bPgnBp { + color: @accent-color; + } + + kbd { + background-color: @surface1; + } + + /* Loading Bar Color */ + .turbo-progress-bar { + background-color: @accent-color; + } } } @-moz-document regexp("https:\/\/notebooks\.githubusercontent\.com\/view\/ipynb.*") {