Custom themes and games
How to custom themes and games
info
Games are located in the github.com/amethystnetwork-dev/Incognito-gfiles repo, you need to git clone
(or fork) it and link it.
Add Games
More games can be added to Incognito by editing gs.json in a format, displayed in this example:
{
"img": "./source/img/gs/game.jpg",
"location": "./source/gameloc/",
"category": "Category",
"title": "Game Title"
},
img
images are only located in Incognito-gfiles/static/gs/
.
Category should be set for the game you are adding
It can be set to:
- multi
- web
- indie
- n64
- gfn
You can also add
"featured": true
to make a entry featured.
Working example:
{
"img": "./source/img/gs/flappybird.jpg",
"location": "./source/flappybird/",
"category": "web",
"title": "Flappy Bird"
},
Add Themes
To add a theme, first open the file in static/css/appearance.css