
Product
Introducing Socket Scanning for OpenVSX Extensions
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.
@volue/design-colors
Advanced tools
@volue/design-colorsColor 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
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.

Product
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.

Product
Bringing supply chain security to the next generation of JavaScript package managers

Product
A safer, faster way to eliminate vulnerabilities without updating dependencies