Research
Security News
Kill Switch Hidden in npm Packages Typosquatting Chalk and Chokidar
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
@cmsgov/design-system
Advanced tools
This package contains the following design system assets:
npm install --save @cmsgov/design-system
The source files included are written in Sass (.scss
). You can add your node_modules
directory to your Sass includePaths
and import the file like this:
@import '@cmsgov/design-system/dist/scss/index';
or import the transpiled CSS:
@import '@cmsgov/design-system/dist/css/index';
Please view the documentation site for additional information.
Examples of the design system in use can be found in the examples
directory on GitHub.
Please submit an issue on GitHub for any bugs or feature requests.
You can also read our CONTRIBUTING.md document to learn about setting up a local development environment, contributing to the design system, and our coding guidelines.
The design system follows a variation of ITCSS (Inverted Triangle architecture for CSS). The goal is to write CSS in specificity order.
└── @cmsgov/design-system/dist
├── components/
│ └── index.js Compiled JS entry point (CommmonJS)
├── css/
│ └── index.css Compiled CSS entry point
├── esnext/
│ └── index.esm.js Compiled JS entry point (ES Module)
├── fonts/
├── images/
├── scss/
│ ├── base/ Base styles, HTML element selectors
│ ├── components/ Component styles
│ ├── settings/ Variables, mixins, and functions
│ ├── utilities/ Utility classes for individual CSS properties
│ └── index.scss Precompiled SCSS entry point
└── types/ Typescript definition files
FAQs
CMS Design System Sass/CSS and React assets
The npm package @cmsgov/design-system receives a total of 792 weekly downloads. As such, @cmsgov/design-system popularity was classified as not popular.
We found that @cmsgov/design-system demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.
Research
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.