Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
francisrupert committed Dec 11, 2024
1 parent 8b93afe commit 511bb1f
Show file tree
Hide file tree
Showing 3 changed files with 84 additions and 14 deletions.
1 change: 1 addition & 0 deletions packages/dialtone-tokens/tokens/$metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"components/avatar/default",
"components/badge/default",
"components/badge/dark",
"components/badge/deca-dark",
"components/button/default",
"components/checkbox/default",
"components/icon/default",
Expand Down
42 changes: 28 additions & 14 deletions packages/dialtone-tokens/tokens/$themes.json
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,8 @@
"components/icon/default": "enabled",
"components/radio/default": "enabled",
"root": "source",
"components/button/default": "enabled"
"components/button/default": "enabled",
"components/badge/deca-dark": "disabled"
},
"$figmaCollectionId": "VariableCollectionId:406:18994",
"$figmaModeId": "406:0",
Expand Down Expand Up @@ -1284,7 +1285,8 @@
"components/radio/default": "enabled",
"root": "source",
"components/badge/dark": "enabled",
"components/button/default": "enabled"
"components/button/default": "enabled",
"components/badge/deca-dark": "disabled"
},
"$figmaCollectionId": "VariableCollectionId:406:18994",
"$figmaModeId": "406:1",
Expand Down Expand Up @@ -2187,7 +2189,8 @@
"components/checkbox/default": "enabled",
"components/icon/default": "enabled",
"components/radio/default": "enabled",
"root": "source"
"root": "source",
"components/badge/deca-dark": "disabled"
},
"$figmaCollectionId": "VariableCollectionId:406:19535",
"$figmaModeId": "406:2",
Expand Down Expand Up @@ -2751,7 +2754,8 @@
"components/checkbox/default": "enabled",
"components/icon/default": "enabled",
"components/radio/default": "enabled",
"root": "source"
"root": "source",
"components/badge/deca-dark": "disabled"
},
"$figmaCollectionId": "VariableCollectionId:406:19535",
"$figmaModeId": "406:3",
Expand Down Expand Up @@ -3314,7 +3318,8 @@
"components/button/default": "enabled",
"components/checkbox/default": "enabled",
"components/icon/default": "enabled",
"components/radio/default": "enabled"
"components/radio/default": "enabled",
"components/badge/deca-dark": "disabled"
},
"group": "deca"
},
Expand Down Expand Up @@ -3678,7 +3683,8 @@
"components/checkbox/default": "enabled",
"components/icon/default": "enabled",
"components/radio/default": "enabled",
"semantic/dp/default": "enabled"
"semantic/dp/default": "enabled",
"components/badge/deca-dark": "disabled"
},
"group": "expressive"
},
Expand All @@ -3697,7 +3703,8 @@
"components/badge/default": "enabled",
"components/checkbox/default": "enabled",
"components/icon/default": "enabled",
"components/radio/default": "enabled"
"components/radio/default": "enabled",
"components/badge/deca-dark": "disabled"
},
"group": "expressive"
},
Expand All @@ -3715,7 +3722,8 @@
"components/checkbox/default": "enabled",
"components/icon/default": "enabled",
"components/radio/default": "enabled",
"semantic/expressive/default": "enabled"
"semantic/expressive/default": "enabled",
"components/badge/deca-dark": "disabled"
},
"group": "expressive-sm"
},
Expand All @@ -3735,7 +3743,8 @@
"components/checkbox/default": "enabled",
"components/icon/default": "enabled",
"components/radio/default": "enabled",
"semantic/expressive/default": "enabled"
"semantic/expressive/default": "enabled",
"components/badge/deca-dark": "disabled"
},
"group": "expressive-sm"
},
Expand Down Expand Up @@ -3805,7 +3814,8 @@
},
"selectedTokenSets": {
"root": "enabled",
"base/default": "enabled"
"base/default": "enabled",
"components/badge/deca-dark": "disabled"
},
"group": "base"
},
Expand Down Expand Up @@ -3876,7 +3886,8 @@
"selectedTokenSets": {
"root": "enabled",
"base/default": "enabled",
"base/dark": "enabled"
"base/dark": "enabled",
"components/badge/deca-dark": "disabled"
},
"group": "base"
},
Expand All @@ -3887,7 +3898,8 @@
"selectedTokenSets": {
"root": "enabled",
"base/default": "enabled",
"base/deca": "enabled"
"base/deca": "enabled",
"components/badge/deca-dark": "disabled"
},
"group": "base"
},
Expand All @@ -3911,7 +3923,8 @@
"components/button/default": "enabled",
"components/checkbox/default": "enabled",
"components/icon/default": "enabled",
"components/radio/default": "enabled"
"components/radio/default": "enabled",
"components/badge/deca-dark": "enabled"
},
"group": "deca"
},
Expand All @@ -3924,7 +3937,8 @@
"base/default": "enabled",
"base/dark": "enabled",
"base/deca": "enabled",
"base/deca-dark": "enabled"
"base/deca-dark": "enabled",
"components/badge/deca-dark": "disabled"
},
"group": "base"
}
Expand Down
55 changes: 55 additions & 0 deletions packages/dialtone-tokens/tokens/components/badge/deca-dark.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
{
"badge": {
"color": {
"background": {
"bulletin-subtle": {
"value": "{color.purple.400}",
"type": "color",
"$extensions": {
"studio.tokens": {
"modify": {
"type": "alpha",
"value": ".6",
"space": "hsl"
}
}
}
}
},
"foreground": {
"bulletin-subtle": {
"value": "{color.foreground.primary}",
"type": "color",
"$extensions": {
"studio.tokens": {
"modify": {
"type": "alpha",
"value": "1",
"space": "hsl"
}
}
}
},
"bulletin": {
"value": "{color.black.50}",
"type": "color"
}
},
"border": {
"bulletin-subtle": {
"value": "{color.purple.400}",
"type": "color",
"$extensions": {
"studio.tokens": {
"modify": {
"type": "alpha",
"value": ".6",
"space": "hsl"
}
}
}
}
}
}
}
}

0 comments on commit 511bb1f

Please sign in to comment.