💄 Fixed default accent color

This commit is contained in:
Liyas Thomas
2019-09-04 09:44:16 +05:30
parent 077cb583b6
commit 0aec1e1607
4 changed files with 5 additions and 5 deletions

View File

@@ -37,7 +37,7 @@
--err-color: invert(#393939, 1); --err-color: invert(#393939, 1);
// Active color // Active color
--ac-color: #51FF0D; --ac-color: #50fa7b;
// Active text color // Active text color
--act-color: #121212; --act-color: #121212;
} }

View File

@@ -158,7 +158,7 @@
// Apply theme from settings. // Apply theme from settings.
document.documentElement.className = this.$store.state.postwoman.settings.THEME_CLASS || ''; document.documentElement.className = this.$store.state.postwoman.settings.THEME_CLASS || '';
// Load theme color data from settings, or use default color. // Load theme color data from settings, or use default color.
let color = this.$store.state.postwoman.settings.THEME_COLOR || '#51FF0D'; let color = this.$store.state.postwoman.settings.THEME_COLOR || '#50fa7b';
let vibrant = this.$store.state.postwoman.settings.THEME_COLOR_VIBRANT; let vibrant = this.$store.state.postwoman.settings.THEME_COLOR_VIBRANT;
if (vibrant == null) vibrant = true; if (vibrant == null) vibrant = true;
document.documentElement.style.setProperty('--ac-color', color); document.documentElement.style.setProperty('--ac-color', color);

View File

@@ -32,7 +32,7 @@
</button> </button>
</li> </li>
<li> <li>
<label for="code">&nbsp;</label> <label class="hide-on-small-screen" for="code">&nbsp;</label>
<button class="icon" id="code" name="code" v-on:click="isHidden = !isHidden" :disabled="!isValidURL"> <button class="icon" id="code" name="code" v-on:click="isHidden = !isHidden" :disabled="!isValidURL">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path d="M24 10.935v2.131l-8 3.947v-2.23l5.64-2.783-5.64-2.79v-2.223l8 3.948zm-16 3.848l-5.64-2.783 5.64-2.79v-2.223l-8 3.948v2.131l8 3.947v-2.23zm7.047-10.783h-2.078l-4.011 16h2.073l4.016-16z" /> <path d="M24 10.935v2.131l-8 3.947v-2.23l5.64-2.783-5.64-2.79v-2.223l8 3.948zm-16 3.848l-5.64-2.783 5.64-2.79v-2.223l-8 3.948v2.131l8 3.947v-2.23zm7.047-10.783h-2.078l-4.011 16h2.073l4.016-16z" />
@@ -469,7 +469,7 @@
}) })
} }
headers = headers.join('').slice(0, -3); headers = headers.join('').slice(0, -3);
requestString.push(' headers: {\n' + headers +'\n },\n') requestString.push(' headers: {\n' + headers + '\n },\n')
requestString.push(' credentials: "same-origin"\n') requestString.push(' credentials: "same-origin"\n')
requestString.push(')}).then(function(response) {\n') requestString.push(')}).then(function(response) {\n')
requestString.push(' response.status\n') requestString.push(' response.status\n')

View File

@@ -59,4 +59,4 @@
data-original="#121212" data-original="#121212"
d="M 64.601,236.822 C 64.601,394.256 192.786,612 306.001,612 412.582,612 547.4,394.256 547.4,236.822 547.4,79.388 439.322,0 306,0 172.678,0 64.601,79.388 64.601,236.822 Z m 304.12,116.415 c 29.475,-29.475 70.598,-40.195 108.552,-32.173 8.021,37.954 -2.698,79.077 -32.173,108.552 -29.475,29.475 -70.598,40.195 -108.552,32.173 -8.022,-37.955 2.698,-79.078 32.173,-108.552 z M 134.727,321.063 c 37.954,-8.021 79.077,2.698 108.552,32.173 29.475,29.475 40.195,70.598 32.173,108.552 -37.954,8.021 -79.077,-2.698 -108.552,-32.173 -29.475,-29.476 -40.194,-70.598 -32.173,-108.552 z" d="M 64.601,236.822 C 64.601,394.256 192.786,612 306.001,612 412.582,612 547.4,394.256 547.4,236.822 547.4,79.388 439.322,0 306,0 172.678,0 64.601,79.388 64.601,236.822 Z m 304.12,116.415 c 29.475,-29.475 70.598,-40.195 108.552,-32.173 8.021,37.954 -2.698,79.077 -32.173,108.552 -29.475,29.475 -70.598,40.195 -108.552,32.173 -8.022,-37.955 2.698,-79.078 32.173,-108.552 z M 134.727,321.063 c 37.954,-8.021 79.077,2.698 108.552,32.173 29.475,29.475 40.195,70.598 32.173,108.552 -37.954,8.021 -79.077,-2.698 -108.552,-32.173 -29.475,-29.476 -40.194,-70.598 -32.173,-108.552 z"
inkscape:connector-curvature="0" inkscape:connector-curvature="0"
style="fill:#51ff0d" /></g></g></g></svg> style="fill:#50fa7b" /></g></g></g></svg>

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB