2.0.0 • Published 7 years ago

employer-style-grid v2.0.0

Weekly downloads
2
License
Apache-2.0
Repository
github
Last release
7 years ago

employer-style-grid

A stack-agnostic SASS library providing a framework-agnostic, Neat-based grid system intended for the Employer experience.

Consumption

Add and install with Yarn:

$ yarn add employer-style-grid

Now, import sass/directives/00_variables/grid-settings after Bourbon and Neat in your main application.scss. Then, import sass/base. For example:

@import 'bourbon/app/assets/stylesheets/bourbon';
@import 'bourbon-neat/app/assets/stylesheets/neat-helpers';
@import 'bourbon-neat/app/assets/stylesheets/neat';
@import 'employer-style-grid/sass/base';

@import 'your-app';

You can now use Neat mixins and the provided breakpoints (see _grid-settings.scss), mixins and selectors.

What's included

At the moment, only uncompiled SASS source files are available for consumption. That means your application will need to perform the precompilation, whether it be through Webpack, Gulp, Grunt, Rails asset pipeline, etc. Do note that employer-style-grid simply wraps around and depends upon Neat to actually power its grid system.

Contributing

Updating the Version

After your PR is merged, update the semantic version number appropriately, add a release and publish via Yarn or npm.

Then update the package.json file in your project with the new version:

  "dependencies": {
    "employer-style-grid": "^2.0.0"
  }

Future

  • Implement build process to compile CSS into dist for easy consumption