
Security News
PEP 810 Proposes Explicit Lazy Imports for Python 3.15
An opt-in lazy import keyword aims to speed up Python startups, especially CLIs, without the ecosystem-wide risks that sank PEP 690.
@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 1 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
An opt-in lazy import keyword aims to speed up Python startups, especially CLIs, without the ecosystem-wide risks that sank PEP 690.
Security News
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.