-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add function that swaps two colours.
Swap the black and colour pixels of night weather icons. Add `DARK_MODE` as environment variable. It swaps black and white pixels of the final image. Make weather text scaling and icon positioning based on display height. Make swap colours False by defualt. Fix 02d.png and 02n.png position for small screens. Limit dark mode to weather mode. Change-type: minor Signed-off-by: Genadi Naydenov <[email protected]>
- Loading branch information
1 parent
6018b0c
commit 8507157
Showing
4 changed files
with
46 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.