From a75bc350d5c7116765225ee17f6f965ce2a6a5c8 Mon Sep 17 00:00:00 2001 From: Wan Qi Chen <495709+wa0x6e@users.noreply.github.com> Date: Tue, 4 Feb 2025 02:13:10 +0400 Subject: [PATCH] feat: add skin colors to space settings --- src/schemas/space.json | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/src/schemas/space.json b/src/schemas/space.json index b9f65124e..013595898 100644 --- a/src/schemas/space.json +++ b/src/schemas/space.json @@ -475,6 +475,47 @@ }, "required": ["enabled", "bribeEnabled"], "additionalProperties": false + }, + "colors": { + "type": "object", + "properties": { + "bg_color": { + "type": "string", + "format": "color" + }, + "link_color": { + "type": "string", + "format": "color" + }, + "text_color": { + "type": "string", + "format": "color" + }, + "content_color": { + "type": "string", + "format": "color" + }, + "border_color" : { + "type": "string", + "format": "color" + }, + "heading_color" : { + "type": "string", + "format": "color" + }, + "primary_color": { + "type": "string", + "format": "color" + }, + "header_color": { + "type": "string", + "format": "color" + }, + "theme": { + "type": "string", + "enum": ["light", "dark"] + } + } } }, "required": ["name", "network", "strategies"],