From 993b5f95f92e44b49c77338eb34ab20d65b3e620 Mon Sep 17 00:00:00 2001 From: Shaban Kamel Date: Tue, 17 Sep 2024 15:01:53 +0300 Subject: [PATCH] Solara --- .../doctor/schema/platform/shared/theme.json | 122 +++++++++++++++++- 1 file changed, 121 insertions(+), 1 deletion(-) diff --git a/solara/lib/core/doctor/schema/platform/shared/theme.json b/solara/lib/core/doctor/schema/platform/shared/theme.json index 5ab0e33..70636e8 100644 --- a/solara/lib/core/doctor/schema/platform/shared/theme.json +++ b/solara/lib/core/doctor/schema/platform/shared/theme.json @@ -5,9 +5,129 @@ "type": "object", "properties": {}, "required": [] + }, + "typography": { + "type": "object", + "properties": { + "fontFamily": { + "type": "object", + "properties": { + "regular": { + "type": "string" + }, + "medium": { + "type": "string" + }, + "bold": { + "type": "string" + } + }, + "required": [ + "regular", + "medium", + "bold" + ] + }, + "fontSize": { + "type": "object", + "properties": { + "small": { + "type": "number" + }, + "medium": { + "type": "number" + }, + "large": { + "type": "number" + }, + "extraLarge": { + "type": "number" + } + }, + "required": [ + "small", + "medium", + "large", + "extraLarge" + ] + } + }, + "required": [ + "fontFamily", + "fontSize" + ] + }, + "spacing": { + "type": "object", + "properties": { + "small": { + "type": "number" + }, + "medium": { + "type": "number" + }, + "large": { + "type": "number" + }, + "extraLarge": { + "type": "number" + } + }, + "required": [ + "small", + "medium", + "large", + "extraLarge" + ] + }, + "borderRadius": { + "type": "object", + "properties": { + "small": { + "type": "number" + }, + "medium": { + "type": "number" + }, + "large": { + "type": "number" + } + }, + "required": [ + "small", + "medium", + "large" + ] + }, + "elevation": { + "type": "object", + "properties": { + "none": { + "type": "number" + }, + "low": { + "type": "number" + }, + "medium": { + "type": "number" + }, + "high": { + "type": "number" + } + }, + "required": [ + "none", + "low", + "medium", + "high" + ] } }, "required": [ - "colors" + "colors", + "typography", + "spacing", + "borderRadius", + "elevation" ] } \ No newline at end of file