Security News
RubyGems.org Adds New Maintainer Role
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
@littlemissrobot/sass-spacing
Advanced tools
Little Miss Robot spacing setup for defining spacing variables.
This package contains logic and functionality to define and insert consistent spacing throughout the UI. This package is part of a bigger package: "@littlemissrobot/sass-system", but can be used as a standalone package.
This package does not contain or generate any CSS. It simply provides a system
with @function
and @mixin
statement to manage spacing. It is part of the
@littlemissrobot/sass-system package.
Make use of Dart Sass:
This library makes use of Dart Sass, which is the primary implementation of Sass. Make sure that your Sass compiler is making use of Dart Sass.
Generate only what you need:
This library generates classes based on your configuration. The larger the configuration, the more css, the larger the CSS file. DO NOT enable all the config options, but only the ones you actually use and need!
# As a dependency
$ npm install @littlemissrobot/sass-spacing
# As a dev-dependency
$ npm install --save-dev @littlemissrobot/sass-spacing
@use "YOUR-PATH-TO-NODE_MODULES/@littlemissrobot/sass-spacing" as _spacing;
@use "YOUR-PATH-TO-NODE_MODULES/@littlemissrobot/sass-spacing" as _spacing with (
$baseline: 8px,
);
_spacing
.@use "YOUR-PATH-TO-NODE_MODULES/@littlemissrobot/sass-spacing" as _spacing with (
$baseline: 8px,
);
The $baseline
is the spacing baseline for determining a scale. We recommend
using 8px, but if you require a smaller value, we suggest using 4px.
Calculate a step of the $baseline
, calculated in a linear pattern. By default
this will return a number in rem
. The value passed must be a number without a
unit.
Parameters:
@use "@littlemissrobot/sass-spacing" as _spacing with (
$baseline: 8px,
);
_spacing.step(1); // 0.5rem
_spacing.step(2); // 1rem
FAQs
Little Miss Robot spacing setup for defining spacing variables.
The npm package @littlemissrobot/sass-spacing receives a total of 18 weekly downloads. As such, @littlemissrobot/sass-spacing popularity was classified as not popular.
We found that @littlemissrobot/sass-spacing demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.