theme: default # 'default' or one of the theme available in 'src/assets/themes'.
# Optional custom stylesheet
-# Will load a custom CSS file. Especially useful for custom icon sets.
-# stylesheet: "assets/custom.css"
+# Will load custom CSS files. Especially useful for custom icon sets.
+# stylesheet:
+# - "assets/custom.css"
# Here is the exaustive list of customization parameters
# However all value are optional and will fallback to default if not set.
this.services = this.config.services;
document.title = `${this.config.title} | ${this.config.subtitle}`;
if (this.config.stylesheet) {
- this.createStylesheet(`@import "${this.config.stylesheet}";`);
+ let stylesheet = '';
+ for (const file of this.config.stylesheet) {
+ stylesheet += `@import "${file}";`;
+ }
+ this.createStylesheet(stylesheet);
}
},
methods: {