Skip to content

Commit

Permalink
fix(treewide): accurate syntax highlighting colors (#1277)
Browse files Browse the repository at this point in the history
  • Loading branch information
uncenter authored Sep 8, 2024
1 parent 433b621 commit 267963d
Show file tree
Hide file tree
Showing 10 changed files with 49 additions and 43 deletions.
10 changes: 5 additions & 5 deletions styles/cinny/catppuccin.user.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@name Cinny Catppuccin
@namespace github.com/catppuccin/userstyles/styles/cinny
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/cinny
@version 2.3.1
@version 2.3.2
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/cinny/catppuccin.user.css
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Acinny
@description Soothing pastel theme for Cinny
Expand Down Expand Up @@ -226,15 +226,15 @@
body.prism-light,
&.prism-light,
&.prism-dark {
--prism-comment: @overlay0;
--prism-punctuation: @sky;
--prism-comment: @overlay2;
--prism-punctuation: @overlay2;
--prism-property: @yellow;
--prism-boolean: @peach;
--prism-selector: @green;
--prism-operator: @sky;
--prism-atrule: @pink;
--prism-atrule: @mauve;
--prism-keyword: @mauve;
--prism-regex: @maroon;
--prism-regex: @pink;
}

/* Search results */
Expand Down
10 changes: 5 additions & 5 deletions styles/docs.rs/catppuccin.user.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@name docs.rs Catppuccin
@namespace github.com/catppuccin/userstyles/styles/docs.rs
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/docs.rs
@version 0.0.4
@version 0.0.5
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/docs.rs/catppuccin.user.css
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Adocs.rs
@description Soothing pastel theme for docs.rs
Expand Down Expand Up @@ -165,14 +165,14 @@
--code-highlight-self-color: @red;
--code-highlight-macro-color: @blue;
--code-highlight-question-mark-color: @teal;
--code-highlight-comment-color: @overlay0;
--code-highlight-doc-comment-color: @overlay0;
--code-highlight-comment-color: @overlay2;
--code-highlight-doc-comment-color: @overlay2;
--color-syntax-foreground: inherit;
--color-syntax-attribute: @yellow;
--color-syntax-background: @mantle;
--color-syntax-bool: @red;
--color-syntax-comment: @overlay0;
--color-syntax-doc-comment: @overlay0;
--color-syntax-comment: @overlay2;
--color-syntax-doc-comment: @overlay2;
--color-syntax-keyword1: @mauve;
--color-syntax-keyword2: @mauve;
--color-syntax-lifetime: @blue;
Expand Down
17 changes: 9 additions & 8 deletions styles/github/catppuccin.user.css
Original file line number Diff line number Diff line change
Expand Up @@ -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.7.2
@version 1.7.3
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/github/catppuccin.user.css
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Agithub
@description Soothing pastel theme for GitHub
Expand Down Expand Up @@ -178,16 +178,16 @@
--codeMirror-gutters-bgColor: @base;
--codeMirror-gutterMarker-fgColor-default: @base;
--codeMirror-gutterMarker-fgColor-muted: @overlay0;
--codeMirror-lineNumber-fgColor: @subtext1;
--codeMirror-lineNumber-fgColor: @overlay1;
--codeMirror-cursor-fgColor: @text;
--codeMirror-selection-bgColor: #388bfd66;
--codeMirror-activeline-bgColor: #6e768166;
--codeMirror-matchingBracket-fgColor: @text;
--codeMirror-lines-bgColor: @base;
--codeMirror-syntax-fgColor-comment: @overlay0;
--codeMirror-syntax-fgColor-comment: @overlay2;
--codeMirror-syntax-fgColor-constant: @blue;
--codeMirror-syntax-fgColor-entity: @blue;
--codeMirror-syntax-fgColor-keyword: @pink;
--codeMirror-syntax-fgColor-keyword: @mauve;
--codeMirror-syntax-fgColor-storage: @peach;
--codeMirror-syntax-fgColor-string: @green;
--codeMirror-syntax-fgColor-support: #79c0ff;
Expand Down Expand Up @@ -447,17 +447,18 @@
--color-ansi-magenta-bright: @pink;
--color-ansi-cyan: @teal;
--color-ansi-cyan-bright: @teal;
--color-prettylights-syntax-comment: @overlay1;
--color-prettylights-syntax-comment: @overlay2;
--color-prettylights-syntax-constant: @blue;
--color-prettylights-syntax-constant-other-reference-link: @blue;
--color-prettylights-syntax-entity: @blue;
--color-prettylights-syntax-storage-modifier-import: @peach;
--color-prettylights-syntax-entity-tag: @teal;
--color-prettylights-syntax-keyword: @pink;
--color-prettylights-syntax-entity-tag: @blue;
--color-prettylights-syntax-keyword: @mauve;
--color-prettylights-syntax-string: @green;
--color-prettylights-syntax-variable: @peach;
--color-prettylights-syntax-invalid-illegal-text: @red;
--color-prettylights-syntax-invalid-illegal-bg: fadeout(@red, 85%);
--color-prettylights-syntax-markup-heading: @teal;
--color-prettylights-syntax-markup-heading: @red;
--color-prettylights-syntax-markup-italic: @yellow;
--color-prettylights-syntax-markup-bold: @yellow;
--color-prettylights-syntax-markup-deleted-text: @text;
Expand Down
4 changes: 2 additions & 2 deletions styles/mdn/catppuccin.user.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@name MDN Catppuccin
@namespace github.com/catppuccin/userstyles/styles/mdn
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/mdn
@version 0.1.1
@version 0.1.2
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/mdn/catppuccin.user.css
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Amdn
@description Soothing pastel theme for MDN
Expand Down Expand Up @@ -105,7 +105,7 @@
--code-token-punctuation: @overlay2;
--code-token-attribute-name: @blue;
--code-token-attribute-value: @peach;
--code-token-comment: @overlay0;
--code-token-comment: @overlay2;
--code-token-default: @text;
--code-token-selector: @lavender;
--code-token-class-selector: @yellow;
Expand Down
4 changes: 2 additions & 2 deletions styles/npm/catppuccin.user.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@name npm Catppuccin
@namespace github.com/catppuccin/userstyles/styles/npm
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/npm
@version 0.0.9
@version 0.0.10
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/npm/catppuccin.user.css
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Anpm
@description Soothing pastel theme for npm
Expand Down Expand Up @@ -1178,7 +1178,7 @@
}
}

