Skip to content

Commit

Permalink
fix: white thread textfield
Browse files Browse the repository at this point in the history
  • Loading branch information
mykeels committed Feb 21, 2019
1 parent 39f3f24 commit 64562d5
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions slack-theme
Original file line number Diff line number Diff line change
Expand Up @@ -263,12 +263,22 @@ then
exit 1
fi

if [ -z "$OVERRIDE_CSS" ]
then
OVERRIDE_CSS=".menu ul li a:not(.inline_menu_link) {color: #fff !important;}
.p-threads_footer__input .p-message_input_field {background: #545454; border-color: #363636; color: #e6e6e6;}
.p-threads_footer__input .p-message_input_file_button:not(:hover) { border-color: #363636; }
.p-threads_footer__input .p-message_input_file_button { background-color: #363636 !important; }
"
fi

NODE_SCRIPT="
document.addEventListener('DOMContentLoaded', function() {
const css = \`$CSS_CONTENT\`
const overrides = \`
code { background-color: #535353; color: #85c5ff; } /* Change color: to whatever font color you want */
.c-mrkdwn__pre, .c-mrkdwn__quote { background: #535353 !important; background-color: #535353 !important; }
$OVERRIDE_CSS
\`
\$('<style></style>').appendTo('head').text(css + overrides);
});
Expand Down

0 comments on commit 64562d5

Please sign in to comment.