Stack Wallet theme selector server so the app doesn't have to have all themes on it
sneurlax
5adcaf73be
update themes.json and fix inconsistent eCash key (all using eCash now) we should make a theme tool that extracts all archives into their own subdirectories, manages updating version numbers, displays the list of coins, the themes, and their images, and allows you to drag-and-drop files (if necessary ... or why not just automate that?) to ship new coin updates to all the theme servers update: no we shouldn't, but there are some scripts available on the scripts branch for next time. |
||
---|---|---|
.github/workflows | ||
data | ||
scripts | ||
src | ||
.gitignore | ||
LICENSE | ||
package-lock.json | ||
package.json | ||
README.md | ||
tsconfig.json |
Stack-Theme-Selector-Server
This is the repository for the Stack Theme Selector Server. This server is used to provide the theme selector for the Stack Wallet.
Creating a theme (WIP)
- Theme id must be unique
- Theme zip file name must be the theme id
- The themes.json file must be updated with (at least) the theme id and the sha256 hash of the zip file
- The
previewImageUrl
should point to an image located in data/previews - The preview image should match the preview image in the theme zip file
- See the current Model for minimum theme requirements (subject to change)
Editing a theme
- Extract zip of theme and make any changes
- Create new archive
- Update themes.json file