♻️ Refactoring code

This commit is contained in:
Liyas Thomas
2019-11-25 05:44:44 +05:30
parent 0383403cce
commit a17239ca31
6 changed files with 15 additions and 15 deletions

View File

@@ -373,7 +373,7 @@ export default {
// Load theme color data from settings, or use default color.
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;
if (vibrant === null) vibrant = true;
document.documentElement.style.setProperty("--ac-color", color);
document.documentElement.style.setProperty(
"--act-color",