ads-scss-tokens-node
Advanced tools
Comparing version 0.0.3 to 0.0.4
{ | ||
"name": "ads-scss-tokens-node", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "tokens.scss", |
@@ -8,9 +8,6 @@ # js-tokens-to-scss | ||
1. Need to look at namespacing vars: | ||
1. Dictionary | ||
- Extract concept out of this repo; this should just be focused on converting tokens to scss ones. | ||
eg. $primary is too vague in a SCSS context; probably need $ads-primary | ||
2. Dictionary - figure out a good workflow | ||
3. Other tokens | ||
2. Other tokens | ||
- [ ] Colors | ||
@@ -17,0 +14,0 @@ - [ ] Fonts |
var fs = require('fs'); | ||
var tokens = require('@adapt-design-system/tokens'); | ||
var convertToScssVars = require('./transformers.js'); | ||
var convertColors = require('./transformers/colors'); | ||
var convertFontSizes = require('./transformers/font-sizes'); | ||
var sassVars = convertToScssVars(tokens.ThemeColors); | ||
var sassVars = ''; | ||
sassVars += convertColors(); | ||
sassVars += convertFontSizes(); | ||
var comment = `/* | ||
@@ -8,0 +11,0 @@ CAUTION: DO NOT EDIT THIS FILE - It is automatically generated. |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7
6328
106
18
1