diff --git a/docs/configuration.md b/docs/configuration.md index 22f50fc0e..d1c8e6bb0 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -13,7 +13,7 @@ Title, icons, links, colors, and services can be configured in the `config.yml` title: "App dashboard" subtitle: "Homer" -logo: "assets/homer.png" +logo: "assets/logo.png" # Alternatively a fa icon can be provided: # icon: "fas fa-skull-crossbones" diff --git a/public/assets/custom.css.sample b/public/assets/custom.css.sample index 246575705..00658d728 100644 --- a/public/assets/custom.css.sample +++ b/public/assets/custom.css.sample @@ -2,8 +2,7 @@ /* Custom card colors */ /* Use with `class:` property of services in config.yml */ -body #app .card .green -{ +body #app .card.green { background-color: #006600; color: #00ff00; } diff --git a/src/App.vue b/src/App.vue index 03760fdd3..eb132d09e 100644 --- a/src/App.vue +++ b/src/App.vue @@ -161,7 +161,7 @@ export default { this.services = this.config.services; document.title = `${this.config.title} | ${this.config.subtitle}`; if (this.config.stylesheet) { - let stylesheet = ''; + let stylesheet = ""; for (const file of this.config.stylesheet) { stylesheet += `@import "${file}";`; } @@ -242,8 +242,8 @@ export default { }, }; }, - createStylesheet: function(css) { - let style = document.createElement('style'); + createStylesheet: function (css) { + let style = document.createElement("style"); style.appendChild(document.createTextNode(css)); document.head.appendChild(style); }, diff --git a/src/components/Service.vue b/src/components/Service.vue index 4e35b7dc7..59fdf17e7 100644 --- a/src/components/Service.vue +++ b/src/components/Service.vue @@ -1,11 +1,8 @@