Skip to content

Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia

:lipstick: Fixed default accent color

Liyas Thomas0aec1e16079a
diff --git a/assets/css/themes.scss b/assets/css/themes.scss
index 5a9c5410f..b8f11e888 100644
--- a/assets/css/themes.scss
+++ b/assets/css/themes.scss
@@ -37,7 +37,7 @@
--err-color: invert(#393939, 1);
// Active color
- --ac-color: #51FF0D;
+ --ac-color: #50fa7b;
// Active text color
--act-color: #121212;
}
diff --git a/layouts/default.vue b/layouts/default.vue
index 97deea4b4..c05719a00 100644
--- a/layouts/default.vue
+++ b/layouts/default.vue
@@ -158,7 +158,7 @@
// Apply theme from settings.
document.documentElement.className = this.$store.state.postwoman.settings.THEME_CLASS || '';
// 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;
if (vibrant == null) vibrant = true;
document.documentElement.style.setProperty('--ac-color', color);
diff --git a/pages/index.vue b/pages/index.vue
index f5f6feadc..c32e3d541 100644
--- a/pages/index.vue
+++ b/pages/index.vue
@@ -32,7 +32,7 @@
</button>
</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">
<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" />
@@ -469,7 +469,7 @@
})
}
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(')}).then(function(response) {\n')
requestString.push(' response.status\n')
diff --git a/static/icons/logo.svg b/static/icons/logo.svg
index 602a001e1..e31f9d5c2 100644
--- a/static/icons/logo.svg
+++ b/static/icons/logo.svg
@@ -59,4 +59,4 @@
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"
inkscape:connector-curvature="0"
- style="fill:#51ff0d" /></g></g></g></svg>
\ No newline at end of file
+ style="fill:#50fa7b" /></g></g></g></svg>
\ No newline at end of file