Security News
Nightmares on npm: How Two Malicious Packages Facilitate Data Theft and Destruction
Our threat research team breaks down two malicious npm packages designed to exploit developer trust, steal your data, and destroy data on your machine.
@volue/design-elevation
Advanced tools
@volue/design-elevation
Elevation primitives/tokens to be used across Volue's products
npm install @volue/design-elevation --save
# or
yarn add @volue/design-elevation
In JavaScript, design token names are formatted in lower camelCase.
const tokens = require('@volue/design-elevation');
console.log(tokens.elevationM);
In JSON, design token names are formatted in SNAKE_CASE.
const tokens = require('@volue/design-elevation/dist/index.json');
console.log(tokens['ELEVATION_M']);
Sass variables and map keys are formatted in kebab-case.
// Using variables
@import '~@volue/design-elevation/dist/index';
div {
box-shadow: $elevation-m;
}
FAQs
Shadow/elevation primitives for Volue design primitives
We found that @volue/design-elevation demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
Our threat research team breaks down two malicious npm packages designed to exploit developer trust, steal your data, and destroy data on your machine.
Security News
A senior white house official is urging insurers to stop covering ransomware payments, indicating possible stricter regulations to deter cybercrime.
Security News
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.