Skip to content

Commit

Permalink
Only output semantic definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
plasmoit authored Nov 11, 2024
1 parent 0023156 commit bd61873
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions build.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ const sd = new StyleDictionary({
{
destination: 'variables.css',
format: 'css/variables',
filter: {
attributes: {
category: 'semantic'
}
},
},
],
},
Expand All @@ -26,6 +31,11 @@ const sd = new StyleDictionary({
{
destination: 'variables.scss',
format: 'scss/variables',
filter: {
attributes: {
category: 'semantic'
}
},
}
]
},
Expand Down

0 comments on commit bd61873

Please sign in to comment.