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.
@evilmartians/harmony
Advanced tools
The [Harmony palette](https://www.figma.com/community/file/1287828769207775946/harmony-accessible-ui-color-palette) is designed to elevate control over color contrast in your design system. With the OKLCH color space and the innovative APCA contrast algor
The Harmony palette is designed to elevate control over color contrast in your design system. With the OKLCH color space and the innovative APCA contrast algorithm, Harmony offers highly consistent color shades, previously unavailable P3 gamut colors, and precise control over text and UI element contrast.
npm install @evilmartians/harmony
Harmony can work as drop-in replacement for the Tailwind color palette:
// tailwind.config.js
import harmonyPalette from "@evilmartians/harmony/tailwind";
export default {
theme: {
colors: harmonyPalette,
},
//...
};
⚠️ Harmony uses
oklch
colors and so requires a polyfill
npm install -D @csstools/postcss-oklab-function
postcss.config.js
:export default {
plugins: {
tailwindcss: {},
+ '@csstools/postcss-oklab-function': { 'preserve': true },
autoprefixer: {},
},
}
Plain javascript object with colors without tailwind's specifics can be imported from @evilmartians/harmony/base
FAQs
![Harmony](cover.png)
The npm package @evilmartians/harmony receives a total of 112 weekly downloads. As such, @evilmartians/harmony popularity was classified as not popular.
We found that @evilmartians/harmony 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
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.