2021-04-21 08:29:02 +02:00
|
|
|
# DarkMode
|
2021-04-21 08:53:23 +02:00
|
|
|
|
|
|
|
The easiest way to set dark/light theme or switch between of those
|
|
|
|
|
|
|
|
## Prerequisites:
|
|
|
|
- Windows operating system
|
|
|
|
- PowerShell 5.0 or later
|
2021-04-21 08:54:46 +02:00
|
|
|
|
2021-04-21 08:53:23 +02:00
|
|
|
# License
|
|
|
|
Creative Commons (CC BY 4.0)
|
|
|
|
|
|
|
|
# Usage:
|
|
|
|
```
|
|
|
|
DarkMode.ps1 [status|dark|light|toggle]
|
|
|
|
#(without the optional switches, the toggle command will be performed)
|
|
|
|
```
|
|
|
|
|
|
|
|
## Examples
|
|
|
|
```
|
|
|
|
# Check status
|
|
|
|
PS S:\> .\DarkMode.ps1 status
|
|
|
|
Light theme
|
|
|
|
|
|
|
|
# Toggle (switch between light and dark)
|
|
|
|
PS S:\> .\DarkMode.ps1 toggle
|
|
|
|
# Or without arguments:
|
|
|
|
PS S:\> .\DarkMode.ps1
|
|
|
|
|
|
|
|
# Set dark theme
|
|
|
|
PS S:\> .\DarkMode.ps1 dark
|
|
|
|
|
|
|
|
|
|
|
|
# Set light theme
|
|
|
|
PS S:\> .\DarkMode.ps1 light
|
|
|
|
```
|