function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
muneeswar umuneeswar u 

When using a lightning component in global action button ,component background color is changing

When I am using any lightning component in global action button ,component background color is changing.Is there any solution to overcome this.
can anyone please help me.Thankyou for ur help.
Thankyou,
muneeswarUser-added image​​​​​​​
Best Answer chosen by muneeswar u
Khan AnasKhan Anas (Salesforce Developers) 
Hi Muneeswar,

Greetings to you!

This is working as designed. However, you can use CSS to change the background color (it may break between releases due to CSS class changes). Please refer to the below link which might help you further with the above requirement.

https://salesforce.stackexchange.com/questions/217553/lightning-quickaction-background-color-change

I hope it helps you.

Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future. It will help to keep this community clean.

Thanks and Regards,
Khan Anas

All Answers

Khan AnasKhan Anas (Salesforce Developers) 
Hi Muneeswar,

Greetings to you!

This is working as designed. However, you can use CSS to change the background color (it may break between releases due to CSS class changes). Please refer to the below link which might help you further with the above requirement.

https://salesforce.stackexchange.com/questions/217553/lightning-quickaction-background-color-change

I hope it helps you.

Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future. It will help to keep this community clean.

Thanks and Regards,
Khan Anas
This was selected as the best answer
muneeswar umuneeswar u
Thankyou Anas