Theming difficulties
Issue #124
resolved
We are currently trying to establish theming for our board. The aim is to style all widget headers without having to amend .css files.
Following the documentation we have added
ourwallboard/themes/ourtheme/variables.styl
and enabled the theme via
config/theming.js
module.exports = {
theme: 'ourtheme'
};
So far, we have seen no results. We have also tried to fiddle around with ourwidget.styl files but to no avail.
Could you please advise on the correct use of theming or help out with an example? We have tried to follow the documentation as closely as possible but seem to be stuck. Thanks a lot in advance.
Comments (3)
-
-
Hi @Michael_Weiner, creating a new
ourwallboard/themes/ourtheme/variables.styl
with just$background-color = red
and then making sure
ourwallboard/config/theming.js
is configured to point to it as you stated before should work nicely (I just double checked) -
- changed status to resolved
- Log in to comment
I just copied their default "variables.styl", changed a few colors, and repeated your steps from above. It worked for me. Maybe there's something wrong with your stylus file?