♻️ Refactoring code

This commit is contained in:
Liyas Thomas
2020-01-10 06:27:48 +05:30
parent bf1a143f03
commit 57f7621567
4 changed files with 106 additions and 80 deletions

View File

@@ -549,8 +549,8 @@ export default {
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 || "#50fa7b";
let vibrant = this.$store.state.postwoman.settings.THEME_COLOR_VIBRANT;
if (vibrant == null) vibrant = true;
let vibrant =
this.$store.state.postwoman.settings.THEME_COLOR_VIBRANT || true;
document.documentElement.style.setProperty("--ac-color", color);
document.documentElement.style.setProperty(
"--act-color",