Skip to content

Commit 744a096

Browse files
committed
updated build to accept monaco syntax setup in figma
1 parent 21b7c64 commit 744a096

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

build.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,8 @@ StyleDictionaryPackage.registerFormat({
7272
theme.tokenColors = dictionary.allProperties.filter((token) => {
7373
return token.path[0] === 'syntax'
7474
}).map((token) => ({
75-
scope: token.name,
75+
name: token.name,
76+
scope: token.scope,
7677
settings: {
7778
foreground: token.value,
7879
fontStyle: token.fontStyle,

0 commit comments

Comments
 (0)