Add support for background color app setting

This commit is contained in:
Lance Edgar 2019-02-03 14:40:21 -06:00
parent 2f048b45c9
commit 05bb8a2df0
3 changed files with 10 additions and 1 deletions

View file

@ -11,6 +11,12 @@
${base_meta.favicon()}
${self.header_core()}
% if background_color:
<style type="text/css">
body { background-color: ${background_color}; }
</style>
% endif
% if not request.rattail_config.production():
<style type="text/css">
body { background-image: url(${request.static_url('tailbone:static/img/testing.png')}); }