fix(npm): more legacy syntax highlighting (#599)

This commit is contained in:
uncenter authored and GitHub committed 2024-03-02 10:33:29 -05:00
1 parent 0672082252
commit 9b48647eef
1 file changed
+5 -2
+5 -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.2 @version 0.0.3
@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
@@ -657,7 +657,7 @@
color: @text; color: @text;
} }
pre.editor.editor-colors { pre.editor.editor-colors {
.keyword { .keyword, .storage.type {
color: var(--color-prettylights-syntax-keyword); color: var(--color-prettylights-syntax-keyword);
font-weight: normal; // stylelint-disable-line property-disallowed-list font-weight: normal; // stylelint-disable-line property-disallowed-list
} }
@@ -680,6 +680,9 @@
.punctuation.definition:not(.string) { .punctuation.definition:not(.string) {
color: @text; color: @text;
} }
.constant {
color: var(--color-prettylights-syntax-constant);
}
} }
h1, h1,
h2 { h2 {