
Security News
TypeScript is Porting Its Compiler to Go for 10x Faster Builds
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
@nordnet/design-tokens
Advanced tools
This project turns design tokens into usable formats for our frontends. By using design tokens, we can maintain consistency across all platforms, tools, and products. Currently, we only provide colors for our different themes through design tokens.
This project turns design tokens into usable formats for our frontends. By using design tokens, we can maintain consistency across all platforms, tools, and products. Currently, we only provide colors for our different themes through design tokens.
Design Tokens are exported as JSON from Figma using the Design Tokens plugin and pasted into the tokens
folder in a new branch. Run npm run transform-tokens
which instructs Style Dictionary to transforms the tokens into our defined formats.
For local development, please follow these steps:
npm install
npm run transform-tokens
Note: If you are contributing via a pull request and your changes involve modifications to any tokens/*.json files, the project's GitHub Actions workflow will automatically perform this transformation step for you. This ensures that your contributions are seamlessly integrated without requiring manual token transformation.
If you want to utilize the themes provided by this repository, you can integrate them into your codebase like this:
npm install -D @nordnet/design-tokens
This installs the @nordnet/design-tokens
package as a development dependency.
import { lightTheme } from '@nordnet/design-tokens'
Replace lightTheme
with any other theme provided by the package as necessary.
This project generates design tokens for each theme in the following formats:
FAQs
This project turns design tokens into usable formats for our frontends. By using design tokens, we can maintain consistency across all platforms, tools, and products. Currently, we only provide colors for our different themes through design tokens.
The npm package @nordnet/design-tokens receives a total of 0 weekly downloads. As such, @nordnet/design-tokens popularity was classified as not popular.
We found that @nordnet/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.
Security News
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.