Commit a833bb84 authored by nwindis's avatar nwindis
Browse files

SET project specific colors

parent ae90a892
Pipeline #154251 failed with stages
in 2 minutes and 1 second
......@@ -306,9 +306,12 @@ export default {
this.init();
// TODO: check if colors are defined in index.template.html, if not, use colors from quasar.conf.js
colors.setBrand('primary', this.config.colors.primary);
colors.setBrand('secondary', this.config.colors.secondary);
colors.setBrand('accent', this.config.colors.accent);
// console.log(this.config.colors.primary);
if (this.config.colors.primary !== 'false') {
colors.setBrand('primary', this.config.colors.primary);
colors.setBrand('secondary', this.config.colors.secondary);
colors.setBrand('accent', this.config.colors.accent);
}
this.$q.dark.set('auto');
......
......@@ -36,7 +36,7 @@
},
"standalone": true,
"colors": {
"primary": "black",
"primary": false,
"secondary": "papayawhip",
"accent": "darkred"
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment