TT#164702 Branding - CSS customization for CSC-UI v2

Change-Id: I9088220b2f1e4c2e24a22782529c5e6c7411c24a
pull/11/head
Hans-Peter Herzog 4 years ago
parent 76abadf5aa
commit 1746a7f8b7

@ -520,6 +520,13 @@ export default {
if (secondaryColor) {
colors.setBrand('secondary', secondaryColor)
}
let customCss = document.getElementById('csc-custom-css')
if (!customCss && this.resellerBranding?.css) {
customCss = document.createElement('style')
customCss.id = 'csc-custom-css'
customCss.textContent = this.resellerBranding.css
document.body.appendChild(customCss)
}
},
async showQrDialog () {
await this.fetchAuthToken()

Loading…
Cancel
Save