
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
ember-component-css-withbp
Advanced tools
An Ember CLI addon which allows you to specify CSS inside of component pod directories
An Ember CLI addon which allows you to specify CSS inside of component pod directories
The announcement from EmberConf 2015

ember install ember-component-css
This addon allows you to specify a styles.css file inside of your component's pod folder (app/my-component/styles.css).
Rules defined inside of these styles.css files will automatically be namespaced with an autogenerated class. That autogenerated class will also be injected into your component's classNames property. This enables you to worry less about rules clashing across component styles.
For example, given this app/my-component/styles.css file:
& {
padding: 2px;
}
.urgent {
color: red;
}
Your generated CSS output will look something like:
.my-component-a34fba {
padding: 2px;
}
.my-component-a34fba .urgent {
color: red;
}
A typical component invocation that looks like this:
{{my-component}}
will generated markup like:
<div class="my-component-a34fba"></div>
To use this addon with another preprocessor (such as Sass or Less), simply import pod-styles into your base app stylesheet.
For example, if you're using Sass:
// app/styles/app.scss
@import "pod-styles";
And that is it! The pod-styles file is generated during the build and will then be pulled into your other stylesheet to be processed like normal.
Approved preprocessors:
FAQs
An Ember CLI addon which allows you to specify CSS inside of component pod directories
We found that ember-component-css-withbp 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.