Update README.md

add basic edit instructions
This commit is contained in:
julian-CStack 2023-05-12 10:53:10 -06:00 committed by GitHub
parent 10fb7f28a8
commit 1fcc56027f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,9 +4,14 @@ This is the repository for the Stack Theme Selector Server. This server is used
## Creating a theme (WIP)
- theme id must be unique
- theme zip file name must be the theme id
- the [themes.json](data/themes.json) file must be updated with (at least) the theme id and the sha256 hash of the zip file
- Theme id must be unique
- Theme zip file name must be the theme id
- The [themes.json](data/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](data/previews)
- The preview image should match the preview image in the theme zip file
- See the current [Model](https://github.com/cypherstack/stack_wallet/blob/themes/lib/models/isar/stack_theme.dart) for minimum theme requirements (subject to change)
## Editing a theme
- Extract zip of theme and make any changes
- Create new archive
- Update [themes.json](data/themes.json) file