Skip to content

Commit

Permalink
Fix incorrect fontWeight nesting in v1 file (#4761)
Browse files Browse the repository at this point in the history
* Fix incorrect fontWeight nesting in v1 file

* Structure fixes for switch
  • Loading branch information
taysea authored Feb 4, 2025
1 parent cb9764f commit 2321205
Showing 1 changed file with 62 additions and 36 deletions.
98 changes: 62 additions & 36 deletions design-tokens/tokens/component/component.v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -6899,17 +6899,17 @@
"codeSyntax": {}
}
}
}
},
"fontWeight": {
"$type": "number",
"$value": "{checkbox.default.label.rest.fontWeight}",
"$description": "",
"$extensions": {
"com.figma": {
"hiddenFromPublishing": false,
"scopes": ["FONT_STYLE"],
"codeSyntax": {}
},
"fontWeight": {
"$type": "number",
"$value": "{checkbox.default.label.rest.fontWeight}",
"$description": "",
"$extensions": {
"com.figma": {
"hiddenFromPublishing": false,
"scopes": ["FONT_STYLE"],
"codeSyntax": {}
}
}
}
}
Expand Down Expand Up @@ -7463,17 +7463,17 @@
"codeSyntax": {}
}
}
}
},
"fontWeight": {
"$type": "number",
"$value": "{switch.default.label.rest.fontWeight}",
"$description": "",
"$extensions": {
"com.figma": {
"hiddenFromPublishing": false,
"scopes": ["FONT_STYLE"],
"codeSyntax": {}
},
"fontWeight": {
"$type": "number",
"$value": "{switch.default.label.rest.fontWeight}",
"$description": "",
"$extensions": {
"com.figma": {
"hiddenFromPublishing": false,
"scopes": ["FONT_STYLE"],
"codeSyntax": {}
}
}
}
}
Expand All @@ -7491,17 +7491,43 @@
"codeSyntax": {}
}
}
},
"fontWeight": {
"$type": "number",
"$value": "{switch.default.label.rest.fontWeight}",
"$description": "",
"$extensions": {
"com.figma": {
"hiddenFromPublishing": false,
"scopes": ["FONT_STYLE"],
"codeSyntax": {}
}
}
}
},
"fontWeight": {
"$type": "number",
"$value": "{switch.default.label.rest.fontWeight}",
"$description": "",
"$extensions": {
"com.figma": {
"hiddenFromPublishing": false,
"scopes": ["FONT_STYLE"],
"codeSyntax": {}
"hover": {
"textColor": {
"$type": "color",
"$value": "{switch.default.label.rest.textColor}",
"$description": "",
"$extensions": {
"com.figma": {
"hiddenFromPublishing": false,
"scopes": ["TEXT_FILL"],
"codeSyntax": {}
}
}
},
"fontWeight": {
"$type": "number",
"$value": "{switch.default.label.rest.fontWeight}",
"$description": "",
"$extensions": {
"com.figma": {
"hiddenFromPublishing": false,
"scopes": ["FONT_STYLE"],
"codeSyntax": {}
}
}
}
}
Expand Down Expand Up @@ -10725,7 +10751,7 @@
},
"fontWeight": {
"$type": "number",
"$value": "{fontWeight.medium}",
"$value": "{fontWeight.regular}",
"$description": "",
"$extensions": {
"com.figma": {
Expand All @@ -10751,7 +10777,7 @@
},
"fontWeight": {
"$type": "number",
"$value": "{radiobutton.default.label.rest.fontWeight}",
"$value": "{radioButton.default.label.rest.fontWeight}",
"$description": "",
"$extensions": {
"com.figma": {
Expand All @@ -10778,7 +10804,7 @@
},
"fontWeight": {
"$type": "number",
"$value": "{radiobutton.default.label.rest.fontWeight}",
"$value": "{radioButton.default.label.rest.fontWeight}",
"$description": "",
"$extensions": {
"com.figma": {
Expand Down Expand Up @@ -10806,7 +10832,7 @@
},
"fontWeight": {
"$type": "number",
"$value": "{radiobutton.default.label.rest.fontWeight}",
"$value": "{radioButton.default.label.rest.fontWeight}",
"$description": "",
"$extensions": {
"com.figma": {
Expand All @@ -10832,7 +10858,7 @@
},
"fontWeight": {
"$type": "number",
"$value": "{radiobutton.default.label.rest.fontWeight}",
"$value": "{radioButton.default.label.rest.fontWeight}",
"$description": "",
"$extensions": {
"com.figma": {
Expand Down

0 comments on commit 2321205

Please sign in to comment.