From f990baf1eb56dcbe09b4239ac3e820ddd88e1a9a Mon Sep 17 00:00:00 2001 From: uncenter <47499684+uncenter@users.noreply.github.com> Date: Sun, 15 Sep 2024 09:28:07 -0400 Subject: [PATCH] fix(npm): misc (#1310) --- styles/npm/catppuccin.user.css | 46 +++++++++++++++++++++++++++------- 1 file changed, 37 insertions(+), 9 deletions(-) diff --git a/styles/npm/catppuccin.user.css b/styles/npm/catppuccin.user.css index 5b1ba763..c6a536d3 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.10 +@version 0.0.11 @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 @@ -91,9 +91,15 @@ --color-fg-danger: @red; --color-border-strong: @surface0; + --header-color: @text; + /* Used on deprecation confirmation page */ + --wombat-red: @maroon; + --wombat-red-hover: @red; + &, main { background-color: @base !important; + color: @text; } /* Primary background */ @@ -109,13 +115,9 @@ } /* Primary text */ - ._99e3854f, .black, .black-90, .black-80, - ._0b9b6c57, - ._1b8c0a9f, - p, a { color: @text; } @@ -123,12 +125,10 @@ /* Secondary text */ .black-70, .black-60, - .cd2827bb a { + .dim:focus, + .dim:hover { color: @subtext0; } - ._66c2abad { - color: @overlay0; - } /* Inverse text */ .white { @@ -260,6 +260,10 @@ /* Username */ h2 { border-bottom-color: @surface1; + + span { + color: @text; + } } /* Navigation options */ @@ -366,6 +370,22 @@ } /* --- PACKAGE PAGES --- */ + + /* Deprecation warning */ + .bg-washed-red { + background-color: fade( + @red, + 30% + ); + + code { + background-color: @mantle; + color: @text; + } + } + .red { + color: @red !important; + } /* "public" text */ ._813b53b2 { @@ -735,6 +755,11 @@ color: @text; } + /* Settings */ + div[role="listitem"], div[role="radiogroup"] { + background: @base + } + /* --- PROFILE PAGES --- */ .eaac77a6 { @@ -1159,6 +1184,9 @@ /* --- FOOTER --- */ footer { + h3 { + color: @text; + } a[href="https://github.com/npm"] svg { > polygon {