@@ -56,8 +56,9 @@ public function getCSSVariables(): array {
5656 $ colorMainBackgroundRGB = join (', ' , $ this ->util ->hexToRGB ($ colorMainBackground ));
5757 $ colorBoxShadow = $ this ->util ->darken ($ colorMainBackground , 70 );
5858 $ colorBoxShadowRGB = join (', ' , $ this ->util ->hexToRGB ($ colorBoxShadow ));
59+ $ colorPrimaryLight = $ this ->util ->mix ($ this ->primaryColor , $ colorMainBackground , -80 );
5960
60- return array_merge ($ defaultVariables , [
61+ return array_merge ($ defaultVariables , [
6162 '--color-main-text ' => $ colorMainText ,
6263 '--color-main-background ' => $ colorMainBackground ,
6364 '--color-main-background-rgb ' => $ colorMainBackgroundRGB ,
@@ -70,7 +71,8 @@ public function getCSSVariables(): array {
7071 '--color-placeholder-dark ' => $ this ->util ->lighten ($ colorMainBackground , 20 ),
7172
7273 '--color-primary-hover ' => $ this ->util ->mix ($ this ->primaryColor , $ colorMainBackground , 60 ),
73- '--color-primary-light ' => $ this ->util ->mix ($ this ->primaryColor , $ colorMainBackground , -80 ),
74+ '--color-primary-light ' => $ colorPrimaryLight ,
75+ '--color-primary-light-hover ' => $ this ->util ->mix ($ colorPrimaryLight , $ colorMainText , 90 ),
7476 '--color-primary-element ' => $ this ->util ->elementColor ($ this ->primaryColor , false ),
7577 '--color-primary-element-hover ' => $ this ->util ->mix ($ this ->util ->elementColor ($ this ->primaryColor , false ), $ colorMainBackground , 80 ),
7678 '--color-primary-element-light ' => $ this ->util ->lighten ($ this ->util ->elementColor ($ this ->primaryColor , false ), 15 ),
0 commit comments