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