A package containing the components for the Helios Design System.
- Ember.js v4.12 or above
- Ember CLI v4.12 or above
- Node.js v18 or above
pnpm add @hashicorp/design-system-componentsYou will need to do three things before importing the styles into your app:
- Install
ember-cli-sass
ember install ember-cli-sass- Change
app/styles/app.csstoapp/styles/app.scss - Add the following to the
appdefinition (starts on/around line 6 in new Ember apps) inember-cli-build.js
sassOptions: {
precision: 4,
includePaths: [
'./node_modules/@hashicorp/design-system-tokens/dist/products/css',
'./node_modules/@hashicorp/design-system-components/dist/styles',
],
},Finally, add this line to the top of your app's style file (app.scss or similar):
@import '@hashicorp/design-system-components';*, *::before, *::after { box-sizing: border-box; } reset is applied globally in the CSS of the application. If in your use case this is not true, please speak with the Design Systems Team (we can try to find a workaround).
See the dedicated components website: https://helios.hashicorp.design/components
See the Contributing guide for details.
This project is licensed under the Mozilla Public License 2.0.