I am not Ember Guru, however I wanted to call back with some useful conventions and tools that the Ember community accepts regarding style sheets when we adopt a component-based future.
Note: ember-cli and scss .
Via this mail: Agile Design Manifesto . You do not need to embed all your stylesheets in the pod structure to get benefits if you ...
"Organizing SCSS by route and component"
For components, the article assumes that you want your choices to be global:
> stylesheets/components/_flash_messages.scss
.flash-messages { background-color: $default-flash-color; }
For resources, you can use Ember identifiers and conventions to ensure that the template with the given ID will be displayed once, and your SCSS code may look like this:
> stylesheets/routes/_posts.scss
#posts { @import "show"; @import "new"; @import "edit"; }
You can use this to override the global style and create an artificial CSS area.
Imported styles of the displayed route can be:
> stylesheets/routes/posts/_show.scss
#posts-show { .flash-messages { background-color: $posts-show-flash-color; } }
Given these recommendations, you can use a module, for example: ember-cli-sass-pods , so that you can create style sheets in your routes or components. Then you will need to add @import to the generated files in your app.scss file.