v1.8.15: fix library.html broken JS — literal newline in join() call
This commit is contained in:
+1
-2
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user