-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: output custom properties inside :root selector
- Loading branch information
1 parent
6170e69
commit fd96cd5
Showing
5 changed files
with
31 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// This build is required to output a standard :root{} element, versus the :host{} | ||
// custome version output in the primary build script | ||
|
||
const LocalTokens = require('style-dictionary').extend('./scripts/tokensConfig.json'); | ||
LocalTokens.buildPlatform('CSSCustomProperties'); | ||
|
||
console.log('') | ||
console.log(' . . ') | ||
console.log(' * *') | ||
console.log('') | ||
console.log(' * * *') | ||
console.log(' !') | ||
console.log(' * * ') | ||
console.log('') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters