Forum Discussion
We are testing the following to see if it will work. Please let us know if you see any issues with our plan, and I will accept this post as solution if our test is successful.
we create a new skin on a child instance based upon parent skin from Master Responsive called inheritancetest
Delete all the contents of inheritancetest/sass/_styles.scss except one class definition. This class definition will be altered to prove that changes to _styles.scss do customize the site.
Edit inheritancetest/sass/skin.scss with the following line in order to include all of the Master Responsive classes during page load: import 'master_responsive/sass/_style'; This must appear above the import "style" statement in order to allow override to work.
The hypothesis is that changes to Master Responsive will be inherited by child instance, and the import line in skin.scss will make sure the latest shows on the child instance and the customizations ininheritancetest/sass/_styles.scss will be unaffected.
Related Content
- 11 years ago