Skip to content

Commit

Permalink
publish tokens from dist/
Browse files Browse the repository at this point in the history
  • Loading branch information
Dhaulagiri committed Mar 16, 2022
1 parent d9b952d commit 04db4d9
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 6 deletions.
15 changes: 15 additions & 0 deletions .changeset/smart-pets-press.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
"@hashicorp/design-system-tokens": minor
---

#### 💥 Breaking change

Changes the output path for tokens to include dist/ in the path

##### Before

/products/css/tokens.css

##### After

/dist/products/css/tokens.css
12 changes: 6 additions & 6 deletions packages/tokens/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ Then import one of those files in your app's style file (`app.scss` or similar):
```js
// to use design tokens as CSS variables
//
~/products/css/tokens.css // for products applications
~/devdot/css/tokens.css // for devdot platform
~/dist/products/css/tokens.css // for products applications
~/dist/devdot/css/tokens.css // for devdot platform

// to use the CSS helper classes
//
~/[products|devdot]/css/helpers/colors.css // for color styles
~/[products|devdot]/css/helpers/elevation.css // for elevation styles
~/[products|devdot]/css/helpers/typography.css // for typographic styles
~/[products|devdot]/css/helpers/focus-ring.css // for focus-ring style
~/dist/[products|devdot]/css/helpers/colors.css // for color styles
~/dist/[products|devdot]/css/helpers/elevation.css // for elevation styles
~/dist/[products|devdot]/css/helpers/typography.css // for typographic styles
~/dist/[products|devdot]/css/helpers/focus-ring.css // for focus-ring style
```

## Usage
Expand Down

0 comments on commit 04db4d9

Please sign in to comment.