Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
@dialpad/dialtone-tokens
Advanced tools
Design tokens for Dialpad's design system Dialtone and everything related to building and publishing them.
Design tokens are all the defined values that are part of the design system, such as color, spacing, typography, and more. The goal is to store design tokens as JSON and output and publish them to many different formats (CSS, LESS, Android, iOS, etc) upon build.
To use Dialtone Tokens in your project:
npm install @dialpad/dialtone-tokens
@import "node_modules/@dialpad/dialtone-css/css/variables.css";
.my-css-class {
color: var(--dt-color-purple-200)
}
Or
@import "node_modules/@dialpad/dialtone-css/less/variables.less";
.my-css-class {
color: @dt-color-purple-200
}
File > Swift Packages > Add Package Dependency
https://github.com/dialpad/dialtone-tokens-swift
<dependency>
<groupId>design.dialpad.tokens</groupId>
<artifactId>dialtone-tokens</artifactId>
<version>1.2.0</version>
</dependency>
mvn install
npm install
pnpm run build
to build tokens. Built tokens will be output to the dist folder.base.json
Contains tokens exported from figma.tokens/tokens.json
Contains tokens in style dictionary format (generated from base.json
).dist
Contains tokens in their final output form, in multiple different formats.FAQs
Design tokens for Dialtone.
The npm package @dialpad/dialtone-tokens receives a total of 644 weekly downloads. As such, @dialpad/dialtone-tokens popularity was classified as not popular.
We found that @dialpad/dialtone-tokens demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 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
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.