diff --git a/inline-script.js b/inline-script.js index 0229c744..68bb3a60 100644 --- a/inline-script.js +++ b/inline-script.js @@ -1,6 +1,7 @@ // For perf reasons, this script is run inline to quickly set certain styles. // To allow CSP to work correctly, we also calculate a sha256 hash during // the build process and write it to inline-script-checksum.json. +// TODO: these should not have to be defined twice, once here and again in themes.js window.__themeColors = { 'default': 'royalblue', scarlet: '#e04e41', diff --git a/routes/_pages/settings/instances/[instanceName].html b/routes/_pages/settings/instances/[instanceName].html index 353cb167..61b3a1f6 100644 --- a/routes/_pages/settings/instances/[instanceName].html +++ b/routes/_pages/settings/instances/[instanceName].html @@ -17,14 +17,25 @@