
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
@volue/design-colors
Advanced tools
@volue/design-colors
Color primitives/tokens to be used across Volue's products
npm install @volue/design-colors --save
# or
yarn add @volue/design-colors
In JavaScript, design token names are formatted in lower camelCase. Tokens are exported as nested object structure.
const tokens = require('@volue/design-colors');
console.log(tokens.core.blue100); // rgb(0, 133, 159)
console.log(tokens.background.neutral.default);
Use flat
entrypoint to consume flattened tokens:
const tokens = require('@volue/design-colors/flat');
console.log(tokens.colorBlue100);
console.log(tokens.backgroundNeutralSubtle);
In JSON, design token names are formatted in SNAKE_CASE.
const tokens = require('@volue/design-colors/dist/index.json');
console.log(tokens['COLOR_WHITE']); // rgb(255, 255, 255)
Sass variables and map keys are formatted in kebab-case.
// Using variables
@import '~@volue/design-colors/dist/index';
a {
color: $color-accent90;
}
CSS variables/custom properties are formatted in kebab-case.
@import '~@volue/design-colors/dist/index.custom-properties.css';
a {
color: var(--color-accent90);
}
FAQs
Color primitives for Volue design primitives
The npm package @volue/design-colors receives a total of 1,307 weekly downloads. As such, @volue/design-colors popularity was classified as popular.
We found that @volue/design-colors demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.