Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
@seedcss/seed-badge
Advanced tools
Badge component pack for Seed
npm install @seedcss/seed-badge --save
Check out our documentation of this pack.
This seed pack needs to be imported into your sass pipeline. Below is an example using Gulp:
const gulp = require("gulp");
const sass = require("gulp-sass");
const pathfinder = require("sass-pathfinder");
const pack = require("@seedcss/seed-badge");
gulp.task("sass", function() {
return gulp
.src("./sass/**/*.scss")
.pipe(
sass({
includePaths: pathfinder(
// Other includePaths...
pack
)
})
)
.pipe(gulp.dest("./css"));
});
Once that is setup, simply @import
seed-badge as needed in your .scss
file:
// Packs
@import "pack/seed-badge/_index";
The following variables can be found in _config.scss
// Badge :: Config
// Namespace
$seed-badge-namespace: "c-badge" !default;
// Border
$seed-badge-border-radius: 2px !default;
// Colors
$seed-badge-background-color: #A5B2BD !default;
$seed-badge-text-color: #fff !default;
// Font
$seed-badge-font-size: 11px !default;
$seed-badge-font-weight: 600 !default;
$seed-badge-text-transform: uppercase !default;
// Padding
$seed-badge-padding: 4px 5px !default;
// Config for state prefix
// options: true || false
// if true, then badge states will compile with the defined state prefix
// Default is ".is-"
// Example:
// .is-success {
// ...
// }
$seed-badge-enable-state-prefix: true !default;
$seed-badge-state-prefix: "is" !default;
FAQs
Badge component pack for Seed
The npm package @seedcss/seed-badge receives a total of 3 weekly downloads. As such, @seedcss/seed-badge popularity was classified as not popular.
We found that @seedcss/seed-badge demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
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.