Skip to content

Commit bd61873

Browse files
authored
Only output semantic definitions
1 parent 0023156 commit bd61873

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

build.js

+10
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ const sd = new StyleDictionary({
1515
{
1616
destination: 'variables.css',
1717
format: 'css/variables',
18+
filter: {
19+
attributes: {
20+
category: 'semantic'
21+
}
22+
},
1823
},
1924
],
2025
},
@@ -26,6 +31,11 @@ const sd = new StyleDictionary({
2631
{
2732
destination: 'variables.scss',
2833
format: 'scss/variables',
34+
filter: {
35+
attributes: {
36+
category: 'semantic'
37+
}
38+
},
2939
}
3040
]
3141
},

0 commit comments

Comments
 (0)