-
Notifications
You must be signed in to change notification settings - Fork 67
Open
Description
Make some CSS/SASS changes
- If the app is not already running, run
gulp serve. - Create a local "feature branch":
git checkout -b sass-edits - Edit
/app/styles/_variables.scss. For instance, you could change the$body-bgvariable to another color. - Note that the SASS was compiled to CSS and reloaded in the browser.
- In the running app, navigate to the search results page by doing a search for "water".
- Add new page-specific nested rules in the
/app/styles/results.scssfile. For instance, you might add a rule to change the color of theh2. Note that the rule for theh2is nested inside#page-results. - Note that the SASS was compiled to CSS and reloaded in the browser.
- Add and commit your changes to your branch:
git add . && git commit -m "sass changes" - Switch to the
masterbranch:git checkout master - Note that you no longer see your changes in the app - your changes are in your feature branch, not master.
- Merge your branch into master:
git merge sass-edits - Note that your changes are now in the master branch - you see them in the app.
Metadata
Metadata
Assignees
Labels
No labels