v1.8.16: fix index.html broken JS — same literal newline bug in join()

This commit is contained in:
2026-05-28 21:22:23 +00:00
parent aee220aa9b
commit 4705abeceb
6 changed files with 1 additions and 2 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+1 -2
View File
@@ -441,8 +441,7 @@ function applyBrandingColors(p, s, bg, bgImg) {
'.cta-primary::before{background:linear-gradient(90deg,transparent,rgba('+pr+',0.1),transparent)!important}', '.cta-primary::before{background:linear-gradient(90deg,transparent,rgba('+pr+',0.1),transparent)!important}',
// Shadow glow on hover // Shadow glow on hover
'[class*="hover:shadow"]:hover{--tw-shadow-color:rgba('+pr+',0.4)!important}', '[class*="hover:shadow"]:hover{--tw-shadow-color:rgba('+pr+',0.4)!important}',
].join(' ].join('\n');
');
document.head.appendChild(st); document.head.appendChild(st);
document.documentElement.style.setProperty('--primary', p); document.documentElement.style.setProperty('--primary', p);
document.documentElement.style.setProperty('--secondary', s); document.documentElement.style.setProperty('--secondary', s);