Allow customization of main Buefy CSS styles, for falafel theme

This commit is contained in:
Lance Edgar 2021-02-11 15:57:18 -06:00
parent a23eb3f32d
commit 1420a33649

View file

@ -153,8 +153,14 @@
</%def> </%def>
<%def name="buefy_styles()"> <%def name="buefy_styles()">
## Buefy 0.7.4 <% buefy_css = request.rattail_config.get('tailbone', 'theme.falafel.buefy_css') %>
${h.stylesheet_link('https://unpkg.com/buefy@0.7.4/dist/buefy.min.css')} % if buefy_css:
## custom Buefy CSS
${h.stylesheet_link(buefy_css)}
% else:
## Buefy 0.7.4
${h.stylesheet_link('https://unpkg.com/buefy@0.7.4/dist/buefy.min.css')}
% endif
</%def> </%def>
## TODO: this is only being referenced by the progress template i think? ## TODO: this is only being referenced by the progress template i think?