Added Tweet button, updated light theme

This commit is contained in:
Liyas Thomas
2019-09-17 17:04:39 +05:30
parent a5b0626792
commit 1660373153
4 changed files with 12 additions and 9 deletions

View File

@@ -21,7 +21,7 @@ $responsiveWidth: 720px;
::placeholder { ::placeholder {
color: var(--fg-color); color: var(--fg-color);
opacity: 0.2; opacity: 0.3;
} }
* { * {

View File

@@ -25,19 +25,19 @@
} }
:root.light { :root.light {
--bg-dark-color: #e1e4eb; --bg-dark-color: #7a7a7a;
// Background color // Background color
--bg-color: #ebeef5; --bg-color: #fff;
// Auto-complete color // Auto-complete color
--atc-color: #e1e4eb; --atc-color: #ebebeb;
// Text color // Text color
--fg-color: #5d5d5f; --fg-color: #525252;
// Border color // Border color
--brd-color: #ccc; --brd-color: #f2f2f2;
// Error color // Error color
--err-color: invert(#3C4556, 1); --err-color: invert(#303341, 1);
// Active color // Active color
--ac-color: #57b5f9; --ac-color: #57b5f9;
// Active text color // Active text color
--act-color: #ebeef5; --act-color: #fff;
} }

View File

@@ -25,7 +25,7 @@
left: 0; left: 0;
width: 100%; width: 100%;
height: 100%; height: 100%;
background-color: rgba(0, 0, 0, 0.5); background-color: rgba(0, 0, 0, 0.3);
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;

View File

@@ -27,6 +27,9 @@
<div> <div>
<a href="https://github.com/liyasthomas/postwoman" target="_blank" rel="noopener"><img id="imgGitHub" src="~static/icons/github.svg" alt="" :style="logoStyle()">GitHub</a> <a href="https://github.com/liyasthomas/postwoman" target="_blank" rel="noopener"><img id="imgGitHub" src="~static/icons/github.svg" alt="" :style="logoStyle()">GitHub</a>
</div> </div>
<div>
<a href="https://twitter.com/share?ref_src=twsrc%5Etfw" class="twitter-share-button" data-size="large" data-text="👽 Postwoman - API request builder - Helps you create your requests faster, saving you precious time on your development" data-url="https://postwoman.io" data-via="liyasthomas" data-hashtags="postwoman" data-related="liyasthomas" data-show-count="false">Tweet</a><script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
</div>
<button id="installPWA" @click.prevent="showInstallPrompt()"> <button id="installPWA" @click.prevent="showInstallPrompt()">
Install PWA Install PWA
</button> </button>