Allowing multiple wallpapers to be bundled together and selected by the user will allow more flexibility and requires less downloads for different versions of essentially the same mod with different backgrounds.
Implementation?
In the wallpaper section of manifest.json make dark and light arrays
A name may be specified with the additional wallpaper with an extra name entry.
If there is no name provided the name can default to the file name (dark2 for example).
In the mods tab there could be a dropdown menu that allows for the user to specify the light and dark mode wallpapers.
If the first wallpaper is not named it will be named to "default".
In my example I only gave 1 light mode wallpaper so there would be no dropdown for it.
Allowing multiple wallpapers to be bundled together and selected by the user will allow more flexibility and requires less downloads for different versions of essentially the same mod with different backgrounds.
Implementation?
In the wallpaper section of manifest.json make dark and light arrays
Manifest.json
A name may be specified with the additional wallpaper with an extra name entry. If there is no name provided the name can default to the file name (dark2 for example).
In the mods tab there could be a dropdown menu that allows for the user to specify the light and dark mode wallpapers. If the first wallpaper is not named it will be named to "default".
In my example I only gave 1 light mode wallpaper so there would be no dropdown for it.