Sha256: fa7bef0f42265a931194595b517e6489ed192ca7b58001ce24f58b805462b29b

Contents?: true

Size: 1.61 KB

Versions: 1

Compression:

Stored size: 1.61 KB

Contents

Atlas Assets
============

This Ruby gem holds all shared assets used throughout the O'Reilly Atlas platform. 

Style Guide
-----------

For reference, visit the online [style guide documentation](http://atlas-assets.herokuapp.com) included in this gem.

Usage
-----

To use in a new Rails application, add the gem to your Gemfile, and add the following to your CSS (`app/assets/stylesheets/application.css`) and JS (`app/assets/javascripts/application.js`) manifest files.

```javascript
*= require atlas_assets
```

Along with all the CSS and JS widgets, it will include our base bundle of JS libraries (`JQuery`, `underscore.js`, `backbone.js`, etc)

Adding new styles
-----------------

If you need to add or change styles in this gem, first get a local environment set up:

1. Clone down the gem to your local machine
2. Run `bundle` from the gem root
3. Fire up jekyll by running `jekyll serve --watch`

You now have the site running in your browser on `localhost:4000`. Now follow these steps to add and document the new style(s):

1. Create you own feature branch
2. Implement your style by tweaking the CSS and checking the documentation on `localhost:4000`. Do not work from the specific Atlas Rails app by updating the gem constantly. All new styles should be developed using the `docs`, and should be independent from a particular application.
3. When ready, bump the version number in `lib/atlas_assets/version.rb`, and send a pull request to the master branch. We'll then release the new gem version by running `gem build` and `gem push`.
4. Bump the `atlas_assets` gem version in your apps `Gemfile`, run `bundle`, and use the new styles.

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
atlas_assets-0.0.7 README.md