From 87330b35a7914e14e6673a67e5d79d08aee5507f Mon Sep 17 00:00:00 2001 From: Justin Willis Date: Thu, 29 Sep 2016 11:04:17 -0500 Subject: [PATCH] chore(changelog): add note about selectors --- CHANGELOG.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 98b4699d5eb..422c9ad5659 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -355,6 +355,15 @@ Note: For details on NgModules you can read the Angular docs on them [here](http 14. Move any variables from the mode specific sass files in your `beta.11` app into the `app.variables` file under the mode heading in the new RC0 app. +15. Add selectors to each of your components that are used as pages. These selectors will be used for scoped sass. With this change this is now the proper way to scope your sass for an individual page: +``` +page-selector-you-added { + #title { + color: blue; + } +} +``` + #### Modifying your Existing Project @@ -440,6 +449,15 @@ Note: For details on NgModules you can read the Angular docs on them [here](http 34. Add appropriate icon attributes, if the icon is on the left of the text in a button it should get `icon-left`, if the icon is on the right add `icon-right`, and if the button only has an icon in it, add the `icon-only` attribute to the button. [See New Behavior of Icons in Buttons](#new-behavior-of-icons-in-buttons). +35. Add selectors to each of your components that are used as pages. These selectors will be used for scoped sass. With this change this is now the proper way to scope your sass for an individual page: +``` +page-selector-you-added { + #title { + color: blue; + } +} +``` + ### Bug Fixes * **action-sheet:** add icon-left to the button if an icon exists ([a731528](https://github.com/driftyco/ionic/commit/a731528))