Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Output new tokens to new directory. Output new and legacy namespaces #56

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions packages/flame-tokens/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@ partials
index.scss
index.css
built-themes
css/
sass/
14 changes: 14 additions & 0 deletions packages/flame-tokens/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

Refer to the [CONTRIBUTING guide](https://github.com/lightspeed/flame/blob/master/.github/CONTRIBUTING.md) for more info.

## [Unreleased]

### Added

- Created css and sass dist folders that contains a better namespaced location for css/sass tokens
- Generate the new tokens into their appropriate utility files
- Added the new `fl-` namespace for token utility files
- Root level partials will also include the new namespaces

### DEPRECATION WARNING

- Root level css and sass files will be removed, prefer going through the appropriate namespaced folder to get your utility files
- The `cr-` namespace will be removed in favour of the `fl-` namespace

## 1.0.0 - 2019-10-08

- Flame tokens is now considered stable :tada:
Expand Down
4 changes: 3 additions & 1 deletion packages/flame-tokens/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@
"polished": "^1.0.2"
},
"devDependencies": {
"@types/fs-extra": "^8.0.1",
"@types/node": "^12.7.2",
"concurrently": "^4.1.0",
"fs-extra": "^8.1.0",
"nodemon": "^1.18.10",
"rimraf": "^2.6.3",
"ts-node": "^8.3.0"
Expand All @@ -28,7 +30,7 @@
"build:cjs": "BABEL_ENV=cjs babel src --out-dir dist --config-file ../../babel.config.js --extensions .ts,.tsx,.js,.jsx",
"build:esm": "BABEL_ENV=production babel src --out-dir dist/esm --config-file ../../babel.config.js --extensions .ts,.tsx,.js,.jsx",
"build:types": "tsc --p ./tsconfig.types.json",
"clean": "rimraf dist && rimraf built-themes && rimraf partials",
"clean": "rimraf dist && rimraf built-themes && rimraf partials && rimraf css && rimraf sass",
"prepublish": "yarn clean && yarn build && node ../../scripts/validate-build"
},
"publishConfig": {
Expand Down

Large diffs are not rendered by default.

Loading