
Product
Introducing Socket Firewall Enterprise: Flexible, Configurable Protection for Modern Package Ecosystems
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.
@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 rules
βΒ Β βββ core-theme.css Core-theme tokens as CSS variables
βββ scss/
β βββ core-theme.scss Sass version of core-theme tokens
βΒ Β βββ *-tokens.scss Copy of core-theme.scss for backwards compatability
βββ fonts/
βΒ Β βββ * Fonts referenced by the design system CSS
βββ images/
βΒ Β βββ * Images referenced by the design system CSS
βββ {preact,react}-components/
βΒ Β βββ bundle/ Bundled version of JavaScript components
βΒ Β βββ cjs/ CommonJS compiled version of JavaScript components
βΒ Β βββ esm/ ES Modules compiled version of JavaScript components
βΒ Β βββ types/ TypeScript definition files for JavaScript components
βββ web-components
βββ bundle/
βββ all.js All web components bundled together (standalone file)
βββ base.js Base code necessary for loading individual web component bundles
βββ ds-*.js Individual web component bundles
FAQs
CMS Design System Sass/CSS and React assets
The npm package @cmsgov/design-system receives a total of 2,036 weekly downloads. As such, @cmsgov/design-system popularity was classified as 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 52 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.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authoritiesβ publishing activity, highlighting trends and transparency across the CVE ecosystem.

Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socketβs new workflow scanning support.