• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

LanikSJ/slack-dark-mode: Slack Dark Mode for macOS Desktop

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

LanikSJ/slack-dark-mode

开源软件地址(OpenSource Url):

https://github.com/LanikSJ/slack-dark-mode

开源编程语言(OpenSource Language):

CSS 95.3%

开源软件介绍(OpenSource Introduction):

Slack Desktop Dark Mode

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

As of this writing Slack Supports Dark Mode Natively #258

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

MIT License

Donate

Patreon




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
osxfuse/fuse: C-based FUSE for macOS SDK发布时间:2022-08-18
下一篇:
wzdnzd/ShadowsocksX-NG-R: ShadowsocksX-NG-R: Shadowsocks(R) Client for MacOS发布时间:2022-08-18
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap