Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@cmsgov/design-system-core
Advanced tools
A UI component library and styleguide that is living, tested, importable, and iterable. The goal is to promote consistency across agency websites, speed up productivity, and serve as a future-friendly foundation.
You can download a .zip of the design system directly from GitHub's Releases page, however we suggest using a package manager like NPM or Yarn to install the design system package if you're working on a real world project. This way you can easily update the package when there's a new release.
Important: The NPM package is currently a private package. In order to install it you must have access to the package.
npm login
npm install --save @cmsgov/design-system-core
or if you're using Yarn:
yarn login
yarn add @cmsgov/design-system-core
Source files can be imported from the src
directory. Transpiled files can be found in the dist
directory.
Import all Sass styles:
@import 'node_modules/@cmsgov/design-system-core/src/index';
Link to transpiled CSS:
<link rel="stylesheet" src="node_modules/@cmsgov/design-system-core/dist/index.css" />
Import JSX component:
import {Button} from '@cmsgov/design-system-core';
...
<Button>Foo</Button>;
Apply base-level of styles and use a utility class:
<html>
<head>
<link rel="stylesheet" src="node_modules/@cmsgov/design-system-core/dist/index.css" />
</head>
<body class="ds-base">
<h1 class="ds-u-font-size--title">Hello world</h1>
</body>
</html>
├── dist Transpiled CSS and fonts
└── src Sass and JSX
├── base Base HTML styles (scoped to .ds-base)
├── components Sass and React components
│ ├── Button
│ └── etc...
├── fonts
├── generics Far reaching selectors
├── layouts Structural patterns; No cosmetics.
├── settings Globally-available settings and config options
├── tools Helper functions and public mixins
├── utilities Functional CSS classes to apply individual traits
└── vendor Third-party libraries
FAQs
Core Sass/CSS and React design system assets
The npm package @cmsgov/design-system-core receives a total of 394 weekly downloads. As such, @cmsgov/design-system-core popularity was classified as not popular.
We found that @cmsgov/design-system-core demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 39 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 uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.