
Company News
Free Business Plan Upgrades for Open Source Maintainers
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.
postcss-subtle
Advanced tools
PostCSS plugin to automatically download and unzip images from subtlepatterns.com.
PostCSS plugin to automatically download and unzip images from subtlepatterns.com..
.foo {
background: subtle('seigaiha');
}
Downloads the file at https://subtlepatterns.com/patterns/seigaiha.zip and extrcts the first image file in the zip to your local asset path, and returns the following reference in your css.
.foo {
background: url('{server_path}/seigaiha.png');
}
localPathType: string
Default: ''
Defines the local path where the downloaded image file is extracted to. This path is relative to the location the postCSS task is executing.
serverPathType: string
Default: ''
Defines the base path used for image file references in the css. It should refer to the url corresponding to the localPath, or where those files will be moved to by later processing steps.
var subtle = require('postcss-subtle').default;
postcss([ subtle({ localPath: 'assets/images', serverPath: '../images' }) ])
See PostCSS docs for examples for your environment.
FAQs
PostCSS plugin to automatically download and unzip images from subtlepatterns.com.
We found that postcss-subtle 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.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.