evanyeung / terminal-slack

Terminal client for slack
MIT License
1.03k stars 78 forks source link

Added support for 16-color and 1-color tty #29

Open peetcamron opened 7 years ago

peetcamron commented 7 years ago

Hi,

I'm building myself a kind of terminal-only laptop and found out that most of the thing in your app wasn't showing in a basic tty because of the 16 color limitation. I added a very basic color theming to the app. I've put all of your colors in a default theme and created some other themes for the color limited tty. I have added the support-colors package to help me to auto-detect the caps of the terminal.

I also have fixed some invalid commas. If you don't want that, just tell me, I'll revert it and just keep the color theming.

Hope you will appreciate!

Thanks

jaythomas commented 7 years ago

@evanyeung you should really tighten the eslint rules on syntax to save some back and forth and keep things the way you like them. For instance, to keep the trailing comma you can add this rule:

"comma-dangle": ["error", "never"]