GithubHelp home page GithubHelp logo

krazyito65 / slack-dark-mode Goto Github PK

View Code? Open in Web Editor NEW

This project forked from laniksj/slack-dark-mode

0.0 1.0 0.0 495 KB

Slack Dark Mode for macOS Mojave and Beyond

Home Page: https://laniksj.github.io/slack-dark-mode/

License: GNU General Public License v3.0

PowerShell 1.88% JavaScript 0.37% Shell 2.41% CSS 95.34%

slack-dark-mode's Introduction

Slack Desktop Dark Mode

Build Status Dependabot Status Known Vulnerabilities

Purpose

Store scripts and Style sheets for Slack Desktop Dark Mode.
Native Dark Mode in Slack isn't available as of this writing.

The following platforms are supported in this repo via scripts:

Screenshot

Screenshot

Notice

Due to the changes in Slack 4.0+ this project will not be compatible with Slack Version 3.4 or below.
If you're looking for 3.4.x compatible settings please refer to this.

Usage

Codacy Badge codecov

In general, you should completely close out of Slack before or after you run the install scripts. This will ensure that everything is properly updated. Once the script has been run the first time, if you ever need to update the CSS styles, you can simply use ctrl + r or cmd + r in macOS to reload Slack and update the CSS, if the scripts below do not automatically close Slack for you.

For All Systems/OS

First, clone the repository

git clone https://github.com/LanikSJ/slack-dark-mode
cd slack-dark-mode

Then shutdown Slack and please reference for your operating system:

For macOS and Linux

./slack-dark-mode.sh

Update CSS Only

./slack-dark-mode.sh -u

Revert to Light Mode

./slack-dark-mode.sh -l

For Linux SNAP

Since snap is a 'read-only' file system, we have to mount the changes. The script automatically insert a new crontab so it will persist through reboots. Since the way SNAPS work are different, we can easily revert to light mode as well with the script. Note: This script will automatically kill Slack when the -u flag is not used to ensure the mount is not busy.

./snap-slack-dark-mode.sh

Update CSS Only (SNAP)

./snap-slack-dark-mode.sh -u

Revert to Light Mode (SNAP)

./snap-slack-dark-mode.sh -l

For Windows Users

Open Powershell in Admin mode:
Note: This script will automatically kill Slack each time you update.

.\slack-dark-mode.ps1

Update CSS Only (Windows)

.\slack-dark-mode.ps1 -UpdateOnly

Revert to Light Mode (Windows)

.\slack-dark-mode.ps1 -LightMode

If you want to make your own tweaks to the css, you can create a file called custom-dark-theme.css in the root of the repository, which will be appended to the end of the main css so you can easily keep your changes through updates of the repo.

Dark Mode Toggle

If you want to toggle Dark Mode on or off you can use Ctrl + L (lower case) on any OS.

Attributions

Some scripts were "borrowed" from mmrko Gist
Šī¸ All rights reserved by the original authors.

Bugs

Please report any bugs or issues you find. Thanks!

License

GPLv3 License

Donate

Patreon PayPal

slack-dark-mode's People

Contributors

babylonzeus avatar brejendra-amex avatar dependabot-preview[bot] avatar dependabot-support avatar dependabot[bot] avatar dhruvasagar avatar feymartynov avatar imgbot[bot] avatar jlucier avatar krazyito65 avatar laniksj avatar mikepenz avatar mortalflesh avatar mruhlin avatar nlowe avatar starefossen avatar zweih avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤ī¸ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.