Skip to content

Commit

Permalink
refactor(tokens):fixed bg-scheme as it didn't work propperly based on…
Browse files Browse the repository at this point in the history
… a naming problem
  • Loading branch information
Vandapanda committed Nov 8, 2024
1 parent 16b803a commit 93b8ccb
Showing 1 changed file with 63 additions and 80 deletions.
143 changes: 63 additions & 80 deletions packages/tokens/tokensstudio-generated/tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -2172,7 +2172,7 @@
}
},
"accent": {
"color-scheme": {
"bg-scheme": {
"1": {
"$type": "text",
"$value": "{post.core.bg-scheme.dark}"
Expand Down Expand Up @@ -4089,28 +4089,28 @@
"Theme/Post": {
"post": {
"theme": {
"accent": {
"palettes": {
"bg-scheme": {
"brand": {
"$type": "text",
"$value": "{post.core.bg-scheme.light}"
},
"emphasis": {
"$type": "text",
"$value": "{post.core.bg-scheme.dark}"
"$value": "{post.scheme.accent.bg-scheme.2}"
},
"default": {
"$type": "text",
"$value": "{post.scheme.accent.bg-scheme.1}"
},
"alternate": {
"$type": "text",
"$value": "{post.scheme.accent.bg-scheme.2}"
"$value": "{post.scheme.accent.bg-scheme.1}"
}
}
},
"color": {
"accent": {
"palettes": {
"default": {
"bg": {
"$type": "color",
Expand All @@ -4131,7 +4131,7 @@
"$value": "{post.scheme.color.surface.brand.fg}"
}
},
"emphasis": {
"accent": {
"bg": {
"$type": "color",
"$value": "{post.scheme.color.surface.emphasis.bg}"
Expand Down Expand Up @@ -4159,7 +4159,7 @@
"Theme/Cargo": {
"post": {
"theme": {
"accent": {
"palettes": {
"bg-scheme": {
"brand": {
"$type": "text",
Expand All @@ -4172,7 +4172,7 @@
}
},
"color": {
"accent": {
"palettes": {
"brand": {
"bg": {
"$type": "color",
Expand All @@ -4183,7 +4183,7 @@
"$value": "{post.cargo.scheme.color.surface.brand.fg-accent}"
}
},
"emphasis": {
"accent": {
"bg": {
"$type": "color",
"$value": "{post.cargo.scheme.color.surface.emphasis.bg}"
Expand Down Expand Up @@ -8754,41 +8754,41 @@
"default": {
"bg": {
"$type": "color",
"$value": "{post.theme.color.accent.default.bg}"
"$value": "{post.theme.color.palettes.default.bg}"
},
"fg": {
"$type": "color",
"$value": "{post.theme.color.accent.default.fg}"
"$value": "{post.theme.color.palettes.default.fg}"
}
},
"alternate": {
"bg": {
"$type": "color",
"$value": "{post.theme.color.accent.alternate.bg}"
"$value": "{post.theme.color.palettes.alternate.bg}"
},
"fg": {
"$type": "color",
"$value": "{post.theme.color.accent.alternate.fg}"
"$value": "{post.theme.color.palettes.alternate.fg}"
}
},
"brand": {
"bg": {
"$type": "color",
"$value": "{post.theme.color.accent.brand.bg}"
"$value": "{post.theme.color.palettes.brand.bg}"
},
"fg": {
"$type": "color",
"$value": "{post.theme.color.accent.brand.fg}"
"$value": "{post.theme.color.palettes.brand.fg}"
}
},
"accent": {
"bg": {
"$type": "color",
"$value": "{post.theme.color.accent.emphasis.bg}"
"$value": "{post.theme.color.palettes.accent.bg}"
},
"fg": {
"$type": "color",
"$value": "{post.theme.color.accent.emphasis.fg}"
"$value": "{post.theme.color.palettes.accent.fg}"
}
}
}
Expand All @@ -8798,25 +8798,25 @@
"default": {
"bg-scheme": {
"$type": "text",
"$value": "{post.theme.accent.bg-scheme.default}"
"$value": "{post.theme.palettes.bg-scheme.default}"
}
},
"alternate": {
"bg-scheme": {
"$type": "text",
"$value": "{post.theme.accent.bg-scheme.alternate}"
"$value": "{post.theme.palettes.bg-scheme.alternate}"
}
},
"brand": {
"bg-scheme": {
"$type": "text",
"$value": "{post.theme.accent.bg-scheme.brand}"
"$value": "{post.theme.palettes.bg-scheme.brand}"
}
},
"accent": {
"bg-scheme": {
"$type": "text",
"$value": "{post.theme.accent.bg-scheme.emphasis}"
"$value": "{post.theme.palettes.bg-scheme.emphasis}"
}
}
}
Expand Down Expand Up @@ -8868,8 +8868,7 @@
"post.core.elevation.5": "S:abb94bfe7966ae2690516196d25db0b65df759e2,"
},
"selectedTokenSets": {
"core": "enabled",
"Components/Floating button": "disabled"
"core": "enabled"
},
"$figmaCollectionId": "VariableCollectionId:718:1595",
"$figmaModeId": "718:0",
Expand Down Expand Up @@ -9007,8 +9006,7 @@
"$figmaStyleReferences": {},
"selectedTokenSets": {
"core": "source",
"Scheme/Light": "enabled",
"Components/Floating button": "disabled"
"Scheme/Light": "enabled"
},
"group": "Scheme",
"$figmaCollectionId": "VariableCollectionId:718:1666",
Expand Down Expand Up @@ -9188,8 +9186,7 @@
"selectedTokenSets": {
"core": "source",
"Scheme/Light": "enabled",
"Scheme/Dark": "enabled",
"Components/Floating button": "disabled"
"Scheme/Dark": "enabled"
},
"group": "Scheme",
"$figmaCollectionId": "VariableCollectionId:718:1666",
Expand Down Expand Up @@ -9345,8 +9342,8 @@
"post.scheme.color.notification.badge.fg": "48ff724df33b9947e7e74a729c5dc4a7c930f58c",
"post.scheme.color.notification.badge.stroke": "3b53b100fef4f7aa9a97b64e7d2fa8fc9c51aba2",
"post.scheme.color.notification.popover.hover": "9e2793c01c18d6947c2d4e898afcb379426d952c",
"post.scheme.accent.bg-scheme.1": "a7a55881dbc34e6d6b85f0bd30188fb164677678",
"post.scheme.accent.bg-scheme.2": "a343e732fc434c2a0b9c1597748d8e12a1755aed",
"post.scheme.accent.bg-scheme.1": "d839255ce134d92f7329c05fa6de12dbf8070dae",
"post.scheme.accent.bg-scheme.2": "96cf7a6141a4e43c6fe044888d7d04c367bf89bc",
"post.cargo.scheme.color.surface.default.bg": "41eb3ffd4461ead71c3379a48099d9c674aab882",
"post.cargo.scheme.color.surface.default.fg": "d42f699b9bbf506aee792a6a5d28a01f8fdc3078",
"post.cargo.scheme.color.surface.default.stroke": "68a8156f2b87010e07a024843e8efbbdf62022d3",
Expand All @@ -9359,9 +9356,7 @@
"post.cargo.scheme.color.surface.brand.fg-accent": "15eac3957d30e8b21001a30f17a62fd362e0c5f0",
"post.cargo.scheme.color.surface.emphasis.bg": "2dc2983e13aad7ec4e60552838d56966fa9908d6",
"post.cargo.scheme.color.surface.emphasis.fg": "e724294b65aca52dcb29118010534f0482bd0881",
"post.cargo.scheme.color.surface.emphasis.fg-accent": "9d2202f6c4937b0a006f5bf8886480984ab8efb2",
"post.scheme.accent.color-scheme.1": "d839255ce134d92f7329c05fa6de12dbf8070dae",
"post.scheme.accent.color-scheme.2": "96cf7a6141a4e43c6fe044888d7d04c367bf89bc"
"post.cargo.scheme.color.surface.emphasis.fg-accent": "9d2202f6c4937b0a006f5bf8886480984ab8efb2"
}
},
{
Expand All @@ -9370,8 +9365,7 @@
"$figmaStyleReferences": {},
"selectedTokenSets": {
"core": "source",
"Device/Desktop": "enabled",
"Components/Floating button": "disabled"
"Device/Desktop": "enabled"
},
"group": "Device",
"$figmaCollectionId": "VariableCollectionId:718:1733",
Expand Down Expand Up @@ -9545,8 +9539,7 @@
"selectedTokenSets": {
"core": "source",
"Device/Desktop": "enabled",
"Device/Tablet": "enabled",
"Components/Floating button": "disabled"
"Device/Tablet": "enabled"
},
"group": "Device",
"$figmaCollectionId": "VariableCollectionId:718:1733",
Expand Down Expand Up @@ -9727,8 +9720,7 @@
"core": "source",
"Device/Desktop": "enabled",
"Device/Tablet": "enabled",
"Device/Mobile": "enabled",
"Components/Floating button": "disabled"
"Device/Mobile": "enabled"
},
"group": "Device",
"$figmaCollectionId": "VariableCollectionId:718:1733",
Expand Down Expand Up @@ -9906,8 +9898,7 @@
"Device/Mobile": "source",
"Channel/EDK": "enabled",
"Scheme/Light": "source",
"Scheme/Dark": "source",
"Components/Floating button": "disabled"
"Scheme/Dark": "source"
},
"group": "Channel",
"$figmaCollectionId": "VariableCollectionId:718:1734",
Expand All @@ -9928,8 +9919,7 @@
"Channel/EDK": "enabled",
"Channel/IDK": "enabled",
"Scheme/Light": "source",
"Scheme/Dark": "source",
"Components/Floating button": "disabled"
"Scheme/Dark": "source"
},
"group": "Channel",
"$figmaCollectionId": "VariableCollectionId:718:1734",
Expand Down Expand Up @@ -9960,8 +9950,7 @@
"Elements/ListBullet": "enabled",
"Elements/ListNumber": "enabled",
"Scheme/Light": "source",
"Scheme/Dark": "source",
"Components/Floating button": "disabled"
"Scheme/Dark": "source"
},
"$figmaCollectionId": "VariableCollectionId:3180:16769",
"$figmaModeId": "3180:1",
Expand Down Expand Up @@ -10030,8 +10019,7 @@
"Theme/Post": "source",
"Utilities/Color": "enabled",
"Scheme/Light": "source",
"Scheme/Dark": "source",
"Components/Floating button": "disabled"
"Scheme/Dark": "source"
},
"$figmaCollectionId": "VariableCollectionId:3180:16768",
"$figmaModeId": "3180:0",
Expand Down Expand Up @@ -10905,8 +10893,7 @@
"Utilities/Spacing": "source",
"Utilities/Typo": "source",
"Scheme/Light": "source",
"Scheme/Dark": "source",
"Components/Floating button": "disabled"
"Scheme/Dark": "source"
}
},
{
Expand All @@ -10922,25 +10909,24 @@
"Channel/IDK": "source",
"Theme/Post": "enabled",
"Scheme/Light": "source",
"Scheme/Dark": "source",
"Components/Floating button": "disabled"
"Scheme/Dark": "source"
},
"group": "Theme",
"$figmaCollectionId": "VariableCollectionId:4178:5613",
"$figmaModeId": "4178:0",
"$figmaVariableReferences": {
"post.theme.accent.bg-scheme.brand": "ac9cc556351b9d9b72ce01e166e148b74b25de3f",
"post.theme.accent.bg-scheme.emphasis": "f37d68c8d5ee579997a1a1b403162484c8cff869",
"post.theme.color.accent.brand.bg": "2f0b9e90b3d7117a9d7037b325deac970c3bee16",
"post.theme.color.accent.brand.fg": "8ce342d323f6022375641c1f92d265636eda0015",
"post.theme.color.accent.emphasis.bg": "36c62b7057d0d665572ef3d4be91dd81c61fb13b",
"post.theme.color.accent.emphasis.fg": "8d3dab1f80eb4d3b22f62613a3c3f80d5609538d",
"post.theme.accent.bg-scheme.default": "9504f02cdfa20b1afd02c21b95c5e8753ac50340",
"post.theme.accent.bg-scheme.alternate": "bb955dc5c7061bd23cb6c735b2d5f01b727625d0",
"post.theme.color.accent.default.bg": "dc69a147a83c9da5d6b52a3e1999082ac7405009",
"post.theme.color.accent.default.fg": "17e7f1199980448c9e431b59ac934c0ef11c5e1b",
"post.theme.color.accent.alternate.bg": "47e0f61a01f52edc65e7fcfb6ba1237495959eb2",
"post.theme.color.accent.alternate.fg": "96a7f4c12efb74f3da27770f2014a52032056121"
"post.theme.color.palettes.brand.bg": "2f0b9e90b3d7117a9d7037b325deac970c3bee16",
"post.theme.color.palettes.brand.fg": "8ce342d323f6022375641c1f92d265636eda0015",
"post.theme.color.palettes.default.bg": "dc69a147a83c9da5d6b52a3e1999082ac7405009",
"post.theme.color.palettes.default.fg": "17e7f1199980448c9e431b59ac934c0ef11c5e1b",
"post.theme.color.palettes.alternate.bg": "47e0f61a01f52edc65e7fcfb6ba1237495959eb2",
"post.theme.color.palettes.alternate.fg": "96a7f4c12efb74f3da27770f2014a52032056121",
"post.theme.color.palettes.accent.bg": "36c62b7057d0d665572ef3d4be91dd81c61fb13b",
"post.theme.color.palettes.accent.fg": "8d3dab1f80eb4d3b22f62613a3c3f80d5609538d",
"post.theme.palettes.bg-scheme.brand": "ac9cc556351b9d9b72ce01e166e148b74b25de3f",
"post.theme.palettes.bg-scheme.emphasis": "f37d68c8d5ee579997a1a1b403162484c8cff869",
"post.theme.palettes.bg-scheme.default": "9504f02cdfa20b1afd02c21b95c5e8753ac50340",
"post.theme.palettes.bg-scheme.alternate": "bb955dc5c7061bd23cb6c735b2d5f01b727625d0"
}
},
{
Expand All @@ -10957,25 +10943,24 @@
"Theme/Post": "enabled",
"Theme/Cargo": "enabled",
"Scheme/Light": "source",
"Scheme/Dark": "source",
"Components/Floating button": "disabled"
"Scheme/Dark": "source"
},
"group": "Theme",
"$figmaCollectionId": "VariableCollectionId:4178:5613",
"$figmaModeId": "4178:1",
"$figmaVariableReferences": {
"post.theme.accent.bg-scheme.brand": "ac9cc556351b9d9b72ce01e166e148b74b25de3f",
"post.theme.accent.bg-scheme.emphasis": "f37d68c8d5ee579997a1a1b403162484c8cff869",
"post.theme.accent.bg-scheme.default": "9504f02cdfa20b1afd02c21b95c5e8753ac50340",
"post.theme.accent.bg-scheme.alternate": "bb955dc5c7061bd23cb6c735b2d5f01b727625d0",
"post.theme.color.accent.default.bg": "dc69a147a83c9da5d6b52a3e1999082ac7405009",
"post.theme.color.accent.default.fg": "17e7f1199980448c9e431b59ac934c0ef11c5e1b",
"post.theme.color.accent.brand.bg": "2f0b9e90b3d7117a9d7037b325deac970c3bee16",
"post.theme.color.accent.brand.fg": "8ce342d323f6022375641c1f92d265636eda0015",
"post.theme.color.accent.emphasis.bg": "36c62b7057d0d665572ef3d4be91dd81c61fb13b",
"post.theme.color.accent.emphasis.fg": "8d3dab1f80eb4d3b22f62613a3c3f80d5609538d",
"post.theme.color.accent.alternate.bg": "47e0f61a01f52edc65e7fcfb6ba1237495959eb2",
"post.theme.color.accent.alternate.fg": "96a7f4c12efb74f3da27770f2014a52032056121"
"post.theme.color.palettes.default.bg": "dc69a147a83c9da5d6b52a3e1999082ac7405009",
"post.theme.color.palettes.default.fg": "17e7f1199980448c9e431b59ac934c0ef11c5e1b",
"post.theme.color.palettes.brand.bg": "2f0b9e90b3d7117a9d7037b325deac970c3bee16",
"post.theme.color.palettes.brand.fg": "8ce342d323f6022375641c1f92d265636eda0015",
"post.theme.color.palettes.alternate.bg": "47e0f61a01f52edc65e7fcfb6ba1237495959eb2",
"post.theme.color.palettes.alternate.fg": "96a7f4c12efb74f3da27770f2014a52032056121",
"post.theme.color.palettes.accent.bg": "36c62b7057d0d665572ef3d4be91dd81c61fb13b",
"post.theme.color.palettes.accent.fg": "8d3dab1f80eb4d3b22f62613a3c3f80d5609538d",
"post.theme.palettes.bg-scheme.brand": "ac9cc556351b9d9b72ce01e166e148b74b25de3f",
"post.theme.palettes.bg-scheme.emphasis": "f37d68c8d5ee579997a1a1b403162484c8cff869",
"post.theme.palettes.bg-scheme.default": "9504f02cdfa20b1afd02c21b95c5e8753ac50340",
"post.theme.palettes.bg-scheme.alternate": "bb955dc5c7061bd23cb6c735b2d5f01b727625d0"
}
},
{
Expand All @@ -10993,8 +10978,7 @@
"Channel/IDK": "source",
"Theme/Post": "source",
"Theme/Cargo": "source",
"Helpers/Focus": "enabled",
"Components/Floating button": "disabled"
"Helpers/Focus": "enabled"
},
"group": "Helpers",
"$figmaCollectionId": "VariableCollectionId:6402:53868",
Expand All @@ -11019,8 +11003,7 @@
"Channel/IDK": "source",
"Theme/Post": "source",
"Theme/Cargo": "source",
"Palettes": "enabled",
"Components/Floating button": "disabled"
"Palettes": "enabled"
},
"$figmaVariableReferences": {
"post.palettes.color.default.bg": "5f2f435ea49163621af38ad9798447b33aad773f",
Expand Down

0 comments on commit 93b8ccb

Please sign in to comment.