Security News
The Risks of Misguided Research in Supply Chain Security
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
@animaapp/design-tokens-validator
Advanced tools
Design tokens are becoming more commonplace as a tool to help provide a consistent way of managing design system attributes.
Design tokens are becoming more commonplace as a tool to help provide a consistent way of managing design system attributes.
As the number of tools that include design token support increases, so does the importance of ensuring that your design tokens adhere to the Design Tokens Standard.
By having tokens that conform to this standard, you ensure that your tokens will be interoperable across a suite of different design system management platforms, like Anima.
If you want to validate your tokens online, try out our free online tool: ...
If you want to run this locally then:
npm i @animaapp/design-tokens-validator
validate
into your file:import { validate } from "@animaapp/design-tokens-validator";
const tokens = {
brand: {
$description: "Design tokens from our brand guidelines",
color: {
$description: "Our brand's primary color palette",
acid green: {
$value: "#00ff66"
},
hot pink: {
$value: "#dd22cc"
}
}
}
}
const errors = validate(tokens)
console.log(errors);
FAQs
Design tokens are becoming more commonplace as a tool to help provide a consistent way of managing design system attributes.
We found that @animaapp/design-tokens-validator demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 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
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
Research
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.