From 7b60dc087a87b3233a91d52cac6f1c5e914fb850 Mon Sep 17 00:00:00 2001
From: uncenter <47499684+uncenter@users.noreply.github.com>
Date: Wed, 17 Apr 2024 20:39:28 -0400
Subject: [PATCH] fix(pypi): misc (#821)
all thanks to uncenter
---
styles/pypi/catppuccin.user.css | 29 +++++++++++++++++++++++++++--
1 file changed, 27 insertions(+), 2 deletions(-)
diff --git a/styles/pypi/catppuccin.user.css b/styles/pypi/catppuccin.user.css
index 1ebfec9f..2404f6b0 100644
--- a/styles/pypi/catppuccin.user.css
+++ b/styles/pypi/catppuccin.user.css
@@ -2,7 +2,7 @@
@name PyPI Catppuccin
@namespace github.com/catppuccin/userstyles/styles/pypi
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/pypi
-@version 0.0.3
+@version 0.0.4
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/pypi/catppuccin.user.css
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Apypi
@description Soothing pastel theme for PyPI
@@ -90,6 +90,7 @@
::selection {
background-color: fade(@accent-color, 30%);
+ color: unset;
}
input,
@@ -339,6 +340,9 @@
.search-form__search {
background-color: @surface0 !important;
}
+ .search-form__button {
+ color: @subtext0;
+ }
.button {
border-color: @subtext0 !important;
@@ -930,6 +934,27 @@
}
}
+ .filter-badge {
+ background-color: @accent-color;
+
+ &,
+ .filter-badge__remove-button,
+ .filter-badge__icon {
+ color: @crust;
+ }
+ .filter-badge__remove-button {
+ border-left-color: if(
+ @lookup = latte,
+ lighten(@accent-color, 10%),
+ darken(@accent-color, 5%)
+ );
+
+ &:hover {
+ background-color: darken(@accent-color, 10%);
+ }
+ }
+ }
+
@media (min-width: 801px) {
.package-snippet,
.package-snippet:hover {
@@ -965,7 +990,7 @@
.release__node[src*="blue"] {
@svg: escape(
- ''
+ ''
);
content: url("data:image/svg+xml,@{svg}");
background-color: @mantle !important;