![Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility](https://cdn.sanity.io/images/cgdhsj6q/production/97774ea8c88cc8f4bed2766c31994ebc38116948-1664x1366.png?w=400&fit=max&auto=format)
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@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/variables.css";
.my-css-class {
color: var(--dt-color-purple-200)
}
Or
@import "node_modules/@dialpad/dialtone/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
npm 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 1,103 weekly downloads. As such, @dialpad/dialtone-tokens popularity was classified as 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 0 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
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.