v1.8.15: fix library.html broken JS — literal newline in join() call

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