Skip to content

Commit

Permalink
feat(tokens): add hex colors as token output
Browse files Browse the repository at this point in the history
  • Loading branch information
fynnfeldpausch committed Jul 31, 2024
1 parent e215b65 commit 94919c2
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions tokens/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,19 @@ module.exports = {
}
}]
},
cssHex: {
transforms: ['attribute/cti', 'name/cti/kebab', 'content/icon', 'color/css'],
prefix: 'cat',
buildPath: 'dist/css/',
files: [{
destination: 'variables-hex.css',
format: 'css/variables',
options: {
fileHeader: 'cat/header',
outputReferences: false
}
}]
},
scss: {
transforms: ['attribute/cti', 'name/cti/kebab', 'content/icon', 'color/css', 'cat/rgbParts', 'cat/cssProp'],
prefix: 'cat',
Expand Down

0 comments on commit 94919c2

Please sign in to comment.