@@ -60,10 +60,10 @@ public function getCSSVariables(): array {
6060 $ colorBoxShadow = $ this ->util ->darken ($ colorMainBackground , 70 );
6161 $ colorBoxShadowRGB = join (', ' , $ this ->util ->hexToRGB ($ colorBoxShadow ));
6262
63- $ colorError = '#ee312b ' ;
64- $ colorWarning = '#c28900 ' ;
65- $ colorSuccess = '#36914e ' ;
66- $ colorInfo = '#007bbd ' ;
63+ $ colorError = '#FF5252 ' ;
64+ $ colorWarning = '#FFCC00 ' ;
65+ $ colorSuccess = '#50BB50 ' ;
66+ $ colorInfo = '#00AEFF ' ;
6767
6868 return array_merge (
6969 $ defaultVariables ,
@@ -72,6 +72,7 @@ public function getCSSVariables(): array {
7272 '--color-main-text ' => $ colorMainText ,
7373 '--color-main-background ' => $ colorMainBackground ,
7474 '--color-main-background-rgb ' => $ colorMainBackgroundRGB ,
75+ '--color-main-background-blur ' => 'rgba(var(--color-main-background-rgb), .85) ' ,
7576
7677 '--color-scrollbar ' => $ this ->util ->lighten ($ colorMainBackground , 15 ),
7778
@@ -84,26 +85,26 @@ public function getCSSVariables(): array {
8485
8586 '--color-text-maxcontrast ' => $ colorTextMaxcontrast ,
8687 '--color-text-maxcontrast-default ' => $ colorTextMaxcontrast ,
87- '--color-text-maxcontrast-background-blur ' => $ this ->util ->lighten ($ colorTextMaxcontrast , 2 ),
88+ '--color-text-maxcontrast-background-blur ' => $ this ->util ->lighten ($ colorTextMaxcontrast , 6 ),
8889 '--color-text-light ' => 'var(--color-main-text) ' , // deprecated
8990 '--color-text-lighter ' => 'var(--color-text-maxcontrast) ' , // deprecated
9091
9192 '--color-error ' => $ colorError ,
9293 '--color-error-rgb ' => join (', ' , $ this ->util ->hexToRGB ($ colorError )),
93- '--color-error-hover ' => $ this ->util ->mix ($ colorError , $ colorMainBackground , 85 ),
94- '--color-error-text ' => $ this ->util ->lighten ($ colorError , 12 ),
94+ '--color-error-hover ' => $ this ->util ->lighten ($ colorError , 10 ),
95+ '--color-error-text ' => $ this ->util ->lighten ($ colorError , 10 ),
9596 '--color-warning ' => $ colorWarning ,
9697 '--color-warning-rgb ' => join (', ' , $ this ->util ->hexToRGB ($ colorWarning )),
97- '--color-warning-hover ' => $ this ->util ->mix ($ colorWarning , $ colorMainBackground , 60 ),
98+ '--color-warning-hover ' => $ this ->util ->lighten ($ colorWarning , 10 ),
9899 '--color-warning-text ' => $ colorWarning ,
99100 '--color-success ' => $ colorSuccess ,
100101 '--color-success-rgb ' => join (', ' , $ this ->util ->hexToRGB ($ colorSuccess )),
101- '--color-success-hover ' => $ this ->util ->mix ($ colorSuccess , $ colorMainBackground , 85 ),
102- '--color-success-text ' => $ this -> util -> lighten ( $ colorSuccess, 6 ) ,
102+ '--color-success-hover ' => $ this ->util ->lighten ($ colorSuccess , 10 ),
103+ '--color-success-text ' => $ colorSuccess ,
103104 '--color-info ' => $ colorInfo ,
104105 '--color-info-rgb ' => join (', ' , $ this ->util ->hexToRGB ($ colorInfo )),
105- '--color-info-hover ' => $ this ->util ->mix ($ colorInfo , $ colorMainBackground , 85 ),
106- '--color-info-text ' => $ this -> util -> lighten ( $ colorInfo, 9 ) ,
106+ '--color-info-hover ' => $ this ->util ->lighten ($ colorInfo , 10 ),
107+ '--color-info-text ' => $ colorInfo ,
107108
108109 // used for the icon loading animation
109110 '--color-loading-light ' => '#777 ' ,
0 commit comments