Skip to content

Use ember-css-modules for automatic style scoping #2111

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Jan 13, 2020

Conversation

Turbo87
Copy link
Member

@Turbo87 Turbo87 commented Jan 9, 2020

This PR allows us to use per-component/route CSS modules from now on. More information is available at https://github.com/salsify/ember-css-modules, but the tl;dr is that these files are automatically scoped to the corresponding component/route, which reduces the potential for class name conflicts.

Unfortunately, our CSS is currently a bit of a 🍝 bowl, so it will take some time to untangle this into properly scoped modules.

r? @locks

@Turbo87 Turbo87 changed the title Css modules Use ember-css-modules for automatic style scoping Jan 9, 2020
@Turbo87 Turbo87 force-pushed the css-modules branch 3 times, most recently from 72b3da1 to cfe46cf Compare January 9, 2020 18:55
@locks
Copy link
Contributor

locks commented Jan 13, 2020

@bors r+

@bors
Copy link
Contributor

bors commented Jan 13, 2020

📌 Commit 0b5082d has been approved by locks

@bors
Copy link
Contributor

bors commented Jan 13, 2020

⌛ Testing commit 0b5082d with merge e9c9341...

bors added a commit that referenced this pull request Jan 13, 2020
Use `ember-css-modules` for automatic style scoping

This PR allows us to use per-component/route CSS modules from now on. More information is available at https://github.com/salsify/ember-css-modules, but the tl;dr is that these files are automatically scoped to the corresponding component/route, which reduces the potential for class name conflicts.

Unfortunately, our CSS is currently a bit of a 🍝  bowl, so it will take some time to untangle this into properly scoped modules.

r? @locks
@bors
Copy link
Contributor

bors commented Jan 13, 2020

☀️ Test successful - checks-travis
Approved by: locks
Pushing e9c9341 to master...

@bors bors merged commit 0b5082d into rust-lang:master Jan 13, 2020
bors added a commit that referenced this pull request Jan 13, 2020
Pagination: Fix `.active` link styling

Fixes a small issue I introduced in #2111 😱

r? @locks
JonathanHelianthicusDoe added a commit to JonathanHelianthicusDoe/crates.io that referenced this pull request Jan 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants