laCour / slack-night-mode

A Stylus style for easy Slack theming
Creative Commons Zero v1.0 Universal
568 stars 386 forks source link

header and input styles are broken by new July 2019 slack update #235

Closed micahstubbs closed 5 years ago

micahstubbs commented 5 years ago

here is a gist with my quick fixes

https://gist.github.com/micahstubbs/e750e5bb8b6adb7b51a961e57660f710

micahstubbs commented 5 years ago

fixes inline

/* ==UserStyle==
2
@name           slack-dark-mode-201907-fixes
3
@namespace      github.com/openstyles/stylus
4
@version        1.0.0
5
@description    slack-dark-mode-201907-fixes
6
@author         @micahstubbs
7
==/UserStyle== */

/* for use with  */
/* Slack Night Mode (Black) by lacour */
/* https://userstyles.org/styles/117475/slack-night-mode-black */
@-moz-document regexp("https://[^./]*\\.slack\\.com/(?!pricing)(?!security).*") {
  .p-classic_nav__model_header {
    /*body dark gray*/
    background: #000;
    opacity: 0.86;
  }

  .p-classic_nav__right_header {
    /*body dark gray*/
    background: #000;
    opacity: 0.86;
  }

  .p-workspace__primary_view_footer {
    /*body dark gray*/
    background: #000;
    opacity: 0.86;
  }

  .p-classic_nav__team_header {
    /*sidebar medium gray*/
    background: #363636;
  }

  .p-workspace__input .p-message_input_field {
    /*sidebar light gray*/
    background: #363636;
    border-color: #545454;
  }

  .c-virtual_list .c-virtual_list--scrollbar .c-scrollbar .c-scrollbar--hidden {
    /*sidebar light gray*/
    background: #363636;
    border-color: #545454;
  }

  .c-scrollbar__hider {
    /*sidebar light gray*/
    background: #363636;
    border-color: #545454;
  }

  .p-workspace__secondary_view {
    border-color: #545454;
  }

  .p-workspace__primary_view_footer {
    border-color: #545454;
  }
}
micahstubbs commented 5 years ago

would love to see someone pick this up and send a PR to fix it. may do this myself later on.

ccope commented 5 years ago

That definitely helps. I think the right panel and All Threads views are the only things left to fix.

mastermel commented 5 years ago

I think we've got some style fixes merged now to the theme's scss, we just need to perform a build & release, which I've pinged @laCour about :)

mastermel commented 5 years ago

Should be fixed in the latest userstyles update! Please open additional issues if there are other specific things broken