@1c7 wrote:
1. Question
- What is the correct way organize CSS file with Ember.js?
- Any general suggestion/advice on CSS when using Ember.js?
- How to write CSS per-component/ per-templates, avoid name confilct?
2. Why ask
I am trying to customize Discourse,
and theirapp/assets/stylesheets
just confusing,
How they avoid conflict with CSS name?Example:
.latest-topic-list, .top-topic-list { @extend .topic-list-icons; .table-heading { padding: 12px 5px; color: dark-light-choose($primary-medium, $secondary-high); } .no-topics, .more-topics { margin-top: 1em; } }
3. The research I done before asking question
- Google Search “Ember CSS” “ember where to put css”, not really helpful, otherwise I wouldn’t ask question here
- Ember.js document didn’t mention too much about it.
it did say CSS should go intoapp/styles/
https://ember-cli.com/user-guide/#layout-within-app-directory4. So
How to organize CSS file in Ember.js?
Thank you !
Posts: 9
Participants: 5