
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
basscss-radium
Advanced tools
Basscss as Radium-flavoured inline
styles.
npm install --save basscss-radium
const React = require('react');
const Radium = require('radium');
const Bass = require('basscss-radium');
/**
* Badges are used to represent properties and states and to tease
* quantities of resources behind navigation links. Use basic utilities
* and color styles to create badges.
*/
const Badge = ({ text }) => {
return (
<span style={[
Bass.h2,
Bass.inlineBlock,
Bass.px1,
Bass.white,
Bass.bgRed,
Bass.rounded,
]}>
{ text }
</span>
);
};
Badge.displayName = 'Badge';
Badge.propTypes = {
/**
* Text displayed in the badge.
*/
text: React.PropTypes.string,
};
module.exports = Radium(Badge);
Pssst...jump into the playground to see it in action.
Brent Jackson (jxnblk.com) is the original creator and maintainer of Basscss. We encourage you to take a look at Rebass for an alternative to using Basscss with React.
This program is free software: you can redistribute it and/or modify it under the terms of the MIT LICENSE.
FAQs
Basscss as Radium-flavoured inline styles.
The npm package basscss-radium receives a total of 0 weekly downloads. As such, basscss-radium popularity was classified as not popular.
We found that basscss-radium 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
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.