8000 GitHub - adeebahmed/slack-night-mode: A Stylus style for easy Slack theming · GitHub
[go: up one dir, main page]

Skip to content

About

A Stylus style for easy Slack theming

Resources

Contributing

Stars

0 stars

Watchers

1 watching

Forks

 
 

Repository files navigation

Quick guide - dark mode

On mac:
vi /Applications/Slack.app/Contents/Resources/app.asar.unpacked/src/static/ssb-interop.js

If you trust me, append this ajax call to the css for dark theme:

// Dark theme
document.addEventListener('DOMContentLoaded', function() {
 $.ajax({
   url: 'https://raw.githubusercontent.com/adeebahmed/slack-night-mode/master/css/raw/black.css',
   success: function(css) {
     $("<style></style>").appendTo('head').html(css);
   }
 });
});

If you don't trust me: (recommended)

  1. Fork this repo
  2. Add {YOUR-URL} where it says "url:"
  3. {YOUR-URL} will probably look something like: https://raw.githubusercontent.com/{YOUR-GITHUB-USERNAME}/slack-night-mode/master/css/raw/black.css
// Dark theme
document.addEventListener('DOMContentLoaded', function() {
 $.ajax({
   url: '{YOUR-URL}',
   success: function(css) {
     $("<style></style>").appendTo('head').html(css);
   }
 });
});

Kill the slack app, then reopen it.
Your slack will now look like this:

Black Screenshot

Below this line is the readme from the main repo

###########################################################################################################################

Slack Night Mode

A user style for easy Slack theming. CC0.

Reviewed by Hound

Usage

Browser

This theme requires that you use a user styles extension for your browser, such as Stylus (available for Firefox, Chrome, and Opera).

Desktop App

No official support. Workarounds exist.

🛑 READ FIRST: Most workarounds will request the compiled CSS file from this repository. You are strongly discouraged from using a remote CSS file. It's recommended that you create your own copy. An XSS attack could put your Slack client at risk.

Chat on Gitter (previous discussion)

Themes

Supported

Black (source - build - install)

The pr 71CE imary supported theme. This is an excellent theme if you use a program like f.lux or redshift.

Black Screenshot

Aubergine (source - build - install)

This is based on Slack's aubergine/maroon style. It's the original theme.

Aubergine Screenshot

Variants

Extensions

Variants can have extensions which add additional changes.

Monospaced (source)

Replaces the messaging font stack with a monospace font stack.

About

A Stylus style for easy Slack theming

Resources

Contributing

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages

0