Update How to force Pi to use light/dark theme
26
How-to-force-Pi-to-use-light%2Fdark-theme.md
Normal file
26
How-to-force-Pi-to-use-light%2Fdark-theme.md
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
# *NIX systems
|
||||||
|
|
||||||
|
Simply run Pi with the `FYNE_THEME` environment variable to `light`. Like so:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
FYNE_THEME=light pi-im
|
||||||
|
```
|
||||||
|
|
||||||
|
You can also do the same for a dark theme:
|
||||||
|
```bash
|
||||||
|
FYNE_THEME=dark pi-im
|
||||||
|
```
|
||||||
|
|
||||||
|
# Windows
|
||||||
|
Windows follows the exact same layout but with different commands.
|
||||||
|
## Command Prompt
|
||||||
|
```batch
|
||||||
|
set FYNE_THEME=light
|
||||||
|
pi-im.exe
|
||||||
|
```
|
||||||
|
|
||||||
|
```batch
|
||||||
|
set FYNE_THEME=dark
|
||||||
|
pi-im.exe
|
||||||
|
```
|
||||||
|
|
@@ -1,10 +0,0 @@
|
|||||||
Simply run Pi with the `FYNE_THEME` environment variable to `light`. Like so:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
FYNE_THEME=light pi-im
|
|
||||||
```
|
|
||||||
|
|
||||||
You can also do the same for a dark theme:
|
|
||||||
```bash
|
|
||||||
FYNE_THEME=dark pi-im
|
|
||||||
```
|
|
Reference in New Issue
Block a user