From f3e18e9297b31a0f84b242403a749789552b0b40 Mon Sep 17 00:00:00 2001 From: mxgic1337_ <60188749+mxgic1337@users.noreply.github.com> Date: Thu, 6 Mar 2025 18:37:05 +0100 Subject: [PATCH] fix(crates.io): update css variables (#1642) fix(crates.io): updated css variables --- styles/crates.io/catppuccin.user.less | 45 +++++++++++++++++---------- 1 file changed, 29 insertions(+), 16 deletions(-) diff --git a/styles/crates.io/catppuccin.user.less b/styles/crates.io/catppuccin.user.less index 1de74bb8..8ac08a7e 100644 --- a/styles/crates.io/catppuccin.user.less +++ b/styles/crates.io/catppuccin.user.less @@ -124,44 +124,57 @@ --footer-header-color: @text; /* Main article/readme background */ - --csstools-light-dark-toggle--49: @base; + --csstools-light-dark-toggle--63: @base; /* Inline code background */ - --csstools-light-dark-toggle--85: @mantle; + --csstools-light-dark-toggle--92: @mantle; /* Code block background */ - --csstools-light-dark-toggle--86: @mantle; + --csstools-light-dark-toggle--91: @mantle; /* Copyable text hover */ - --csstools-light-dark-toggle--3: @base; + --csstools-light-dark-toggle--78: @base; /* Versions cards */ - --csstools-light-dark-toggle--108: @base; + --csstools-light-dark-toggle--111: @text; + --csstools-light-dark-toggle--113: @base; + --csstools-light-dark-toggle--114: fade(@green, 15%); + --csstools-light-dark-toggle--117: fade(@yellow, 15%); + --csstools-light-dark-toggle--109: @surface0; --csstools-light-dark-toggle--110: @surface0; - --csstools-light-dark-toggle--105: @surface0; + --csstools-light-dark-toggle--115: @surface0; + --csstools-light-dark-toggle--118: @surface0; + --csstools-light-dark-toggle--126: @text; [class*="_new"] { color: @green; } /* Dependencies cards */ - --csstools-light-dark-toggle--73: @base; - --csstools-light-dark-toggle--69: @surface0; + --csstools-light-dark-toggle--83: @base; + --csstools-light-dark-toggle--79: @surface0; + --csstools-light-dark-toggle--80: @text; + --csstools-light-dark-toggle--81: @text; + --csstools-light-dark-toggle--84: @subtext0; --grey600: @subtext0; --grey700: @text; /* Dependents cards */ - --csstools-light-dark-toggle--84: @base; - --csstools-light-dark-toggle--81: @surface0; + --csstools-light-dark-toggle--89: @base; + --csstools-light-dark-toggle--86: @surface0; /* Search results cards */ --csstools-light-dark-toggle--2: @base; /* Homepage cards */ - --csstools-light-dark-toggle--77: @base; - --csstools-light-dark-toggle--80: @surface0; - --csstools-light-dark-toggle--78: @subtext1; + --csstools-light-dark-toggle--74: @base; + --csstools-light-dark-toggle--77: @surface0; + --csstools-light-dark-toggle--75: @subtext1; + --csstools-light-dark-toggle--76: @text; + --csstools-light-dark-toggle--19: @subtext0; + --csstools-light-dark-toggle--20: @subtext0; /* Header search bar */ - --csstools-light-dark-toggle--33: @crust; + --csstools-light-dark-toggle--34: @crust; --yellow500: @accent; --yellow700: darken(@accent, 5%); /* Dropdown */ - --csstools-light-dark-toggle--20: @mantle; + --csstools-light-dark-toggle--23: @mantle; + --csstools-light-dark-toggle--35: @mantle; /* Dropdown items */ [class*="_item_"] { button:hover, @@ -247,7 +260,7 @@ /* Primary buttons */ [class*="_tan-button_"], [class*="_yellow-button_"] { - color: @crust; + color: @crust !important; background: @accent; &:hover {