Skip to content

fix(crates.io): variables names #1708

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 25 commits into
base: main
Choose a base branch
from
Open
Changes from 2 commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
896293f
fix(crates.io): update variables names
nuexq Apr 11, 2025
3482cc5
fix(crates.io): highlight js variables
nuexq Apr 11, 2025
98e5e72
fix(crates.io): remove hljs variables
nuexq Apr 11, 2025
c53440b
fix(crates.io): button colors classnames
nuexq Apr 11, 2025
d46ef00
fix(crates.io): homepage cards variables
nuexq Apr 11, 2025
5b65bfd
fix(crates.io): dependencies cards and search results cards variables
nuexq Apr 11, 2025
1355caf
fix(pinterest): Versions cards variables
nuexq Apr 11, 2025
11c9f3a
fix(crates.io): duplicated variable
nuexq Apr 12, 2025
d3f5d25
fix(pinterest): Dependents cards
nuexq Apr 12, 2025
2c66678
fix(crates.io): header search bar variables
nuexq Apr 12, 2025
bab3838
fix(crates.io): button--small
nuexq Apr 12, 2025
b5897b6
fix(crates.io): button--small color, !important for input colors
nuexq Apr 12, 2025
f749045
fix(crates.io): dropdown itesm background color
nuexq Apr 12, 2025
f5d57ae
fix(crates.io): dashboard cards variables
nuexq Apr 12, 2025
f02039f
fix(crates.io): copyable text hover
nuexq Apr 12, 2025
6d61cfe
refactor(crates.io): sort variables by there number
nuexq Apr 12, 2025
02dc06f
fix(crates.io): versions card link hover color
nuexq Apr 12, 2025
5529b17
fix(crates.io): pending invites variable
nuexq Apr 12, 2025
b4289e0
fix(crates.io): crate settings color
nuexq Apr 12, 2025
494dc27
fix(crates.io): input colors
nuexq Apr 12, 2025
fc1fc21
fix(crates.io): text-color for button--red
nuexq Apr 12, 2025
1eda8d7
fix(crates.io): Versions cards beta variant
nuexq Apr 12, 2025
b3257bc
fix(crates.io): remove the circle fill color of download svg
nuexq Apr 12, 2025
1bc089c
fix(crates.io): hero button icon color on latte
nuexq Apr 12, 2025
6ccaadb
fix(crates.io): crate-downloads icons background color
nuexq Apr 12, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 49 additions & 3 deletions styles/crates.io/catppuccin.user.less
Original file line number Diff line number Diff line change
Expand Up @@ -124,12 +124,12 @@
--footer-header-color: @text;

/* Main article/readme background */
--csstools-light-dark-toggle--63: @base;
--csstools-light-dark-toggle--125: @base;

/* Inline code background */
--csstools-light-dark-toggle--92: @mantle;
--csstools-light-dark-toggle--76: @mantle !important;
/* Code block background */
--csstools-light-dark-toggle--91: @mantle;
--csstools-light-dark-toggle--75: @mantle !important;
/* Copyable text hover */
--csstools-light-dark-toggle--78: @base;

Expand Down Expand Up @@ -162,8 +162,8 @@
/* Homepage cards */
--csstools-light-dark-toggle--74: @base;
--csstools-light-dark-toggle--77: @surface0;
--csstools-light-dark-toggle--75: @subtext1;

Check failure on line 165 in styles/crates.io/catppuccin.user.less

View workflow job for this annotation

GitHub Actions / lint

Unexpected duplicate "--csstools-light-dark-toggle--75" (declaration-block-no-duplicate-custom-properties)
--csstools-light-dark-toggle--76: @text;

Check failure on line 166 in styles/crates.io/catppuccin.user.less

View workflow job for this annotation

GitHub Actions / lint

Unexpected duplicate "--csstools-light-dark-toggle--76" (declaration-block-no-duplicate-custom-properties)
--csstools-light-dark-toggle--19: @subtext0;
--csstools-light-dark-toggle--20: @subtext0;

Expand Down Expand Up @@ -318,6 +318,52 @@
border-color: @surface1;
}
}

/* highlight js colors */
.hljs-keyword { color: @mauve !important; }
.hljs-built_in { color: @red !important; }
.hljs-type { color: @yellow !important; }
.hljs-literal { color: @peach !important; }
.hljs-number { color: @peach !important; }
.hljs-operator { color: @sky !important; }
.hljs-punctuation { color: @subtext1 !important; }
.hljs-property { color: @teal !important; }
.hljs-regexp { color: @pink !important; }
.hljs-string { color: @green !important; }
.hljs-char.escape_ { color: @green !important; }
.hljs-subst { color: @subtext0 !important; }
.hljs-symbol { color: @flamingo !important; }
.hljs-variable { color: @mauve !important; }
.hljs-variable.language_ { color: @mauve !important; }
.hljs-variable.constant_ { color: @peach !important; }
.hljs-title { color: @blue !important; }
.hljs-title.class_ { color: @yellow !important; }
.hljs-title.function_ { color: @blue !important; }
.hljs-params { color: @text !important; }
.hljs-comment { color: @overlay2 !important; }
.hljs-doctag { color: @red !important; }
.hljs-meta { color: @peach !important; }
.hljs-section { color: @blue !important; }
.hljs-tag { color: @teal !important; }
.hljs-name { color: @mauve !important; }
.hljs-attr { color: @blue !important; }
.hljs-attribute { color: @green !important; }
.hljs-bullet { color: @teal !important; }
.hljs-code { color: @green !important; }
.hljs-emphasis { color: @red !important; }
.hljs-strong { color: @red !important; }
.hljs-formula { color: @teal !important; }
.hljs-link { color: @sapphire !important; }
.hljs-quote { color: @green !important; }
.hljs-selector-tag { color: @yellow !important; }
.hljs-selector-id { color: @blue !important; }
.hljs-selector-class { color: @teal !important; }
.hljs-selector-attr { color: @mauve !important; }
.hljs-selector-pseudo { color: @teal !important; }
.hljs-template-tag { color: @flamingo !important; }
.hljs-template-variable { color: @flamingo !important; }
.hljs-addition { color: @green !important; }
.hljs-deletion { color: @red !important; }
}
}

Expand Down
Loading