parent
8390d59280
commit
8a2c18299c
1 changed files with 2 additions and 4 deletions
|
@ -94,16 +94,14 @@ in stdenv.mkDerivation {
|
|||
--replace /usr/share/ $out/share/
|
||||
'' + stdenv.lib.optionalString (theme != null) ''
|
||||
cat <<EOF >> $out/lib/slack/resources/app.asar.unpacked/src/static/ssb-interop.js
|
||||
var fs = require('fs');
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
let tt__customCss = ".menu ul li a:not(.inline_menu_link) {color: #fff !important;}"
|
||||
$.ajax({
|
||||
url: '${theme}/theme.css',
|
||||
success: function(css) {
|
||||
fs.readFile('${theme}/theme.css', 'utf8', function(err, css) {
|
||||
\$("<style></style>").appendTo('head').html(css + tt__customCss);
|
||||
\$("<style></style>").appendTo('head').html('#reply_container.upload_in_threads .inline_message_input_container {background: padding-box #545454}');
|
||||
\$("<style></style>").appendTo('head').html('.p-channel_sidebar {background: #363636 !important}');
|
||||
\$("<style></style>").appendTo('head').html('#client_body:not(.onboarding):not(.feature_global_nav_layout):before {background: inherit;}');
|
||||
}
|
||||
});
|
||||
});
|
||||
EOF
|
||||
|
|
Loading…
Reference in a new issue