
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
@myxplor/tokens
Advanced tools
Design tokens are named entities that store visual design attributes. Stardust manages it's design tokens with a build system called Style Dictionary that allows styles to be defined once, in a way for any platform (e.g., web, iOS, Android) or language to consume.
npm install
npm run build
Design tokens, are defined in the properties folder. Style properties are organized into a hierarchical tree structure with 'category' defining the primitive nature of the property. For example, we have the color category and every property underneath is always a color.
{
"color": {
"avatar": {
"brand": {
"background": {
"type": "color",
"value": "{color.hullOrange.1.value}"
}
}
}
}
}
Read more about the Category/Type/Item (CTI) structure here.
When built, design tokens are organised into three platforms - each with their own branded theme. It's this theme that overrides brand specific design decisions, like avatar color.
build
├── android
├── home
└── playground
├── iOS
├── home
└── playground
└── web
├── home
└── playground
Take a look at all the built-in transforms and formats that are used to build the tokens.
FAQs
Design decisions as tokens
The npm package @myxplor/tokens receives a total of 7 weekly downloads. As such, @myxplor/tokens popularity was classified as not popular.
We found that @myxplor/tokens demonstrated a not healthy version release cadence and project activity because the last version was released 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
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.