From 9b48647eef86d8e9b2ab55fa8adcf455981c2028 Mon Sep 17 00:00:00 2001 From: uncenter <47499684+uncenter@users.noreply.github.com> Date: Sat, 2 Mar 2024 10:33:29 -0500 Subject: [PATCH] fix(npm): more legacy syntax highlighting (#599) --- styles/npm/catppuccin.user.css | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/styles/npm/catppuccin.user.css b/styles/npm/catppuccin.user.css index 23c55b40..8e14c6e9 100644 --- a/styles/npm/catppuccin.user.css +++ b/styles/npm/catppuccin.user.css @@ -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.2 +@version 0.0.3 @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 @@ -657,7 +657,7 @@ color: @text; } pre.editor.editor-colors { - .keyword { + .keyword, .storage.type { color: var(--color-prettylights-syntax-keyword); font-weight: normal; // stylelint-disable-line property-disallowed-list } @@ -680,6 +680,9 @@ .punctuation.definition:not(.string) { color: @text; } + .constant { + color: var(--color-prettylights-syntax-constant); + } } h1, h2 {