diff --git a/AUTHORS.md b/AUTHORS.md
index 13bb67b91..691b5d7ee 100644
--- a/AUTHORS.md
+++ b/AUTHORS.md
@@ -113,6 +113,7 @@ date of first contribution):
* [Ben Yarmis](https://github.com/byarmis)
* [Florian Heilmann](https://github.com/FHeilmann)
* [Ludovico de Nittis](https://github.com/RyuzakiKK)
+ * [Dominik Paľo](https://github.com/DominikPalo)
OctoPrint started off as a fork of [Cura](https://github.com/daid/Cura) by
[Daid Braam](https://github.com/daid). Parts of its communication layer and
diff --git a/src/octoprint/static/js/app/viewmodels/appearance.js b/src/octoprint/static/js/app/viewmodels/appearance.js
index 81282ba78..7ec05996a 100644
--- a/src/octoprint/static/js/app/viewmodels/appearance.js
+++ b/src/octoprint/static/js/app/viewmodels/appearance.js
@@ -112,6 +112,30 @@ $(function() {
else
return gettext("OctoPrint");
});
+
+ self.theme_color = ko.pureComputed(function() {
+ switch (self.color()) {
+ case "red":
+ return "#bb645f";
+ case "orange":
+ return "#e39665";
+ case "yellow":
+ return "#e3d765;";
+ case "green":
+ return "#98f064";
+ case "blue":
+ return "#2e63cc";
+ case "violet":
+ return "#9864f0";
+ case "black":
+ return "#4f4f4f";
+ case "white":
+ return "#e9e9e9";
+ case "default":
+ default:
+ return "#ebebeb";
+ }
+ });
}
OCTOPRINT_VIEWMODELS.push({
diff --git a/src/octoprint/templates/index.jinja2 b/src/octoprint/templates/index.jinja2
index 198692723..721365b89 100644
--- a/src/octoprint/templates/index.jinja2
+++ b/src/octoprint/templates/index.jinja2
@@ -11,6 +11,7 @@
+
{% include 'stylesheets.jinja2' %}
{% include 'initscript.jinja2' %}