
Security News
The Changelog Podcast: Practical Steps to Stay Safe on npm
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.
@volue/design-media-queries
Advanced tools
@volue/design-media-queriesMedia query primitives/tokens to be used across Volue's products

npm install @volue/design-media-queries --save
# or
yarn add @volue/design-media-queries
In JavaScript, design token names are formatted in lower camelCase.
const tokens = require('@volue/design-media-queries');
console.log(tokens.mqLargeAndUp); // screen and ( min-width: 48.75em )
In JSON, design token names are formatted in SNAKE_CASE.
const tokens = require('@volue/design-media-queries/dist/index.json');
console.log(tokens['MQ_LARGE_AND_UP']); // screen and ( min-width: 48.75em )
Sass variables and map keys are formatted in kebab-case.
// Using variables
@import '~@volue/design-media-queries/dist/index';
@media #{$mq-large-and-up} {
  body {
    padding: 1rem;
  }
}
FAQs
Media queries for Volue design primitives
The npm package @volue/design-media-queries receives a total of 575 weekly downloads. As such, @volue/design-media-queries popularity was classified as not popular.
We found that @volue/design-media-queries 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.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.

Security News
Ruby's creator Matz assumes control of RubyGems and Bundler repositories while former maintainers agree to step back and transfer all rights to end the dispute.