mdg:color-grid

v0.2.3Published 8 years ago

This package has not had recent updates. Please investigate it's current state before committing to using it in your project.

Usage:

@import '{color-grid}/color-grid.import.less';
.clr-grid {
  width: 300px; // must size the component yourself
  height: 300px;
  .color-grid(@size, @top-left, @top-right, @bottom-right, @bottom-left);
}

@size: an integer number of cells per side in the grid, and the rest of the arguments are colors for every corner.