Skip to content
Merged
26 changes: 21 additions & 5 deletions packages/theme/tokens/border.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,25 +19,40 @@
"$value": { "value": 8, "unit": "px" },
"$description": "Large radius for surfaces"
}
},
"$extensions": {
"com.figma.scopes": [ "CORNER_RADIUS" ]
}
},
"width": {
"surface": {
"xs": {
"$value": { "value": 1, "unit": "px" },
"$description": "Extra small width for surfaces"
"$description": "Extra small width for surfaces",
"$extensions": {
"com.figma.scopes": [ "STROKE_FLOAT" ]
}
},
"sm": {
"$value": { "value": 2, "unit": "px" },
"$description": "Small width for surfaces"
"$description": "Small width for surfaces",
"$extensions": {
"com.figma.scopes": [ "STROKE_FLOAT" ]
}
},
"md": {
"$value": { "value": 4, "unit": "px" },
"$description": "Medium width for surfaces"
"$description": "Medium width for surfaces",
"$extensions": {
"com.figma.scopes": [ "STROKE_FLOAT" ]
}
},
"lg": {
"$value": { "value": 8, "unit": "px" },
"$description": "Large width for surfaces"
"$description": "Large width for surfaces",
"$extensions": {
"com.figma.scopes": [ "STROKE_FLOAT" ]
}
}
},
"interactive": {
Expand All @@ -47,7 +62,8 @@
"$extensions": {
"mode": {
"high-dpi": { "value": 1.5, "unit": "px" }
}
},
"com.figma.scopes": [ "STROKE_FLOAT" ]
}
}
}
Expand Down
9 changes: 9 additions & 0 deletions packages/theme/tokens/color.json
Original file line number Diff line number Diff line change
Expand Up @@ -1319,6 +1319,9 @@
"$value": "{wpds-color.primitive.bg.stroke2}",
"$description": "Background color for thumbs with a brand tone and normal emphasis (eg. slider thumb and filled track), in their disabled state."
}
},
"$extensions": {
"com.figma.scopes": [ "FRAME_FILL", "SHAPE_FILL" ]
}
},
"fg": {
Expand Down Expand Up @@ -1453,6 +1456,9 @@
"$value": "{wpds-color.primitive.bg.fgSurface3}",
"$description": "Foreground color for interactive elements with error tone and strong emphasis, in their disabled state."
}
},
"$extensions": {
"com.figma.scopes": [ "TEXT_FILL", "SHAPE_FILL" ]
}
},
"stroke": {
Expand Down Expand Up @@ -1553,6 +1559,9 @@
"$value": "{wpds-color.primitive.primary.stroke3}",
"$description": "Accessible stroke color applied to focus rings."
}
},
"$extensions": {
"com.figma.scopes": [ "STROKE" ]
}
}
}
Expand Down
33 changes: 22 additions & 11 deletions packages/theme/tokens/dimension.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@
"mode": {
"compact": "{wpds-dimension.primitive.space.10}",
"comfortable": "{wpds-dimension.primitive.space.20}"
}
},
"com.figma.scopes": [ "GAP" ]
}
},
"xs": {
Expand All @@ -68,7 +69,8 @@
"mode": {
"compact": "{wpds-dimension.primitive.space.10}",
"comfortable": "{wpds-dimension.primitive.space.30}"
}
},
"com.figma.scopes": [ "GAP" ]
}
},
"sm": {
Expand All @@ -78,7 +80,8 @@
"mode": {
"compact": "{wpds-dimension.primitive.space.30}",
"comfortable": "{wpds-dimension.primitive.space.50}"
}
},
"com.figma.scopes": [ "GAP" ]
}
},
"md": {
Expand All @@ -88,7 +91,8 @@
"mode": {
"compact": "{wpds-dimension.primitive.space.50}",
"comfortable": "{wpds-dimension.primitive.space.70}"
}
},
"com.figma.scopes": [ "GAP" ]
}
},
"lg": {
Expand All @@ -98,7 +102,8 @@
"mode": {
"compact": "{wpds-dimension.primitive.space.60}",
"comfortable": "{wpds-dimension.primitive.space.80}"
}
},
"com.figma.scopes": [ "GAP" ]
}
}
}
Expand All @@ -111,7 +116,8 @@
"mode": {
"compact": "{wpds-dimension.primitive.space.10}",
"comfortable": "{wpds-dimension.primitive.space.20}"
}
},
"com.figma.scopes": [ "GAP" ]
}
},
"xs": {
Expand All @@ -121,7 +127,8 @@
"mode": {
"compact": "{wpds-dimension.primitive.space.10}",
"comfortable": "{wpds-dimension.primitive.space.30}"
}
},
"com.figma.scopes": [ "GAP" ]
}
},
"sm": {
Expand All @@ -131,7 +138,8 @@
"mode": {
"compact": "{wpds-dimension.primitive.space.20}",
"comfortable": "{wpds-dimension.primitive.space.40}"
}
},
"com.figma.scopes": [ "GAP" ]
}
},
"md": {
Expand All @@ -141,7 +149,8 @@
"mode": {
"compact": "{wpds-dimension.primitive.space.30}",
"comfortable": "{wpds-dimension.primitive.space.50}"
}
},
"com.figma.scopes": [ "GAP" ]
}
},
"lg": {
Expand All @@ -151,7 +160,8 @@
"mode": {
"compact": "{wpds-dimension.primitive.space.50}",
"comfortable": "{wpds-dimension.primitive.space.70}"
}
},
"com.figma.scopes": [ "GAP" ]
}
},
"xl": {
Expand All @@ -161,7 +171,8 @@
"mode": {
"compact": "{wpds-dimension.primitive.space.70}",
"comfortable": "{wpds-dimension.primitive.space.90}"
}
},
"com.figma.scopes": [ "GAP" ]
}
}
}
Expand Down
9 changes: 9 additions & 0 deletions packages/theme/tokens/typography.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@
"2xl": {
"$value": { "value": 32, "unit": "px" },
"$description": "2X large font size"
},
"$extensions": {
"com.figma.scopes": [ "FONT_SIZE" ]
}
},
"line-height": {
Expand Down Expand Up @@ -87,6 +90,9 @@
"2xl": {
"$value": { "value": 40, "unit": "px" },
"$description": "2X large line height"
},
"$extensions": {
"com.figma.scopes": [ "LINE_HEIGHT" ]
}
},
"weight": {
Expand All @@ -98,6 +104,9 @@
"medium": {
"$value": 499,
"$description": "Medium font weight for emphasis and headings"
},
"$extensions": {
"com.figma.scopes": [ "FONT_WEIGHT" ]
}
}
}
Expand Down
Loading