solara/lib/core/doctor/schema/platform/shared/theme.json in solara-0.2.0 vs solara/lib/core/doctor/schema/platform/shared/theme.json in solara-0.2.1
- old
+ new
@@ -1,48 +1,133 @@
{
"type": "object",
"properties": {
"colors": {
"type": "object",
- "properties": {
- },
+ "properties": {},
"required": []
},
"typography": {
"type": "object",
"properties": {
"fontFamily": {
"type": "object",
"properties": {
+ "regular": {
+ "type": "string"
+ },
+ "medium": {
+ "type": "string"
+ },
+ "bold": {
+ "type": "string"
+ }
},
- "required": []
+ "required": [
+ "regular",
+ "medium",
+ "bold"
+ ]
},
"fontSize": {
"type": "object",
"properties": {
+ "small": {
+ "type": "number"
+ },
+ "medium": {
+ "type": "number"
+ },
+ "large": {
+ "type": "number"
+ },
+ "extraLarge": {
+ "type": "number"
+ }
},
- "required": []
+ "required": [
+ "small",
+ "medium",
+ "large",
+ "extraLarge"
+ ]
}
},
- "required": ["fontFamily", "fontSize"]
+ "required": [
+ "fontFamily",
+ "fontSize"
+ ]
},
"spacing": {
"type": "object",
"properties": {
+ "small": {
+ "type": "number"
+ },
+ "medium": {
+ "type": "number"
+ },
+ "large": {
+ "type": "number"
+ },
+ "extraLarge": {
+ "type": "number"
+ }
},
- "required": []
+ "required": [
+ "small",
+ "medium",
+ "large",
+ "extraLarge"
+ ]
},
"borderRadius": {
"type": "object",
"properties": {
+ "small": {
+ "type": "number"
+ },
+ "medium": {
+ "type": "number"
+ },
+ "large": {
+ "type": "number"
+ }
},
- "required": []
+ "required": [
+ "small",
+ "medium",
+ "large"
+ ]
},
"elevation": {
"type": "object",
"properties": {
+ "none": {
+ "type": "number"
+ },
+ "low": {
+ "type": "number"
+ },
+ "medium": {
+ "type": "number"
+ },
+ "high": {
+ "type": "number"
+ }
},
- "required": []
+ "required": [
+ "none",
+ "low",
+ "medium",
+ "high"
+ ]
}
},
- "required": ["colors", "typography", "spacing", "borderRadius", "elevation"]
+ "required": [
+ "colors",
+ "typography",
+ "spacing",
+ "borderRadius",
+ "elevation"
+ ]
}
\ No newline at end of file