Merge pull request #3 from cypherstack/staging

Staging
This commit is contained in:
Diego Salazar 2023-05-12 11:05:24 -06:00 committed by GitHub
commit 719337897b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 38 additions and 24 deletions

View File

@ -1,3 +1,17 @@
# 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.
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](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

View File

@ -3,64 +3,64 @@
{
"name": "Chan",
"id": "chan",
"sha256": "b252dc551c292fb70984e05f48758547ffd417185c7eb810d4eae42ae94b7fe3",
"size": "61.8 MB",
"sha256": "52d5ac40dc9754c9fee6a7ce6db1b101810a11bc9f17e4d33020122d0aab5096",
"size": "~62.4 MB",
"previewImageUrl": "https://themes.stackwallet.com/previews/chan-theme.png"
},
{
"name": "Chan Dark",
"id": "dark_chan",
"sha256": "0d599eae5200c02df42e45cfa1bc016f6e2d8a5fa771e54c08a59cb4d1f8d2c3",
"size": "61.8 MB",
"previewImageUrl": "https://themes.stackwallet.com/previews/darkchans-theme.png"
},
{
"name": "Dark",
"id": "dark",
"sha256": "12699563c238b04af9576ffdf6c3e57587fa697faf860f3792fcecd45d3178ac",
"size": "475.8 kB",
"sha256": "5d72cbe6ff085dcaea3412987275cf1ddb1187153c8f0466b95e32dfd01a44d0",
"size": "~528.9 kB",
"previewImageUrl": "https://themes.stackwallet.com/previews/dark-theme.png"
},
{
"name": "Dark Chan",
"id": "dark_chan",
"sha256": "2eb2b4b252fab617f3adcfea1d7c910d20202dc2785d28f114b1fe65cbfeebeb",
"size": "~62.2 MB",
"previewImageUrl": "https://themes.stackwallet.com/previews/darkchans-theme.png"
},
{
"name": "Forest",
"id": "forest",
"sha256": "23c72db0989efe705a77a46d60e60252ae8a49df5b5774896a0f3f6c6fdc3c4f",
"size": "762.7 kB",
"sha256": "57981f8822a6eb9ea0f0bcbc0f7b4cc5c5ed498c5fed90ed2d63d3e8df204b6e",
"size": "~931.6 kB",
"previewImageUrl": "https://themes.stackwallet.com/previews/forest-theme.png"
},
{
"name": "Fruit Sorbet",
"id": "fruit_sorbet",
"sha256": "053b434ab6ba79d2e113aa484eb73e0bc2439c22a62e56d8edf25dd5edc2970c",
"size": "582.9 kB",
"sha256": "306f3bc92c40dee578f5ba533b0f31eff2e4ad8f883fcdf8bf737b4ae1289fdc",
"size": "~705.3 kB",
"previewImageUrl": "https://themes.stackwallet.com/previews/fruit-sorbet.png"
},
{
"name": "Light",
"id": "light",
"sha256": "0e17e6caccf4b0561786f6cd59c94777157ee4570ec7b83a2fc7a3720a291d7f",
"size": "474.9 kB",
"sha256": "fb0c9dcd428bad71286e4a471492b3a0848dd9353135f23c891962c169207bcf",
"size": "~476.8 kB",
"previewImageUrl": ""
},
{
"name": "Ocean Breeze",
"id": "ocean_breeze",
"sha256": "f9e64cf9855d4dd22201b7686ffc68936b500b034527f0d0006f1dbc8f5a6472",
"size": "2.8 MB",
"sha256": "579e253c9ca9155d1cf9b90cef3294bca60c2f64d4fd0b865d5363193e4ec19b",
"size": "~2.9 MB",
"previewImageUrl": "https://themes.stackwallet.com/previews/ocean-breeze.png"
},
{
"name": "OLED Black",
"id": "oled_black",
"sha256": "d6201c3374ca52a0ffeddb5425b5b2f3d6c1c23efe9da17b342061b212fdb0bf",
"size": "476.4 kB",
"sha256": "9c20736399922384bd07f2dcae868434f903bda2d79f62da17f8ceb1ed27f9ea",
"size": "~538.3 kB",
"previewImageUrl": "https://themes.stackwallet.com/previews/orange-dark-theme.png"
},
{
"name": "Orange",
"id": "orange",
"sha256": "0f5d749b2a5285564c2a7f7a1d6b4fbf633144745f16098aeccf5689cccdd38c",
"size": "107.6 kB",
"sha256": "746d074243c9f000e4a136a6efa0112734de9352b6e6529283f842b43ac710c4",
"size": "~169.0 kB",
"previewImageUrl": "https://themes.stackwallet.com/previews/orange-theme.png"
}
]

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.