Skip to content

Commit d36e85f

Browse files
authored
feat: add skin colors to space settings (#1119)
* feat: add skin colors to space settings * fix: rename property to skinfParams * fix: rename to skinSettings to follow hub naming * feat: add logo to skin params (#1120)
1 parent 71ab0b4 commit d36e85f

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed

src/schemas/space.json

+48
Original file line numberDiff line numberDiff line change
@@ -474,6 +474,54 @@
474474
},
475475
"required": ["enabled", "bribeEnabled"],
476476
"additionalProperties": false
477+
},
478+
"skinSettings": {
479+
"type": "object",
480+
"properties": {
481+
"bg_color": {
482+
"type": "string",
483+
"format": "color"
484+
},
485+
"link_color": {
486+
"type": "string",
487+
"format": "color"
488+
},
489+
"text_color": {
490+
"type": "string",
491+
"format": "color"
492+
},
493+
"content_color": {
494+
"type": "string",
495+
"format": "color"
496+
},
497+
"border_color" : {
498+
"type": "string",
499+
"format": "color"
500+
},
501+
"heading_color" : {
502+
"type": "string",
503+
"format": "color"
504+
},
505+
"primary_color": {
506+
"type": "string",
507+
"format": "color"
508+
},
509+
"header_color": {
510+
"type": "string",
511+
"format": "color"
512+
},
513+
"theme": {
514+
"type": "string",
515+
"enum": ["light", "dark"]
516+
},
517+
"logo": {
518+
"type": "string",
519+
"title": "logo",
520+
"format": "customUrl",
521+
"maxLength": 256
522+
}
523+
},
524+
"additionalProperties": false
477525
}
478526
},
479527
"required": ["name", "network", "strategies"],

0 commit comments

Comments
 (0)