@@ -45,7 +45,7 @@ protected function generatePrimaryVariables(string $colorMainBackground, string
4545 '--color-primary-text ' => $ this ->util ->invertTextColor ($ this ->primaryColor ) ? '#000000 ' : '#ffffff ' ,
4646 '--color-primary-hover ' => $ this ->util ->mix ($ this ->primaryColor , $ colorMainBackground , 60 ),
4747 '--color-primary-light ' => $ colorPrimaryLight ,
48- '--color-primary-light-text ' => $ this ->primaryColor ,
48+ '--color-primary-light-text ' => $ this ->util -> mix ( $ colorPrimaryLight , $ this -> util -> invertTextColor ( $ colorPrimaryLight ) ? ' #000000 ' : ' #ffffff ' , - 20 ) ,
4949 '--color-primary-light-hover ' => $ this ->util ->mix ($ colorPrimaryLight , $ colorMainText , 90 ),
5050 '--color-primary-text-dark ' => $ this ->util ->darken ($ this ->util ->invertTextColor ($ this ->primaryColor ) ? '#000000 ' : '#ffffff ' , 7 ),
5151
@@ -54,7 +54,7 @@ protected function generatePrimaryVariables(string $colorMainBackground, string
5454 '--color-primary-element-text ' => $ this ->util ->invertTextColor ($ colorPrimaryElement ) ? '#000000 ' : '#ffffff ' ,
5555 '--color-primary-element-hover ' => $ this ->util ->mix ($ colorPrimaryElement , $ colorMainBackground , 60 ),
5656 '--color-primary-element-light ' => $ colorPrimaryElementLight ,
57- '--color-primary-element-light-text ' => $ colorPrimaryElement ,
57+ '--color-primary-element-light-text ' => $ this -> util -> mix ( $ colorPrimaryElementLight , $ this -> util -> invertTextColor ( $ colorPrimaryElementLight ) ? ' #000000 ' : ' #ffffff ' , - 20 ) ,
5858 '--color-primary-element-light-hover ' => $ this ->util ->mix ($ colorPrimaryElementLight , $ colorMainText , 90 ),
5959 '--color-primary-element-text-dark ' => $ this ->util ->darken ($ this ->util ->invertTextColor ($ colorPrimaryElement ) ? '#000000 ' : '#ffffff ' , 7 ),
6060
0 commit comments