Skip to content

Commit

Permalink
Solara
Browse files Browse the repository at this point in the history
  • Loading branch information
IdeaS0ft committed Sep 17, 2024
1 parent 72fdbba commit 993b5f9
Showing 1 changed file with 121 additions and 1 deletion.
122 changes: 121 additions & 1 deletion solara/lib/core/doctor/schema/platform/shared/theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
}

0 comments on commit 993b5f9

Please sign in to comment.