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
+66 -49
+66 -49
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,54 +68,71 @@
color: @subtext0 !important; color: @subtext0 !important;
} }
} }
* {
--color-base: @text; --text-color: @text;
--color-bg: @crust; --color-base: @text;
--color-ad-raised: @surface2; --color-bg: @crust;
--color-ad: @surface1; --color-ad-raised: @surface2;
--color-ad-highlight: @teal; --color-ad: @surface1;
--color-brand: @accent-color; --color-ad-highlight: @teal;
--color-brand-green: @green; --color-brand: @accent-color;
--color-button-bg-active: @overlay0; --color-brand-green: @green;
--color-button-bg-hover: @surface1; --color-button-bg-active: @overlay0;
--color-button-bg: @surface0; --color-button-bg-hover: @surface1;
--color-button-text-hover: @text; --color-button-bg: @surface0;
--color-button-text: @subtext1; --color-button-text-hover: @text;
--color-divider: @surface0; --color-button-text: @subtext1;
--color-heading: @text; --color-button-text-active: @text;
--color-icon: @text; --color-divider: @surface0;
--color-link-active: @teal; --color-heading: @text;
--color-link-hover: @sky; --color-icon: @text;
--color-link: @sapphire; --color-link-active: @teal;
--color-raised-bg: @base; --color-link-hover: @sky;
--color-blue: @sapphire; --color-link: @sapphire;
--color-special-blue: @sapphire; --color-raised-bg: @base;
--color-orange: @peach; --color-blue: @sapphire;
--color-special-orange: @peach; --color-special-blue: @sapphire;
--color-purple: @mauve; --color-orange: @peach;
--color-special-purple: @mauve; --color-special-orange: @peach;
--color-red: @red; --color-purple: @mauve;
--color-gray: @subtext0; --color-special-purple: @mauve;
--color-special-gray: @subtext0; --color-red: @red;
--color-green: @green; --color-gray: @subtext0;
--color-text: @subtext1; --color-special-gray: @subtext0;
--color-text-dark: @text; --color-green: @green;
--color-text-inactive: @overlay1; --color-text: @subtext1;
--color-brand-highlight: @surface0; --color-text-dark: @text;
--color-brand-inverted: @shadow; --color-text-inactive: @overlay1;
--color-table-alternate-row: @crust; --color-brand-highlight: @surface0;
--color-table-border: @overlay0; --color-brand-inverted: @shadow;
--color-contrast: @text; --color-table-alternate-row: @crust;
--color-accent-contrast: @mantle; --color-table-border: @overlay0;
--color-brand-shadow: @accent-color; --color-contrast: @text;
--color-warning-banner-side: @red; --color-accent-contrast: @mantle;
--color-warning-banner-bg: fade(@red, 10%); --color-brand-shadow: @accent-color;
--color-warning-banner-text: @text; --color-warning-banner-side: @red;
--landing-green-label: @accent-color; --color-warning-banner-bg: fade(@red, 10%);
--landing-green-label-bg: fade(@accent-color, 10%); --color-warning-banner-text: @text;
--landing-blue-label: @blue; --landing-green-label: @accent-color;
--landing-blue-label-bg: fade(@blue, 10%); --landing-green-label-bg: fade(@accent-color, 10%);
--landing-blue-label: @blue;
--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 {