
Research
Security News
Malicious npm Packages Use Telegram to Exfiltrate BullX Credentials
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.
tailwindcss-dotted-background
Advanced tools
A simple Tailwind CSS plugin that adds dotted backgrounds with all for all configured colors and spacing.
A simple Tailwind CSS plugin that adds dotted backgrounds with all for all configured colors and spacing.
First install the package:
npm install -D tailwindcss-dotted-background
or
yarn add tailwindcss-dotted-background -D
Then require the installed plugin directly in your tailwind.config.js
:
// tailwind.config.js
module.exports = {
theme: {
// ...
},
plugins: [
require('tailwindcss-dotted-background'),
// ...
],
}
Combine the bg-dotted-spacing-{spacing}
and bg-dotted-{colors}
classes to specify the spacing and the color of the dots.
<div class="bg-dotted-spacing-4 bg-dotted-gray-200" />
<div class="bg-dotted-spacing-[9px] bg-dotted-red-300 hover:bg-dotted-spacing-2" />
The default radius of the dots is 1px
. Use bg-dotted-radius-{spacing}
to change the size.
<div class="bg-dotted-spacing-6 bg-dotted-red-700 bg-dotted-radius-1" />
bg-dotted-spacing-{spacing}
changes both the width and height at once. Use bg-dotted-spacing-x-{spacing}
and bg-dotted-spacing-y-{spacing}
to specify different height and width.
<div class="bg-dotted-spacing-x-6 bg-dotted-spacing-y-3 bg-dotted-cyan-900" />
Dots are created using background-image
and background-size
so these utilities are incompatible with any classes using these properties.
Arbitrary values are supported for both bg-dotted-spacing-{spacing}
and bg-dotted-{colors}
classes.
FAQs
A simple Tailwind CSS plugin that adds dotted backgrounds with all for all configured colors and spacing.
We found that tailwindcss-dotted-background 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.
Research
Security News
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.
Research
Security News
Malicious npm packages posing as developer tools target macOS Cursor IDE users, stealing credentials and modifying files to gain persistent backdoor access.
Security News
AI-generated slop reports are making bug bounty triage harder, wasting maintainer time, and straining trust in vulnerability disclosure programs.