Skip to content

Commit

Permalink
fix: use provided theme.css (#3057)
Browse files Browse the repository at this point in the history
Co-authored-by: lemieux <Berthier.lemieux@eatech.fi>
  • Loading branch information
blelem and lemieux authored Jan 3, 2022
1 parent 3f160c5 commit 61619f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion panel/template/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,7 @@ def _template_resources(self):
if (BUNDLE_DIR / name / basename).is_file():
css_files['theme'] = dist_path + f'bundled/{name}/{basename}'
else:
with open(theme.base_css, encoding='utf-8') as f:
with open(theme.css, encoding='utf-8') as f:
raw_css.append(f.read())

return {
Expand Down

0 comments on commit 61619f6

Please sign in to comment.