fix(pypi): misc (#821)

all thanks to uncenter
This commit is contained in:
uncenter authored and GitHub committed 2024-04-17 20:39:28 -04:00
1 parent d77ba32013
commit 7b60dc087a
1 file changed
+27 -2
+27 -2
View File
@@ -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(
'<svg xmlns="http://www.w3.org/2000/svg" width="33.809" height="32.025" viewBox="0 0 31.696 30.024"><g stroke="@{text}" stroke-linejoin="bevel" stroke-width=".355"><path fill="@{accent-color}" d="m.178 5.912 15.555 5.662L31.519 5.83 15.963.167z"/><path fill="@{accent-color}" d="M15.733 11.574v18.283l15.786-5.746V5.83zM.178 5.912l15.555 5.662v18.283L.178 24.195z"/></g></svg>'
'<svg xmlns="http://www.w3.org/2000/svg" width="33.809" height="32.025" viewBox="0 0 31.696 30.024"><g stroke="@{crust}" stroke-linejoin="bevel" stroke-width=".355"><path fill="@{accent-color}" d="m.178 5.912 15.555 5.662L31.519 5.83 15.963.167z"/><path fill="@{accent-color}" d="M15.733 11.574v18.283l15.786-5.746V5.83zM.178 5.912l15.555 5.662v18.283L.178 24.195z"/></g></svg>'
);
content: url("data:image/svg+xml,@{svg}");
background-color: @mantle !important;