fix(crates.io): update css variables (#1642)

fix(crates.io): updated css variables
This commit is contained in:
mxgic1337_ authored and GitHub committed 2025-03-06 12:37:05 -05:00
1 parent 255d6f0b17
commit f3e18e9297
1 file changed
+29 -16
+29 -16
View File
@@ -124,44 +124,57 @@
--footer-header-color: @text; --footer-header-color: @text;
/* Main article/readme background */ /* Main article/readme background */
--csstools-light-dark-toggle--49: @base; --csstools-light-dark-toggle--63: @base;
/* Inline code background */ /* Inline code background */
--csstools-light-dark-toggle--85: @mantle; --csstools-light-dark-toggle--92: @mantle;
/* Code block background */ /* Code block background */
--csstools-light-dark-toggle--86: @mantle; --csstools-light-dark-toggle--91: @mantle;
/* Copyable text hover */ /* Copyable text hover */
--csstools-light-dark-toggle--3: @base; --csstools-light-dark-toggle--78: @base;
/* Versions cards */ /* 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--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"] { [class*="_new"] {
color: @green; color: @green;
} }
/* Dependencies cards */ /* Dependencies cards */
--csstools-light-dark-toggle--73: @base; --csstools-light-dark-toggle--83: @base;
--csstools-light-dark-toggle--69: @surface0; --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; --grey600: @subtext0;
--grey700: @text; --grey700: @text;
/* Dependents cards */ /* Dependents cards */
--csstools-light-dark-toggle--84: @base; --csstools-light-dark-toggle--89: @base;
--csstools-light-dark-toggle--81: @surface0; --csstools-light-dark-toggle--86: @surface0;
/* Search results cards */ /* Search results cards */
--csstools-light-dark-toggle--2: @base; --csstools-light-dark-toggle--2: @base;
/* Homepage cards */ /* Homepage cards */
--csstools-light-dark-toggle--77: @base; --csstools-light-dark-toggle--74: @base;
--csstools-light-dark-toggle--80: @surface0; --csstools-light-dark-toggle--77: @surface0;
--csstools-light-dark-toggle--78: @subtext1; --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 */ /* Header search bar */
--csstools-light-dark-toggle--33: @crust; --csstools-light-dark-toggle--34: @crust;
--yellow500: @accent; --yellow500: @accent;
--yellow700: darken(@accent, 5%); --yellow700: darken(@accent, 5%);
/* Dropdown */ /* Dropdown */
--csstools-light-dark-toggle--20: @mantle; --csstools-light-dark-toggle--23: @mantle;
--csstools-light-dark-toggle--35: @mantle;
/* Dropdown items */ /* Dropdown items */
[class*="_item_"] { [class*="_item_"] {
button:hover, button:hover,
@@ -247,7 +260,7 @@
/* Primary buttons */ /* Primary buttons */
[class*="_tan-button_"], [class*="_tan-button_"],
[class*="_yellow-button_"] { [class*="_yellow-button_"] {
color: @crust; color: @crust !important;
background: @accent; background: @accent;
&:hover { &:hover {