0.0
No commit activity in last 3 years
No release in over 3 years
A frontend stack for pieces gem
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

 Project Readme

Bits n Pieces

Gem Version

This library was built to play with pieces, a front end toolkit for ruby.

This library is opinionated so you might prefer to roll your own.

Installation

Just add the following lines to your Gemfile:

gem 'pieces'
gem 'bits-n-pieces'
gem 'sprockets', github: 'rails/sprockets' # using master until v4 released

Batteries Included

Useful things

Here is a quick summary of other bits included.

@import 'bits/media_queries';

html {
  font-size: 16px;

  @include from(tablet) {
    font-size: 20px;
  }
}
@import 'bits/normalize';

// includes latest normalize.css
@import 'bits/reset';

// applies zero margin, zero padding and box-sizing: border-box
// to all elements
@import 'bits/columns';

// shortcut for including bourbon and neat for columns