Add a styleguide stylesheet and setup SASS #10
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
this PR adds a couple quick new techs to our repo which will likely replace when we package them in with mern, and creates some TODOs for everyone:
@import 'common';to the top../css/compiled/filename.cssinstead of../css/filename.css(or i could just do that in this PR if y'all want)
also we should talk about default fonts because the styleguide uses Lato and Montserrat
gulp
The no-longer latest and greatest JS task runner, where you write your build tasks as javascript functions instead of configs. We only have 2 build tasks: compile our Sass, and serve the files on localhost. For now, all this means is you run
gulpwhile developing instead ofpython -m SimpleHTTPServeror whatever you've been doing.SASS
A CSS preprocessor with support for variables, nested styles, etc. The docs are really good: http://sass-lang.com/guide
Some notes:
_filename.scssfiles are partials, which can't be used as standalone stylesheets but can be used with@import 'filename';statements._common.scssand_styleguide.scssare example usages2 * $base-unit)