
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
Base styles and individual HTML component styles for the Helsinki Design System.
:books: See the components in Storybook
Install the package.
yarn add hds-core
hds-core/
├── src/ # source css
└── lib/
├── components/ # collection of HDS component styles
│ ├── all.css # bundled stylesheet including all components
| └── <component name>/ # component stylesheets
│ ├── <component name>.css
│ :
│
├── icons/ # collection of HDS icon styles
│ ├── icons.css # bundled stylesheet including all icons
│ ├── icon.css # base styles for icons
│ ├── icon-<icon name>.css # individual icon stylesheet
│ :
│
├── utils/ # utility stylesheets
├── variables/ # collection of css variables and base styles
└── base.css # base styles
To import styles for all the core components, you'll need two stylesheets: base.css (the base styles and CSS variables) and components/all.css. If you use any of the icons, you'll also need icons/icons.css. Do note that the components/all.css bundles all the components and icons/icons.css bundles all the icons into single stylesheets and thus are large in filesize.
Therefore, we do recommend that you use individual component and icon stylesheets instead of the bundled styles.
JS
// import base styles and css variables
import "hds-core";
The Helsinki fonts are not included in the package due to copyright reasons.
Helsinki Design System uses CSS variables from the hds-design-tokens package to control coloring, spacing and layout. You can override these variables if necessary, but it is not recommended.
Read more here.
FAQs
Core styles for the Helsinki Design System
The npm package hds-core receives a total of 2,013 weekly downloads. As such, hds-core popularity was classified as popular.
We found that hds-core demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.