Skip to content

Commit 131467b

Browse files
authored
fix(modrinth): update variables and fix outline (catppuccin#467)
1 parent 03f4179 commit 131467b

1 file changed

Lines changed: 24 additions & 6 deletions

File tree

styles/modrinth/catppuccin.user.css

Lines changed: 24 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
@name Modrinth Catppuccin
33
@namespace github.com/catppuccin/userstyles/styles/modrinth
44
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/modrinth
5-
@version 1.1.2
5+
@version 1.2.0
66
@description Soothing pastel theme for Modrinth
77
@author Catppuccin
88
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/modrinth/catppuccin.user.css
@@ -62,32 +62,50 @@
6262
@shadow: @catppuccin[@@lookup][@shadow];
6363
@accent-Color: @catppuccin[@@lookup][@@accent];
6464

65+
--color-base: @text;
6566
--color-bg: @crust;
6667
--color-ad-raised: @surface2;
6768
--color-ad: @surface1;
6869
--color-brand-green: @accent-Color;
6970
--color-button-bg-active: @overlay0;
70-
--color-button-bg-hover: @surface2;
71-
--color-button-bg: @surface1;
71+
--color-button-bg-hover: @surface1;
72+
--color-button-bg: @surface0;
7273
--color-button-text-hover: @text;
7374
--color-button-text: @subtext1;
7475
--color-divider: @surface0;
75-
--color-heading: @yellow;
76+
--color-heading: @text;
7677
--color-icon: @text;
7778
--color-link-active: @teal;
7879
--color-link-hover: @sky;
7980
--color-link: @sapphire;
8081
--color-raised-bg: @base;
82+
--color-blue: @sapphire;
8183
--color-special-blue: @sapphire;
84+
--color-orange: @peach;
8285
--color-special-orange: @peach;
86+
--color-purple: @mauve;
8387
--color-special-purple: @mauve;
84-
--color-special-red: @red;
88+
--color-red: @red;
89+
--color-special-gray: @subtext0;
90+
--color-green: @green;
8591
--color-text: @subtext1;
92+
--color-text-dark: @text;
8693
--color-text-inactive: @overlay1;
94+
--color-brand-highlight: @surface0;
8795
--color-brand-inverted: @shadow;
88-
--color-text-dark: @text;
8996
--color-table-alternate-row: @crust;
9097
--color-table-border: @overlay0;
98+
--color-contrast: @text;
99+
--color-brand-shadow: @accent-Color;
100+
--color-warning-banner-side: @red;
101+
--color-warning-banner-bg: fade(@red, 10%);
102+
--color-warning-banner-text: @text;
103+
104+
[tabindex="0"]:focus-visible,
105+
a:focus-visible,
106+
button:focus-visible {
107+
outline-color: @accent-Color;
108+
}
91109

92110
.BDVE3s9MFQttmbMUeYup-2 a b,
93111
.BDVE3s9MFQttmbMUeYup-2 a strong {

0 commit comments

Comments
 (0)