Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
babel-plugin-styled-wind
Advanced tools
Readme
babel-plugin-styled-wind
This plugin is a highly recommended supplement to the base styled-wind library, offering some useful features:
styled-wind
Note: For testing/playing around the tool, use the actual library. Use the babel-pligin-styled-wind
only for production to avoid unnecssary configurations. If you are using create-react-app
, you should eject
before using it.
Install the plugin first:
npm install --save-dev babel-plugin-styled-wind
or
yarn add -D babel-plugin-styled-wind
Then add it to your babel configuration:
{
"plugins": ["babel-plugin-styled-wind"]
}
The configurations works very similar to tailwindcss with few exceptions. Details about configuring or extending the default theme object can be found here
styled-wind.js
in the root of your project and add custom styles in it. A sample implementation:// styled-wind.js
module.exports = {
theme: {
extend: {
colors: {
cyan: '#9cdbff'
},
}
}
}
More detailed documentation for styled-wind lives on the styled-wind website!
Licensed under the MIT License, Copyright © 2020-present Vilva Athiban and Ameer Jhan.
See LICENSE.md for more information.
FAQs
Reduce build size and enable simple migration from styled-components with additional babel config
The npm package babel-plugin-styled-wind receives a total of 4 weekly downloads. As such, babel-plugin-styled-wind popularity was classified as not popular.
We found that babel-plugin-styled-wind 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.