
Security News
Crates.io Implements Trusted Publishing Support
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
windicss-webpack-plugin
Advanced tools
:leaves: Windi CSS for webpack️
Next generation utility-first CSS framework.
⚠️ Consider using UnoCSS instead, it's a rebuild of the WindiCSS core with a lot of improvements and new features.
Status: Stable - Maintenance only Made possible by my Sponsor Program 💖 Follow me @harlan_zw 🐦 |
tailwind.config.js
@apply
, @variants
, @screen
, @layer
, theme()
,bg-gray-200 hover:(bg-gray-100 text-red-300)
Read the documentation for more details.
Design in DevTools mode
Add the import with your existing windi imports and you'll have autocompletion in your Chrome DevTools! See "Design in DevTools" for more information.
import 'virtual:windi-devtools'
Thanks await-ovo!
Enabled it by
// windi.config.ts
export default {
attributify: true
}
And use them as you would like:
<button
bg="blue-400 hover:blue-500 dark:blue-500 dark:hover:blue-600"
text="sm white"
font="mono light"
p="y-2 x-4"
border="2 rounded blue-200"
>
Button
</button>
// windi.config.ts
export default {
alias: {
'hstack': 'flex items-center',
'vstack': 'flex flex-col',
'icon': 'w-6 h-6 fill-current',
'app': 'text-red',
'app-border': 'border-gray-200 dark:border-dark-300',
},
}
MIT License © 2022 - Present Harlan Wilton
FAQs
windicss-webpack-plugin
The npm package windicss-webpack-plugin receives a total of 0 weekly downloads. As such, windicss-webpack-plugin popularity was classified as not popular.
We found that windicss-webpack-plugin demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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.
Security News
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.
Research
/Security News
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.