Skip to content

Commit

Permalink
feat(tokens): Added tokens for segmented button
Browse files Browse the repository at this point in the history
  • Loading branch information
Vandapanda committed Oct 16, 2024
1 parent 3db466c commit a98ab1c
Showing 1 changed file with 88 additions and 10 deletions.
98 changes: 88 additions & 10 deletions packages/tokens/tokensstudio-generated/tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,10 @@
"3-5": {
"$type": "dimension",
"$value": "3.5"
},
"-2": {
"$type": "dimension",
"$value": "-2px"
}
},
"font-weight": {
Expand Down Expand Up @@ -1905,6 +1909,10 @@
"$type": "spacing",
"$value": "{post.core.dimension.24}"
},
"6": {
"$type": "spacing",
"$value": "{post.core.dimension.0}"
},
"block": {
"1": {
"$type": "spacing",
Expand Down Expand Up @@ -1967,6 +1975,10 @@
"12": {
"$type": "spacing",
"$value": "{post.core.dimension.8}"
},
"13": {
"$type": "spacing",
"$value": "{post.core.dimension.1}"
}
}
},
Expand Down Expand Up @@ -3099,6 +3111,10 @@
"$type": "spacing",
"$value": "{post.core.dimension.8}"
},
"6": {
"$type": "spacing",
"$value": "{post.core.dimension.-2}"
},
"block": {
"2": {
"$type": "spacing",
Expand Down Expand Up @@ -3141,6 +3157,10 @@
"12": {
"$type": "spacing",
"$value": "{post.core.dimension.4}"
},
"13": {
"$type": "spacing",
"$value": "{post.core.dimension.0}"
}
}
},
Expand Down Expand Up @@ -6274,13 +6294,39 @@
"height": {
"$type": "sizing",
"$value": "{post.device.sizing.interactive.button.height.2}"
},
"enabled-border": {
"$type": "color",
"$value": "{post.mode.color.interactive.primary.enabled.stroke3}"
}
},
"padding": {
"inline": {
"$type": "spacing",
"$value": "{post.device.spacing.padding.11}"
}
},
"gap": {
"inline": {
"$type": "spacing",
"$value": "{post.device.spacing.gap.inline.13}"
}
},
"margin": {
"$type": "spacing",
"$value": "{post.device.spacing.gap.6}"
},
"font-weight": {
"$type": "fontWeights",
"$value": "{post.device.font-weight.bold}"
},
"selected-border": {
"$type": "color",
"$value": "{post.mode.color.interactive.primary.selected.stroke1}"
},
"elevation": {
"$type": "boxShadow",
"$value": "{post.device.elevation.200}"
}
}
}
Expand Down Expand Up @@ -8296,7 +8342,8 @@
"post.core.letter-spacing.none": "195c468fa2f255470e6e8077bfc5cb14da225064",
"post.core.font-family.frutiger": "7a8104756190e8b94f97c29243dd5d7d142a7065",
"post.core.font-family.swiss-post": "5547f71fafbe8166ac0384fd4e8862796da43fea",
"post.core.font-family.caveat": "15b599e49f27297ab4aced39752df2cf43f2bb20"
"post.core.font-family.caveat": "15b599e49f27297ab4aced39752df2cf43f2bb20",
"post.core.dimension.-2": "a8040ac6a48a5d42a1da856418512c0be8287c14"
}
},
{
Expand Down Expand Up @@ -8455,7 +8502,8 @@
"post.mode.color.interactive.notification.error.icon": "6a602959aae6c213148ff0f586280a123ebff780",
"post.mode.color.interactive.notification.error.stroke": "f6a25a2fe2b3146d1684d3906e635ef9505a4c23",
"post.mode.color.surface.default.stroke": "acff34c0c7e3f3b7360988406c18af0b164393ff",
"post.mode.color.notification.popover.hover": "9e2793c01c18d6947c2d4e898afcb379426d952c"
"post.mode.color.notification.popover.hover": "9e2793c01c18d6947c2d4e898afcb379426d952c",
"post.mode.color.interactive.primary.selected.bg4": "2ff12dcb2eeefdf9269b693bbf6422ea2ad8212a"
}
},
{
Expand Down Expand Up @@ -8615,7 +8663,8 @@
"post.mode.color.notification.badge.bg": "0de95de05ec88e26525f4211c81f0f8dbe321ebb",
"post.mode.color.notification.badge.fg": "48ff724df33b9947e7e74a729c5dc4a7c930f58c",
"post.mode.color.notification.badge.stroke": "3b53b100fef4f7aa9a97b64e7d2fa8fc9c51aba2",
"post.mode.color.notification.popover.hover": "9e2793c01c18d6947c2d4e898afcb379426d952c"
"post.mode.color.notification.popover.hover": "9e2793c01c18d6947c2d4e898afcb379426d952c",
"post.mode.color.interactive.primary.selected.bg4": "2ff12dcb2eeefdf9269b693bbf6422ea2ad8212a"
}
},
{
Expand Down Expand Up @@ -8746,6 +8795,8 @@
"post.device.spacing.margin.2": "a03e875bcb67b48b5fe0cd53d733c77d6824e86f",
"post.device.spacing.margin.3": "eaf0d9d533154fc10cd38699804e027093e4d482",
"post.device.sizing.interactive.icon.size2": "7cea78d105586f14c382f30667405f5ac18545f6",
"post.device.spacing.gap.inline.13": "a774444950bb137a0bde2badf1eeba102edc35e8",
"post.device.spacing.gap.6": "d3f0e06bad0472f9dec52560b44068444b9f9676",
"post.device.spacing.gap.1": "303b065d5f8bf9049661db8845f2d1e59a4c08b0",
"post.device.spacing.gap.2": "0e3be5c3cc6b23c8827bc5fb005a234c558199fc",
"post.device.spacing.gap.3": "91cd08dcbce598d4f63e04fc4e646796d943a377",
Expand All @@ -8769,12 +8820,12 @@
"post.device.border-radius.1": "bf9efed364999a9ef84bdb512985ac9f6fdbec1d",
"post.device.border-radius.round": "055c77f9d3dcf72433a5321df80ed3a62e9501b2",
"post.device.border-radius.focus": "4f72f37038d3db3a58384aed4ea1f1dd789e6afc",
"post.device.border-radius.2": "3ff458677ebb45c67aa0d62f737f529bf937fc1d",
"post.device.border-width.default": "e5f71facc552cd21f6cd7daa18a64c8e8e5ce6a6",
"post.device.border-width.focus": "36b85b12779fa51b466bbb29ec9f9a54b1ab7dcc",
"post.device.border-width.alternative2": "ee4d9dfc6effe80e3529f2cf085a3e3c60cdda30",
"post.device.border-width.alternative1": "3304b579ebb55075ec45251e69d38c803cecf378",
"post.device.grid.sizing.container.max-width": "a4dfb3cf0e2934a7d714a31ae35fded45be08be9",
"post.device.border-radius.2": "3ff458677ebb45c67aa0d62f737f529bf937fc1d"
"post.device.grid.sizing.container.max-width": "a4dfb3cf0e2934a7d714a31ae35fded45be08be9"
}
},
{
Expand Down Expand Up @@ -8889,6 +8940,8 @@
"post.device.font-weight.regular": "63954de676cfeffcb52798776599f7a676db2327",
"post.device.font-weight.black": "e4cfc49770e938bbde9dd1499500d3c90db21bbf",
"post.device.grid.padding.inline.container": "ac3bea992f765c2b35b8b7b8e0213bc1471cd22c",
"post.device.spacing.gap.inline.13": "a774444950bb137a0bde2badf1eeba102edc35e8",
"post.device.spacing.gap.6": "d3f0e06bad0472f9dec52560b44068444b9f9676",
"post.device.spacing.gap.1": "303b065d5f8bf9049661db8845f2d1e59a4c08b0",
"post.device.spacing.gap.2": "0e3be5c3cc6b23c8827bc5fb005a234c558199fc",
"post.device.spacing.gap.3": "91cd08dcbce598d4f63e04fc4e646796d943a377",
Expand Down Expand Up @@ -8928,13 +8981,13 @@
"post.device.border-radius.1": "bf9efed364999a9ef84bdb512985ac9f6fdbec1d",
"post.device.border-radius.round": "055c77f9d3dcf72433a5321df80ed3a62e9501b2",
"post.device.border-radius.focus": "4f72f37038d3db3a58384aed4ea1f1dd789e6afc",
"post.device.border-radius.2": "3ff458677ebb45c67aa0d62f737f529bf937fc1d",
"post.device.border-width.default": "e5f71facc552cd21f6cd7daa18a64c8e8e5ce6a6",
"post.device.border-width.focus": "36b85b12779fa51b466bbb29ec9f9a54b1ab7dcc",
"post.device.border-width.alternative2": "ee4d9dfc6effe80e3529f2cf085a3e3c60cdda30",
"post.device.border-width.alternative1": "3304b579ebb55075ec45251e69d38c803cecf378",
"post.device.grid.sizing.gutter": "c96f1602983aa56f2a1a13cbba9b908b06fd0e05",
"post.device.grid.sizing.container.max-width": "a4dfb3cf0e2934a7d714a31ae35fded45be08be9",
"post.device.border-radius.2": "3ff458677ebb45c67aa0d62f737f529bf937fc1d"
"post.device.grid.sizing.container.max-width": "a4dfb3cf0e2934a7d714a31ae35fded45be08be9"
}
},
{
Expand Down Expand Up @@ -9090,6 +9143,7 @@
"post.device.border-radius.1": "bf9efed364999a9ef84bdb512985ac9f6fdbec1d",
"post.device.border-radius.round": "055c77f9d3dcf72433a5321df80ed3a62e9501b2",
"post.device.border-radius.focus": "4f72f37038d3db3a58384aed4ea1f1dd789e6afc",
"post.device.border-radius.2": "3ff458677ebb45c67aa0d62f737f529bf937fc1d",
"post.device.font-weight.bold": "fc6bd8d453b32d21a42e41bc8bef6f071b24fdbc",
"post.device.font-weight.regular": "63954de676cfeffcb52798776599f7a676db2327",
"post.device.font-weight.medium": "906f12eaebe84e176fd21156d1a6e524c9e3414f",
Expand All @@ -9101,7 +9155,8 @@
"post.device.grid.sizing.gutter": "c96f1602983aa56f2a1a13cbba9b908b06fd0e05",
"post.device.grid.sizing.container.max-width": "a4dfb3cf0e2934a7d714a31ae35fded45be08be9",
"post.device.grid.padding.inline.container": "ac3bea992f765c2b35b8b7b8e0213bc1471cd22c",
"post.device.border-radius.2": "3ff458677ebb45c67aa0d62f737f529bf937fc1d"
"post.device.spacing.gap.inline.13": "a774444950bb137a0bde2badf1eeba102edc35e8",
"post.device.spacing.gap.6": "d3f0e06bad0472f9dec52560b44068444b9f9676"
}
},
{
Expand Down Expand Up @@ -9372,7 +9427,8 @@
"post.popover.elevation": "S:30d186daa8a325b5250dcbdc122d9f6158119e60,",
"post.social-media-button.elevation": "S:bf4ce1d54cc7dc7662989461c6bc438cd4d31e08,",
"post.icon-button.elevation": "S:e11aee1ee3b8d5b3970b8ec32871bde4871ab2f3,",
"post.button.elevation": "S:e11aee1ee3b8d5b3970b8ec32871bde4871ab2f3,"
"post.button.elevation": "S:e11aee1ee3b8d5b3970b8ec32871bde4871ab2f3,",
"post.button-segmented.elevation": "S:4ac758116e586feda19870f3fb5cfe628a5b5f34,"
},
"selectedTokenSets": {
"core": "source",
Expand Down Expand Up @@ -9421,7 +9477,8 @@
"Components/Form footer": "enabled",
"Components/Grid": "enabled",
"Components/List simple": "enabled",
"Components/Avatar": "enabled"
"Components/Avatar": "enabled",
"Components/Segmented button": "enabled"
},
"$figmaCollectionId": "VariableCollectionId:808:5504",
"$figmaModeId": "808:0",
Expand Down Expand Up @@ -9810,6 +9867,27 @@
"post.radio-button.padding.block.group": "990db7096901d16ae10b01800015dece8805bd03",
"post.radio-button.group.legend.font-size": "173ff3bf123931fc8325fe9156404613a57b8b78",
"post.radio-button.label.padding.block": "9aa1af7161cf43024101355d41b51c12692a6bf9",
"post.button-segmented.horizontal.border-radius": "fd01f5b8308c2c2826717c59169509fa33da4431",
"post.button-segmented.vertical.border-radius": "bb62d30e7b32d7c62d6a825888a8248af47f3532",
"post.button-segmented.selected-fg": "23623d928ead25f0bcf0b42baed2bfdf8345daad",
"post.button-segmented.selected-bg": "ab1be8b8ba0262a40eb0fb17a0b15521db92b1d7",
"post.button-segmented.enabled-fg": "56e66f94c28cd178bf343764ba04eebdb02b3602",
"post.button-segmented.enabled-bg": "288fb670e53c1f621a2d277decd09e2ace97ae09",
"post.button-segmented.enabled-border": "982aba20bb65901ee196eee64d48ecb391eb0280",
"post.button-segmented.focus.outline.color": "42b558d628f606b19791acad7ce79100a3f61593",
"post.button-segmented.hover-fg": "2a84933a4249fc8dff24532bc93406672907edd2",
"post.button-segmented.hover-bg": "4b187ee1082e23ec58943c06d9ace9fe09dab01c",
"post.button-segmented.hover-border": "8a8756906eaf89e46ea1d2962dba008a4a3b33d3",
"post.button-segmented.border-width": "4a6d13197a63b4e03477ed62b35d554f797feaf9",
"post.button-segmented.focus.outline-width": "899485d05b5979f4154eebe35f1131acfe1f557b",
"post.button-segmented.focus.outline.offset": "ffcfcb17cfee9b1a39fd207c49b88697316fb13f",
"post.button-segmented.elements.height": "305e4138ac7bb4dcb2749773bc28240a92b4b77f",
"post.button-segmented.padding.inline": "8991d47786b26e2bc1ed4800bb303f89a330de03",
"post.button-segmented.gap.inline": "edc6e1d49065d4c78b88a46af052b256e5522a7d",
"post.button-segmented.margin": "c9450d8eb85705ec1378cc12d2dc11d82292d638",
"post.button-segmented.font-weight": "69d85273017f04e159d299c17472222c517f3570",
"post.button-segmented.selected-border": "9aa8b877e676f01b6b725ad77a15d2a81f6bfce5",
"post.button-segmented.elements.enabled-border": "c5d7d56d26636bdb4d125bb90190f86b9a80ab5a",
"post.select.enabled-bg": "56831cf2f49031708c75a392aa1d337d53265db8",
"post.select.enabled-fg": "f84ea1c81840d02a75bcf62682632a8853f85ad7",
"post.select.hover-bg": "1c8c858d517f620cf044cb2cb8ebfa29233d2115",
Expand Down

0 comments on commit a98ab1c

Please sign in to comment.