Skip to content

Commit

Permalink
Merge release/11.1.0-rc into cascading/11.1.0-rc-main
Browse files Browse the repository at this point in the history
  • Loading branch information
otter-cascading[bot] authored Aug 8, 2024
2 parents 82dfc6e + 82e1a7b commit 4d0544a
Showing 1 changed file with 7 additions and 21 deletions.
28 changes: 7 additions & 21 deletions packages/@o3r/design/schemas/design-token.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@
}
},
"extensions": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/otterExtension"
Expand Down Expand Up @@ -190,16 +189,12 @@
}
},
"tokenTypeFontFamily": {
"type": "object",
"required": [
"$type",
"primary"
],
"allOf": [
{
"oneOf": [
{
"type": "object",
"required": ["$value"],
"properties": {
"$value": {
"type": "string"
Expand Down Expand Up @@ -238,6 +233,9 @@
},
{
"type": "object",
"required": [
"$type"
],
"properties": {
"$type": {
"const": "fontFamily",
Expand All @@ -257,9 +255,7 @@
"type": "string",
"pattern": "^.*\\{.*\\}.*$"
},
"$type": {
"not": {}
}
"$type": false
}
},
"tokenTypeDuration": {
Expand Down Expand Up @@ -303,14 +299,7 @@
}
},
"tokenTypeFontWeightValue": {
"oneOf": [
{
"type": "number"
},
{
"type": "string"
}
]
"type": ["string", "number"]
},
"tokenTypeFontWeight": {
"type": "object",
Expand Down Expand Up @@ -599,10 +588,7 @@
"$ref": "#/definitions/tokenTypeFontWeightValue"
},
"lineHeight": {
"oneOf": [
{ "type": "string" },
{ "type": "number" }
]
"type": ["string", "number"]
}
},
"required": [
Expand Down

0 comments on commit 4d0544a

Please sign in to comment.