Closed juhamust closed 9 years ago
It's now fixed, but you cannot yet set a custom theme, I have to find a way to give an alternate path, not just a theme name
@juhamust you should now be able to use a custom theme, all you have to do is to conform this directory layout:
+ /my-dashboard
+—+ /themes
+—+ /mine
+— _vars.styl
+— index.styl
Then, you can set theme to mine
in your config.
Great! Based on quick test, seems to work as expected.
Theme is hard coded to
night-blue
: https://github.com/plouc/mozaik/blob/master/gulp/tasks/styl.js#L15While fixing the issue, the support of providing a custom theme could be added as well: In a case the config
theme
variable is not a theme name delivered with Mozaik, it is considered as a relative path to theme folder (based onconfig.js
)?