
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
@cnamts/design-tokens
Advanced tools
Design Tokens of our Design System
The Design Tokens are available in TypeScript, JavaScript and SCSS.
To install the tokens, you need to use yarn or npm:
yarn add @cnamts/design-tokens
# OR
npm install @cnamts/design-tokens
Only custom tokens are contained in this package, for default ones like font size or elevation, we use the helper classes from Vuetify.
In TypeScript, Design Tokens names are formatted in camelCase
.
import { tokens } from '@cnamts/design-tokens';
console.log(tokens.pageWidth); // 1440px
You can also import only the color theme:
import { colorTheme } from '@cnamts/design-tokens/src/colors';
In JavaScript, Design Tokens names are also formatted in camelCase
.
const { tokens } = require('@cnamts/design-tokens');
console.log(tokens.pageWidth); // 1440px
You can also use the import
syntax:
import { tokens } from '@cnamts/design-tokens';
In Sass, Design Tokens names are formatted in kebab-case
.
@import '@cnamts/design-tokens/dist/tokens';
.pro {
color: $vd-risque-pro; // #ef6c00
}
In JSON, Design Tokens names are also formatted in kebab-case
.
const { tokens } = require('@cnamts/design-tokens');
console.log(tokens['page-width']); // 1440px
FAQs
Design Tokens for the French Health Insurance
The npm package @cnamts/design-tokens receives a total of 137 weekly downloads. As such, @cnamts/design-tokens popularity was classified as not popular.
We found that @cnamts/design-tokens demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.