EqualMa / gitpkg

use a sub directory of a github repo as yarn / npm dependency directly
https://gitpkg.vercel.app
324 stars 18 forks source link

fix: sw update popup style #9

Closed Unbinilium closed 4 years ago

Unbinilium commented 4 years ago

The default SW-Update Popup looks weird with the pink color of gitpkg theme, like this:

IMB_h4REJJ

So I tried to to customize SW-Update Popup’s appearance to fit the default theme of gitpkg by adding ServiceWorkerPopup.vue. The border and button color define by $accentColor and uses hover animation related to index.styl, final result(large gif):

IMB_WqRtsw

Maybe I should commit a issue instead of a pr, I’m new to front-end and nervous about my code quality. Anyway, you could try it better.

vercel[bot] commented 4 years ago

This pull request is being automatically deployed with ZEIT Now (learn more). To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://zeit.co/andii/gitpkg/d1bl176px ✅ Preview: https://gitpkg-git-fork-unbinilium-master.andii.now.sh

EqualMa commented 4 years ago

Thanks! It's great!