khmyznikov/pwa-install

style customization support

mengxi-ream opened this issue · 1 comments

The shadow might be too much for white background of the webpage.

My website is always with white background no matter in dark or light system mode. The CSS style of the PWA install button in both light and dark modes has excessive shadows, giving the website a fraudulent appearance.

I've tried to put this in my global.css

#pwa-install-element .install-dialog{
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.3)) !important;
}

but it can't really change the css style. can I ask what should I do?

This is related to this issue: #16
Need to add part element to template to be able to assign custom style. If you can try to do a PR for this, I can help.