
Security News
OpenGrep Restores Fingerprinting in JSON and SARIF Outputs
OpenGrep has restored fingerprint and metavariable support in JSON and SARIF outputs, making static analysis more effective for CI/CD security automation.
tailwind-bicolor
Advanced tools
Auto handle tailwind dark color.
<div class="bg-white dark:bg-black"></div>
<!-- Replace with below ↓↓↓ -->
<div class="bi:bg-white"></div>
Tested in tailwind 3.x only.
bg-white
to bg-black
bg-slate-50
to bg-slate-900
bg-slate-100
to bg-slate-800
bg-slate-200
to bg-slate-700
bg-slate-300/40
to bg-slate-600/40
For example:
<div class="bi:bg-green-400"></div>
will generate:
.bi\:bg-green-400 {
--tw-bg-opacity: 1;
/* green-400 */
background-color: rgb(74 222 128 / var(--tw-bg-opacity));
}
.dark .bi\:bg-green-400 {
/* green-500 */
background-color: rgb(34 197 94 / var(--tw-bg-opacity));
}
// tailwind.config.js
const { bicolor } = require('tailwind-bicolor');
module.exports = {
// ...
plugins: [bicolor()],
};
prefix support list:
FAQs
Auto handle tailwind dark color
The npm package tailwind-bicolor receives a total of 7 weekly downloads. As such, tailwind-bicolor popularity was classified as not popular.
We found that tailwind-bicolor 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
OpenGrep has restored fingerprint and metavariable support in JSON and SARIF outputs, making static analysis more effective for CI/CD security automation.
Security News
Security experts warn that recent classification changes obscure the true scope of the NVD backlog as CVE volume hits all-time highs.
Security Fundamentals
Attackers use obfuscation to hide malware in open source packages. Learn how to spot these techniques across npm, PyPI, Maven, and more.