
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
radi-color-css
Advanced tools
A simple package that contains all the Radix Colors in a single importable CSS file, tailwind config, and tailwind safelist
A simple package that contains all the Radix Colors in a single importable CSS file, tailwind config, and tailwind safelist
modify your tailwind.config.js
as follows:
import { radixColors, tailwindSafelist } from 'radi-color-css'
export default {
darkMode: 'class',
content: ['./src/**/*.{ts,tsx}'],
// Include the safelist if Tailwind's JIT compiler dosnt show all colors unless explicitly named. This will increase your app bundle size !!!
safelist: [
...tailwindSafelist
],
theme: {
// OVERRIDE the base theme completely instead of extending it
colors: {
...radixColors,
},
// EXTEND the base theme completely instead of extending it
extend: {
colors: {
...radixColors,
}
}
// ...rest of your config
}
}
modify your global.css
as follows:
// import the CSS file that contains all colors
@import "radi-color-css/dist/colors.css";
@tailwind base;
@tailwind components;
@tailwind utilities;
MIT License © Omar McAdam
FAQs
A simple package that contains all the Radix Colors in a single importable CSS file, tailwind config, and tailwind safelist
The npm package radi-color-css receives a total of 104 weekly downloads. As such, radi-color-css popularity was classified as not popular.
We found that radi-color-css demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.