Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
@sendgrid/design-primitives
Advanced tools
Global design primitives/tokens to be used across SendGrid's products, stored as json data.
This package is currently being used for Style Guide and SendGrid.design.
npm install @sendgrid/design-primitives --save
@import '@sendgrid/design-primitives/tokens/sg-style-guide/scss/base.scss';
.my-selector {
color: $color-slate-20;
}
@import '@sendgrid/design-primitives/tokens/sg-style-guide/css/base.css';
.my-selector {
color: var(--color-slate-20);
}
// Individual tokens
import { colfax } from '@sendgrid/design-primitives/tokens/sg-style-guide/es6/base.es6';
console.log(colfax);
// Token category
import { colors } from '@sendgrid/design-primitives/tokens/sg-style-guide/es6/base.es6';
console.log(colors.colorCodePurple);
// All tokens
import * as tokens from '@sendgrid/design-primitives/tokens/sg-style-guide/es6/base.es6';
// Individual tokens
import { colfax } from '@sendgrid/design-primitives/tokens/sg-style-guide/common/base.common';
console.log(colfax);
// Token category
import { colors } from '@sendgrid/design-primitives/tokens/sg-style-guide/common/base.common';
console.log(colors.colorCodePurple);
// All tokens
import * as tokens from '@sendgrid/design-primitives/tokens/sg-style-guide/common/base.common';
[1.3.5] - 2020-01-29
FAQs
SendGrid design primitives
The npm package @sendgrid/design-primitives receives a total of 26 weekly downloads. As such, @sendgrid/design-primitives popularity was classified as not popular.
We found that @sendgrid/design-primitives demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 21 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
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.