Security News
Opengrep Emerges as Open Source Alternative Amid Semgrep Licensing Controversy
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
..a sassy offiziermesser for frontend development
Helium is a Sass toolkit that provide to the developer a lot of functions, mixins and variables to easily write complex stylesheets.
By default this library produces no output, you can import it and use some of its utils without your css growing in size beyond the expected.
@use 'helium';
$colors: (
1: helium.random-color(),
2: helium.random-color(),
3: helium.random-color(),
);
.my-button {
// ...styles
@each $class, $color in $colors {
&.#{$class} {
background: $color;
}
}
}
Note that in this way you are importing a css file.
<link rel="stylesheet" type="text/css" href="https://unpkg.com/helium" />
For a better experience:
npm i sass helium
@use 'helium' with (
$reset: true // this will print a basic reset to start with
);
Referring to the above example, due to the nature of Sass Modules to use an utility you need to prefix them:
@use 'helium' with (
$reset: true
);
.my-navbar {
@include helium.is-fixed-top;
}
// We recommend to, at least, shortening `helium` to `h`
// @use "helium" as "h";
To avoid the helium.
repetition, if you are not using another frameworks that would enter in conflict with helium you can do this:
@use 'helium' as * with (
$reset: true
);
.my-class {
@include is-fixed-top;
}
Docs are still under development, please do not hesitate to ask for information!
FAQs
Sassy offiziermesser for front-end development
We found that helium 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
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.