Merge pull request #80 from pmankar/master

Readable GitHub logo
This commit is contained in:
Liyas Thomas
2019-08-28 19:02:03 +05:30
committed by GitHub
2 changed files with 8 additions and 2 deletions

3
.gitignore vendored
View File

@@ -88,3 +88,6 @@ sw.*
# Vim swap files # Vim swap files
*.swp *.swp
# Visual Studio
.vs/

View File

@@ -22,7 +22,7 @@
<nuxt id="main" /> <nuxt id="main" />
<footer> <footer>
<div> <div>
<a href="https://github.com/liyasthomas/postwoman" target="_blank"><img src="~static/icons/github.svg" alt="" style="margin-right: 16px">GitHub</a> <a href="https://github.com/liyasthomas/postwoman" target="_blank"><img src="~static/icons/github.svg" alt="" :style="logoStyle()">GitHub</a>
</div> </div>
<button id="installPWA" @click.prevent="showInstallPrompt()"> <button id="installPWA" @click.prevent="showInstallPrompt()">
Install PWA Install PWA
@@ -120,7 +120,10 @@
// Once the PWA code is initialized, this holds a method // Once the PWA code is initialized, this holds a method
// that can be called to show the user the installation // that can be called to show the user the installation
// prompt. // prompt.
showInstallPrompt: null showInstallPrompt: null,
logoStyle() {
return "margin-right: 16px;" + (this.$store.state.postwoman.settings.THEME_CLASS.includes('light') ? " filter: invert(100%); -webkit-filter: invert(100%);" : '')
}
} }
}, },
beforeMount() { beforeMount() {