Skip to content

hagenburger/redgreengrid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 

Repository files navigation

RedGreenGrid

A baseline grid for the web. Based on an original concept from 2014.

Background

I stopped working on it as it got too complex. While this was a technical problem, I still like the concept. I also like readme driven development. So here’s my idea, maybe I’ll use it to rewrite the gem. The original version is still available in the master branch.

Concept

visualisation

Technical Implementation

There’s a nice post on aligning Sass to the baseline grid by @razvanonofrei. It builds a traditional baseline grid. It can be adopted our needs easily. Three things are missing:

  • Margins (the current implementation makes it impossible)
  • The red grid in the visualisation above
  • The right cap height

The first two issues can be solved, the second one is hard work each time. So it would be nice to have the data collected in a gem—easily extendable by pull requests.

The API could look like:

$redgreengrid: (
  base-font-size: 14px,
  base-line-height: 1.5
);

.example {
  @include font(helvetica-neue, 14px);
}

Feedback

Let me know your feedback on my Twitter account or just open an issue.

About

Compass extention for creating baseline grid layouts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published