--color-prettylights-syntax-comment: @overlay1;
--color-prettylights-syntax-comment: @overlay2;
--color-prettylights-syntax-constant: @teal;
--color-prettylights-syntax-entity: @blue;
--color-prettylights-syntax-storage-modifier-import: @peach;
Expand Down
4 changes: 2 additions & 2 deletions styles/paste.rs/catppuccin.user.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@name paste.rs Catppuccin
@namespace github.com/catppuccin/userstyles/styles/paste.rs
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/paste.rs
@version 0.0.4
@version 0.0.5
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/paste.rs/catppuccin.user.css
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Apaste.rs
@description Soothing pastel theme for paste.rs
Expand Down Expand Up @@ -173,7 +173,7 @@

/* Comments */
span[style="color:#969896;"] {
color: @overlay0 !important;
color: @overlay2 !important;
}

/* Constants, Numbers */
Expand Down
29 changes: 17 additions & 12 deletions styles/stylus/catppuccin.user.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@name Stylus Catppuccin
@namespace github.com/catppuccin/userstyles/styles/stylus
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/stylus
@version 1.2.4
@version 1.2.5
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/stylus/catppuccin.user.css
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Astylus
@description Soothing pastel theme for Stylus
Expand Down Expand Up @@ -169,41 +169,46 @@
}
.cm-s-default {
.cm-string {
color: @peach;
color: @green;
}
.cm-qualifier {
color: @peach;
color: @yellow;
}
.cm-variable-2 {
color: @sapphire;
color: @mauve;
}
.cm-keyword {
color: @mauve;
}
.cm-atom,
.cm-atom {
color: @red;
}
.cm-number {
color: @green;
color: @peach;
}
.cm-def {
color: @sapphire;
color: @mauve;
}
.cm-tag {
color: @sapphire;
color: @blue;
}
.cm-builtin {
color: @subtext1;
color: @red;
}
.cm-variable-3 {
color: @subtext1;
color: @teal;
}
.cm-comment {
color: @subtext0;
color: @overlay2;
}
.cm-operator {
color: @yellow;
}
.cm-variable {
color: @text;
color: @blue;
}
.cm-property {
color: @blue;
}
}
button:disabled,
Expand Down
6 changes: 3 additions & 3 deletions styles/trinket/catppuccin.user.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@name Trinket Catppuccin
@namespace github.com/catppuccin/userstyles/styles/trinket
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/trinket
@version 0.0.5
@version 0.0.6
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/trinket/catppuccin.user.css
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Atrinket
@description Soothing pastel theme for Trinket
Expand Down Expand Up @@ -91,7 +91,7 @@

.ace_gutter {
background: @mantle;
color: @subtext0;
color: @overlay1;
}
.ace_print-margin {
background: @mantle;
Expand Down Expand Up @@ -152,7 +152,7 @@
color: @green;
}
.ace_comment {
color: @surface2;
color: @overlay2;
}

.ace_indent-guide {
Expand Down
4 changes: 2 additions & 2 deletions styles/vercel/catppuccin.user.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@name Vercel/Next.js Catppuccin
@namespace github.com/catppuccin/userstyles/styles/vercel
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/vercel
@version 0.1.0
@version 0.1.1
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/vercel/catppuccin.user.css
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Avercel
@description Soothing pastel theme for Vercel and Next.js
Expand Down Expand Up @@ -226,7 +226,7 @@
--shiki-token-constant: @peach;
--shiki-token-string: @green;
--shiki-token-string-expression: @green;
--shiki-token-comment: @overlay0;
--shiki-token-comment: @overlay2;
--shiki-token-keyword: @mauve;
--shiki-token-parameter: @maroon;
--shiki-token-function: @blue;
Expand Down
4 changes: 2 additions & 2 deletions styles/web.dev/catppuccin.user.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@name web.dev Catppuccin
@namespace github.com/catppuccin/userstyles/styles/web.dev
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/web.dev
@version 0.0.1
@version 0.0.2
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/web.dev/catppuccin.user.css
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Aweb.dev
@description Soothing pastel theme for web.dev
Expand Down Expand Up @@ -144,7 +144,7 @@
--devsite-code-buttons-hover: @subtext1;

--devsite-var-color: @mauve;
--devsite-code-comments-color: @surface2;
--devsite-code-comments-color: @overlay2;
--devsite-code-keywords-color: @mauve;
--devsite-code-numbers-color: @peach;
--devsite-code-strings-color: @green;
Expand Down

0 comments on commit 267963d

Please sign in to comment.