weDevsOfficial / dokani

The new default theme for Dokan
10 stars 18 forks source link

fix: Dokan dashboard buttons color synchronization issue with dokan color customizer module. #62

Closed MdAsifHossainNadim closed 2 months ago

MdAsifHossainNadim commented 4 months ago

Sync Dashboard Buttons with Dokan Color Customizer module.

Before this enhancement, we had issues with dashboard buttons not syncing with the Dokan Color Customizer module. Now, it is working fine.

Note: Version bump is required to update/fix this issue

Issue Link: #55

Previous this Fix : color-issue-first

After this Fix :

Screenshot 2024-03-15 at 11 08 56 AM
shohag121 commented 4 months ago

Note: Version bump is required to update/fix this issue

@MdAsifHossainNadim Bhai, Would you please explain a little?

MdAsifHossainNadim commented 4 months ago

@shohag121 Vhaiya, When we used the color palette's preset from dokan color customizer modules, the preset's color combination works fine on vendor dashboard navigation & others. But some places like vendor product page button not reflected perfectly when dokani theme activated. Because, we are using important clause with our styles from theme end.

Also, currently, we cached few theme relevant css on dokani_dynamic_css_output key. So, we need to re-genarate this css or use upgrader for impact this fixes. We have a function named dokani_set_dynamic_css_cache in dokani theme for re-generate theme css & it will be triggered if version update.

MdAsifHossainNadim commented 4 months ago

@shashwatahalder01 Vhai, kindly check this pr at your convenience. NB:- We need to remove dokani_dynamic_css_output key (for bast caching or regenerate style first) from options table before starting this testing.