Open KaffeMyers opened 5 years ago
Is there a reason why the css can't be in a local file? Trying to understand.
I tried the following in the script, didn't work:
CSS=$(<my-custom.css)
JS="
document.addEventListener('DOMContentLoaded', function() {
// Insert a style tag into the wrapper view
let s = document.createElement('style');
s.type = 'text/css';
s.innerHTML = `${CSS}`;
document.head.appendChild(s);
});"
Hi, I wanted another slack style, so sloppily amended the script as such:
Maybe something similar can be added to the "official version" to support other custom css styles.