fix(treewide): accurate syntax highlighting colors (#1277)

This commit is contained in:
uncenter authored and GitHub committed 2024-09-08 13:40:01 -04:00
1 parent 433b621c47
commit 267963d4a7
10 files changed
+49 -43

No files matched your search

+5 -5
View File
@@ -2,7 +2,7 @@
@name Cinny Catppuccin @name Cinny Catppuccin
@namespace github.com/catppuccin/userstyles/styles/cinny @namespace github.com/catppuccin/userstyles/styles/cinny
@homepageURL https://github.com/catppuccin/userstyles/tree/main/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 @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 @supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Acinny
@description Soothing pastel theme for Cinny @description Soothing pastel theme for Cinny
@@ -226,15 +226,15 @@
body.prism-light, body.prism-light,
&.prism-light, &.prism-light,
&.prism-dark { &.prism-dark {
--prism-comment: @overlay0; --prism-comment: @overlay2;
--prism-punctuation: @sky; --prism-punctuation: @overlay2;
--prism-property: @yellow; --prism-property: @yellow;
--prism-boolean: @peach; --prism-boolean: @peach;
--prism-selector: @green; --prism-selector: @green;
--prism-operator: @sky; --prism-operator: @sky;
--prism-atrule: @pink; --prism-atrule: @mauve;
--prism-keyword: @mauve; --prism-keyword: @mauve;
--prism-regex: @maroon; --prism-regex: @pink;
} }
/* Search results */ /* Search results */
+5 -5
View File
@@ -2,7 +2,7 @@
@name docs.rs Catppuccin @name docs.rs Catppuccin
@namespace github.com/catppuccin/userstyles/styles/docs.rs @namespace github.com/catppuccin/userstyles/styles/docs.rs
@homepageURL https://github.com/catppuccin/userstyles/tree/main/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 @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 @supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Adocs.rs
@description Soothing pastel theme for docs.rs @description Soothing pastel theme for docs.rs
@@ -165,14 +165,14 @@
--code-highlight-self-color: @red; --code-highlight-self-color: @red;
--code-highlight-macro-color: @blue; --code-highlight-macro-color: @blue;
--code-highlight-question-mark-color: @teal; --code-highlight-question-mark-color: @teal;
--code-highlight-comment-color: @overlay0; --code-highlight-comment-color: @overlay2;
--code-highlight-doc-comment-color: @overlay0; --code-highlight-doc-comment-color: @overlay2;
--color-syntax-foreground: inherit; --color-syntax-foreground: inherit;
--color-syntax-attribute: @yellow; --color-syntax-attribute: @yellow;
--color-syntax-background: @mantle; --color-syntax-background: @mantle;
--color-syntax-bool: @red; --color-syntax-bool: @red;
--color-syntax-comment: @overlay0; --color-syntax-comment: @overlay2;
--color-syntax-doc-comment: @overlay0; --color-syntax-doc-comment: @overlay2;
--color-syntax-keyword1: @mauve; --color-syntax-keyword1: @mauve;
--color-syntax-keyword2: @mauve; --color-syntax-keyword2: @mauve;
--color-syntax-lifetime: @blue; --color-syntax-lifetime: @blue;
+9 -8
View File
@@ -2,7 +2,7 @@
@name GitHub Catppuccin @name GitHub Catppuccin
@namespace github.com/catppuccin/userstyles/styles/github @namespace github.com/catppuccin/userstyles/styles/github
@homepageURL https://github.com/catppuccin/userstyles/tree/main/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 @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 @supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Agithub
@description Soothing pastel theme for GitHub @description Soothing pastel theme for GitHub
@@ -178,16 +178,16 @@
--codeMirror-gutters-bgColor: @base; --codeMirror-gutters-bgColor: @base;
--codeMirror-gutterMarker-fgColor-default: @base; --codeMirror-gutterMarker-fgColor-default: @base;
--codeMirror-gutterMarker-fgColor-muted: @overlay0; --codeMirror-gutterMarker-fgColor-muted: @overlay0;
--codeMirror-lineNumber-fgColor: @subtext1; --codeMirror-lineNumber-fgColor: @overlay1;
--codeMirror-cursor-fgColor: @text; --codeMirror-cursor-fgColor: @text;
--codeMirror-selection-bgColor: #388bfd66; --codeMirror-selection-bgColor: #388bfd66;
--codeMirror-activeline-bgColor: #6e768166; --codeMirror-activeline-bgColor: #6e768166;
--codeMirror-matchingBracket-fgColor: @text; --codeMirror-matchingBracket-fgColor: @text;
--codeMirror-lines-bgColor: @base; --codeMirror-lines-bgColor: @base;
--codeMirror-syntax-fgColor-comment: @overlay0; --codeMirror-syntax-fgColor-comment: @overlay2;
--codeMirror-syntax-fgColor-constant: @blue; --codeMirror-syntax-fgColor-constant: @blue;
--codeMirror-syntax-fgColor-entity: @blue; --codeMirror-syntax-fgColor-entity: @blue;
--codeMirror-syntax-fgColor-keyword: @pink; --codeMirror-syntax-fgColor-keyword: @mauve;
--codeMirror-syntax-fgColor-storage: @peach; --codeMirror-syntax-fgColor-storage: @peach;
--codeMirror-syntax-fgColor-string: @green; --codeMirror-syntax-fgColor-string: @green;
--codeMirror-syntax-fgColor-support: #79c0ff; --codeMirror-syntax-fgColor-support: #79c0ff;
@@ -447,17 +447,18 @@
--color-ansi-magenta-bright: @pink; --color-ansi-magenta-bright: @pink;
--color-ansi-cyan: @teal; --color-ansi-cyan: @teal;
--color-ansi-cyan-bright: @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: @blue;
--color-prettylights-syntax-constant-other-reference-link: @blue;
--color-prettylights-syntax-entity: @blue; --color-prettylights-syntax-entity: @blue;
--color-prettylights-syntax-storage-modifier-import: @peach; --color-prettylights-syntax-storage-modifier-import: @peach;
--color-prettylights-syntax-entity-tag: @teal; --color-prettylights-syntax-entity-tag: @blue;
--color-prettylights-syntax-keyword: @pink; --color-prettylights-syntax-keyword: @mauve;
--color-prettylights-syntax-string: @green; --color-prettylights-syntax-string: @green;
--color-prettylights-syntax-variable: @peach; --color-prettylights-syntax-variable: @peach;
--color-prettylights-syntax-invalid-illegal-text: @red; --color-prettylights-syntax-invalid-illegal-text: @red;
--color-prettylights-syntax-invalid-illegal-bg: fadeout(@red, 85%); --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-italic: @yellow;
--color-prettylights-syntax-markup-bold: @yellow; --color-prettylights-syntax-markup-bold: @yellow;
--color-prettylights-syntax-markup-deleted-text: @text; --color-prettylights-syntax-markup-deleted-text: @text;
+2 -2
View File
@@ -2,7 +2,7 @@
@name MDN Catppuccin @name MDN Catppuccin
@namespace github.com/catppuccin/userstyles/styles/mdn @namespace github.com/catppuccin/userstyles/styles/mdn
@homepageURL https://github.com/catppuccin/userstyles/tree/main/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 @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 @supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Amdn
@description Soothing pastel theme for MDN @description Soothing pastel theme for MDN
@@ -105,7 +105,7 @@
--code-token-punctuation: @overlay2; --code-token-punctuation: @overlay2;
--code-token-attribute-name: @blue; --code-token-attribute-name: @blue;
--code-token-attribute-value: @peach; --code-token-attribute-value: @peach;
--code-token-comment: @overlay0; --code-token-comment: @overlay2;
--code-token-default: @text; --code-token-default: @text;
--code-token-selector: @lavender; --code-token-selector: @lavender;
--code-token-class-selector: @yellow; --code-token-class-selector: @yellow;
+2 -2
View File
@@ -2,7 +2,7 @@
@name npm Catppuccin @name npm Catppuccin
@namespace github.com/catppuccin/userstyles/styles/npm @namespace github.com/catppuccin/userstyles/styles/npm
@homepageURL https://github.com/catppuccin/userstyles/tree/main/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 @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 @supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Anpm
@description Soothing pastel theme for npm @description Soothing pastel theme for npm
@@ -1178,7 +1178,7 @@
} }
} }
--color-prettylights-syntax-comment: @overlay1; --color-prettylights-syntax-comment: @overlay2;
--color-prettylights-syntax-constant: @teal; --color-prettylights-syntax-constant: @teal;
--color-prettylights-syntax-entity: @blue; --color-prettylights-syntax-entity: @blue;
--color-prettylights-syntax-storage-modifier-import: @peach; --color-prettylights-syntax-storage-modifier-import: @peach;
+2 -2
View File
@@ -2,7 +2,7 @@
@name paste.rs Catppuccin @name paste.rs Catppuccin
@namespace github.com/catppuccin/userstyles/styles/paste.rs @namespace github.com/catppuccin/userstyles/styles/paste.rs
@homepageURL https://github.com/catppuccin/userstyles/tree/main/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 @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 @supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Apaste.rs
@description Soothing pastel theme for paste.rs @description Soothing pastel theme for paste.rs
@@ -173,7 +173,7 @@
/* Comments */ /* Comments */
span[style="color:#969896;"] { span[style="color:#969896;"] {
color: @overlay0 !important; color: @overlay2 !important;
} }
/* Constants, Numbers */ /* Constants, Numbers */
+17 -12
View File
@@ -2,7 +2,7 @@
@name Stylus Catppuccin @name Stylus Catppuccin
@namespace github.com/catppuccin/userstyles/styles/stylus @namespace github.com/catppuccin/userstyles/styles/stylus
@homepageURL https://github.com/catppuccin/userstyles/tree/main/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 @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 @supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Astylus
@description Soothing pastel theme for Stylus @description Soothing pastel theme for Stylus
@@ -169,41 +169,46 @@
} }
.cm-s-default { .cm-s-default {
.cm-string { .cm-string {
color: @peach; color: @green;
} }
.cm-qualifier { .cm-qualifier {
color: @peach; color: @yellow;
} }
.cm-variable-2 { .cm-variable-2 {
color: @sapphire; color: @mauve;
} }
.cm-keyword { .cm-keyword {
color: @mauve; color: @mauve;
} }
.cm-atom, .cm-atom {
color: @red;
}
.cm-number { .cm-number {
color: @green; color: @peach;
} }
.cm-def { .cm-def {
color: @sapphire; color: @mauve;
} }
.cm-tag { .cm-tag {
color: @sapphire; color: @blue;
} }
.cm-builtin { .cm-builtin {
color: @subtext1; color: @red;
} }
.cm-variable-3 { .cm-variable-3 {
color: @subtext1; color: @teal;
} }
.cm-comment { .cm-comment {
color: @subtext0; color: @overlay2;
} }
.cm-operator { .cm-operator {
color: @yellow; color: @yellow;
} }
.cm-variable { .cm-variable {
color: @text; color: @blue;
}
.cm-property {
color: @blue;
} }
} }
button:disabled, button:disabled,
+3 -3
View File
@@ -2,7 +2,7 @@
@name Trinket Catppuccin @name Trinket Catppuccin
@namespace github.com/catppuccin/userstyles/styles/trinket @namespace github.com/catppuccin/userstyles/styles/trinket
@homepageURL https://github.com/catppuccin/userstyles/tree/main/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 @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 @supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Atrinket
@description Soothing pastel theme for Trinket @description Soothing pastel theme for Trinket
@@ -91,7 +91,7 @@
.ace_gutter { .ace_gutter {
background: @mantle; background: @mantle;
color: @subtext0; color: @overlay1;
} }
.ace_print-margin { .ace_print-margin {
background: @mantle; background: @mantle;
@@ -152,7 +152,7 @@
color: @green; color: @green;
} }
.ace_comment { .ace_comment {
color: @surface2; color: @overlay2;
} }
.ace_indent-guide { .ace_indent-guide {
+2 -2
View File
@@ -2,7 +2,7 @@
@name Vercel/Next.js Catppuccin @name Vercel/Next.js Catppuccin
@namespace github.com/catppuccin/userstyles/styles/vercel @namespace github.com/catppuccin/userstyles/styles/vercel
@homepageURL https://github.com/catppuccin/userstyles/tree/main/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 @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 @supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Avercel
@description Soothing pastel theme for Vercel and Next.js @description Soothing pastel theme for Vercel and Next.js
@@ -226,7 +226,7 @@
--shiki-token-constant: @peach; --shiki-token-constant: @peach;
--shiki-token-string: @green; --shiki-token-string: @green;
--shiki-token-string-expression: @green; --shiki-token-string-expression: @green;
--shiki-token-comment: @overlay0; --shiki-token-comment: @overlay2;
--shiki-token-keyword: @mauve; --shiki-token-keyword: @mauve;
--shiki-token-parameter: @maroon; --shiki-token-parameter: @maroon;
--shiki-token-function: @blue; --shiki-token-function: @blue;
+2 -2
View File
@@ -2,7 +2,7 @@
@name web.dev Catppuccin @name web.dev Catppuccin
@namespace github.com/catppuccin/userstyles/styles/web.dev @namespace github.com/catppuccin/userstyles/styles/web.dev
@homepageURL https://github.com/catppuccin/userstyles/tree/main/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 @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 @supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Aweb.dev
@description Soothing pastel theme for web.dev @description Soothing pastel theme for web.dev
@@ -144,7 +144,7 @@
--devsite-code-buttons-hover: @subtext1; --devsite-code-buttons-hover: @subtext1;
--devsite-var-color: @mauve; --devsite-var-color: @mauve;
--devsite-code-comments-color: @surface2; --devsite-code-comments-color: @overlay2;
--devsite-code-keywords-color: @mauve; --devsite-code-keywords-color: @mauve;
--devsite-code-numbers-color: @peach; --devsite-code-numbers-color: @peach;
--devsite-code-strings-color: @green; --devsite-code-strings-color: @green;