From 59afc580a07fdf41d33764dea23fee8d40b66091 Mon Sep 17 00:00:00 2001 From: Lanik Date: Thu, 22 Aug 2019 16:19:04 -0700 Subject: [PATCH] Add Another Heading to Docs (#170) * Add Another Heading to Docs * Fix Heading Name * Update SNAP Linux Command * Add Light Mode to Windows Instructions --- README.md | 20 ++++++++++++++++---- docs/index.md | 22 +++++++++++++++++----- 2 files changed, 33 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 0f2bc7d..dce6835 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,8 @@ - [Update CSS Only (SNAP)](#update-css-only--snap-) - [Revert to Light Mode (SNAP)](#revert-to-light-mode--snap-) - [For Windows Users](#for-windows-users) + - [Update CSS Only (Windows)](#update-css-only--windows-) + - [Revert to Light Mode (Windows)](#revert-to-light-mode--windows-) - [Attributions](#attributions) - [Bugs](#bugs) - [License](#license) @@ -98,7 +100,7 @@ Note: This script will automatically kill Slack when the `-u` flag is not used t #### Revert to Light Mode (SNAP) ```bash -./snap-slack-dark-mode.sh -light +./snap-slack-dark-mode.sh -l ``` ### For Windows Users @@ -107,9 +109,19 @@ Open Powershell in Admin mode: Note: This script will automatically kill Slack each time you update. ```powershell -PS ~/> .\slack-dark-mode.ps1 -# or to update CSS only: -PS ~/> .\slack-dark-mode.ps1 -UpdateOnly +.\slack-dark-mode.ps1 +``` + +#### Update CSS Only (Windows) + +```powershell +.\slack-dark-mode.ps1 -UpdateOnly +``` + +#### Revert to Light Mode (Windows) + +```powershell +.\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. diff --git a/docs/index.md b/docs/index.md index 8ca5ceb..cffb01c 100644 --- a/docs/index.md +++ b/docs/index.md @@ -18,6 +18,8 @@ title: Slack Dark Mode - [Update CSS Only (SNAP)](#update-css-only--snap-) - [Revert to Light Mode (SNAP)](#revert-to-light-mode--snap-) - [For Windows Users](#for-windows-users) + - [Update CSS Only (Windows)](#update-css-only--windows-) + - [Revert to Light Mode (Windows)](#revert-to-light-mode--windows-) - [Attributions](#attributions) - [Bugs](#bugs) - [License](#license) @@ -97,18 +99,28 @@ Note: This script will automatically kill Slack when the `-u` flag is not used t #### Revert to Light Mode (SNAP) ```bash -./snap-slack-dark-mode.sh -light +./snap-slack-dark-mode.sh -l ``` ### For Windows Users -Open Powershell in Admin mode: +Open Powershell in Admin mode: Note: This script will automatically kill Slack each time you update. ```powershell -PS ~/> .\slack-dark-mode.ps1 -# or to update CSS only: -PS ~/> .\slack-dark-mode.ps1 -UpdateOnly +.\slack-dark-mode.ps1 +``` + +#### Update CSS Only (Windows) + +```powershell +.\slack-dark-mode.ps1 -UpdateOnly +``` + +#### Revert to Light Mode (Windows) + +```powershell +.\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.