Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@modulz/radix-system
Advanced tools
WIP
yarn add @modulz/radix-system
Built on top of @styled-system/core by Brent Jackson.
Radix System is currently under development, but if you'd like to use it anyway:
# npm
npm install @modulz/radix-system
# yarn
yarn add @modulz/radix-system
Radix System is an alternative to Styled System, built on the same Core package but with a few tweaks:
color
style function has been renamed to textColor
space
has been split into margin
and space
variant
APIImport style functions:
import styled from 'styled-components';
import { margin, backgroundColor, compose } from '@modulz/radix-system';
const styleProps = compose(
margin,
backgroundColor
);
const Box = styled('div')(styleProps);
const App = () => (
<Box my={4} bg="blue">
Hey there 👋
</Box>
);
With Typescript:
import styled from 'styled-components';
import {
margin,
MarginProps,
backgroundColor,
BackgroundColorProps,
compose,
} from '@modulz/radix-system';
const styleProps = compose(
margin,
backgroundColor
);
type BoxProps = MarginProps & BackgroundColorProps;
const Box = styled('div') < BoxProps > styleProps;
const App = () => (
<Box my={4} bg="blue">
Hey there 👋
</Box>
);
Proper docs coming soon.
MIT © Modulz
FAQs
Radix System Library
The npm package @modulz/radix-system receives a total of 112 weekly downloads. As such, @modulz/radix-system popularity was classified as not popular.
We found that @modulz/radix-system demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.