Files

91 lines
2.3 KiB
JSON

{
"schema": 1,
"id": "pets",
"name": "Pets",
"version": "1.0.0",
"description": "A hamster per conversation, in its colour, that plays what the agent is doing — and a colony on the home page",
"category": "media",
"languages": ["en", "fr"],
"icon": "icon.svg",
"color": "#7a6a94",
"author": "gabrielvidal",
"ui": {
"overlays": [
{
"id": "conversation",
"where": "conversation",
"html": "ui/overlay.html",
"pointer": "hits",
"cursor": true
},
{
"id": "home",
"where": "home",
"html": "ui/overlay.html",
"pointer": "hits",
"cursor": true
}
],
"prefs": [
{
"key": "enabled",
"type": "switch",
"label": "Pets",
"default": true,
"help": "Hamsters on the home page — yours, and one per running conversation in its colour — and one on each conversation page. Tap to pet one, drag to throw it.",
"labels": {
"fr": {
"label": "Animaux",
"help": "Des hamsters sur l'accueil — le tien, et un par conversation en cours à sa couleur — et un sur chaque page de conversation. Touche-en un pour le caresser, fais-le glisser pour le lancer."
}
}
},
{
"key": "size",
"type": "range",
"label": "Size",
"min": 28,
"max": 96,
"step": 2,
"default": 46,
"unit": "px",
"help": "Every hamster's body length.",
"labels": {
"fr": {
"label": "Taille",
"help": "La longueur de chaque hamster."
}
}
},
{
"key": "color",
"type": "color",
"label": "Your hamster",
"default": "#f4b66a",
"swatches": [
"#f4b66a",
"#bdb6b0",
"#fff3e6",
"#9a6a4a",
"#0ea5e9",
"#8b5cf6",
"#f43f5e",
"#10b981"
],
"help": "The fur of your own hamster, the one always on the home page.",
"labels": {
"fr": {
"label": "Ton hamster",
"help": "Le pelage de ton hamster, celui qui est toujours sur l'accueil."
}
}
}
]
},
"managed": {
"defaultForGuests": true,
"allowUserSecretOverride": false,
"metered": false
}
}