Skip to content
This repository has been archived by the owner on Mar 25, 2023. It is now read-only.

Commit

Permalink
Add Another Heading to Docs (#170)
Browse files Browse the repository at this point in the history
* Add Another Heading to Docs

* Fix Heading Name

* Update SNAP Linux Command

* Add Light Mode to Windows Instructions
  • Loading branch information
LanikSJ committed Aug 22, 2019
1 parent 4b8b77b commit 59afc58
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 9 deletions.
20 changes: 16 additions & 4 deletions README.md
Expand Up @@ -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)
Expand Down Expand Up @@ -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
Expand All @@ -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.
Expand Down
22 changes: 17 additions & 5 deletions docs/index.md
Expand Up @@ -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)
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 59afc58

Please sign in to comment.