Security News
JSR Working Group Kicks Off with Ambitious Roadmap and Plans for Open Governance
At its inaugural meeting, the JSR Working Group outlined plans for an open governance model and a roadmap to enhance JavaScript package management.
@maltjoy/tokens
Advanced tools
This package includes all "Tokens" defined for Joy design system. You can find all of it on our Zeroheight documentation.
First, run this command :
npm i @maltjoy/tokens@latest
Replace @latest by the version you prefer.
If you use SCSS preprocessor, you have two choices :
// With or without the .css extension
@use '@maltjoy/tokens/dist/css/tokens.css';
// With or without the .css extension
@use '@maltjoy/tokens/src/colors';
@use '@maltjoy/tokens/src/elevations';
:root { // Or whatever selector you need, but this one will register all the properties at the document root
@include colors.getPaletteProperties();
@include elevations.getElevationsProperties();
}
Don't use
@import
synthax as it will be slowly deprecated and removed by SASS (https://sass-lang.com/documentation/at-rules/import)
FAQs
Malt design system tokens ecosystem
We found that @maltjoy/tokens demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
At its inaugural meeting, the JSR Working Group outlined plans for an open governance model and a roadmap to enhance JavaScript package management.
Security News
Research
An advanced npm supply chain attack is leveraging Ethereum smart contracts for decentralized, persistent malware control, evading traditional defenses.
Security News
Research
Attackers are impersonating Sindre Sorhus on npm with a fake 'chalk-node' package containing a malicious backdoor to compromise developers' projects.