v1.8.16: fix index.html broken JS — same literal newline bug in join()
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+1
-2
@@ -441,8 +441,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