fix(modrinth): add theming for new ui (#1230)

* fix(modrinth): add theming for new ui

* chore: remove duplicate "--color-button-bg"
This commit is contained in:
Tnixc authored and GitHub committed 2024-08-23 14:02:01 +01:00
1 parent cdee7e2065
commit b55330c94a
1 file changed
+20 -3
+20 -3
View File
@@ -2,7 +2,7 @@
@name Modrinth Catppuccin @name Modrinth Catppuccin
@namespace github.com/catppuccin/userstyles/styles/modrinth @namespace github.com/catppuccin/userstyles/styles/modrinth
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/modrinth @homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/modrinth
@version 1.2.6 @version 1.2.7
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/modrinth/catppuccin.user.css @updateURL https://github.com/catppuccin/userstyles/raw/main/styles/modrinth/catppuccin.user.css
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Amodrinth @supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Amodrinth
@description Soothing pastel theme for Modrinth @description Soothing pastel theme for Modrinth
@@ -68,7 +68,8 @@
color: @subtext0 !important; color: @subtext0 !important;
} }
} }
* {
--text-color: @text;
--color-base: @text; --color-base: @text;
--color-bg: @crust; --color-bg: @crust;
--color-ad-raised: @surface2; --color-ad-raised: @surface2;
@@ -81,6 +82,7 @@
--color-button-bg: @surface0; --color-button-bg: @surface0;
--color-button-text-hover: @text; --color-button-text-hover: @text;
--color-button-text: @subtext1; --color-button-text: @subtext1;
--color-button-text-active: @text;
--color-divider: @surface0; --color-divider: @surface0;
--color-heading: @text; --color-heading: @text;
--color-icon: @text; --color-icon: @text;
@@ -115,7 +117,22 @@
--landing-green-label-bg: fade(@accent-color, 10%); --landing-green-label-bg: fade(@accent-color, 10%);
--landing-blue-label: @blue; --landing-blue-label: @blue;
--landing-blue-label-bg: fade(@blue, 10%); --landing-blue-label-bg: fade(@blue, 10%);
--color-platform-fabric: @pink;
--color-platform-quilt: @mauve;
--color-platform-forge: @blue;
--color-platform-neoforge: @peach;
--color-platform-liteloader: @sky;
--color-platform-bukkit: @peach;
--color-platform-bungeecord: @yellow;
--color-platform-folia: @green;
--color-platform-paper: @red;
--color-platform-purpur: @lavender;
--color-platform-spigot: @yellow;
--color-platform-velocity: @teal;
--color-platform-waterfall: @blue;
--color-platform-sponge: @yellow;
--color-button-border: fade(@crust, 20%);
}
// homepage // homepage
.blob-demonstration, .blob-demonstration,
.blob-demonstration::after { .blob-demonstration::after {