Installation

Nicholas Frota edited this page Mar 21, 2017 · 1 revision

Via Bower

  1. Go to your project folder and run bower install tile --save
  2. on your main SASS file, add @import ./bower_components/tile/tile.sass
snippet description
tile pattern mixin
knockout Applies pattern effects on text

Variables are, in order:

  • $tile (see below)
  • $size (in px)
  • $background-color
  • $foreground-color
  • $background-alpha (defaults to 1)
  • $foreground-alpha (defaults to 1)
type tile
lines lines-a, lines-b, lines-c
lines-down lines-down-a, lines-down-b, lines-down-c
lines-up lines-up-a, lines-up-b, lines-up-c
lines-vert lines-vert-a, lines-vert-b, lines-vert-c
cross cross-a, cross-b, cross-c
cross-thin cross-thin-a, cross-thin-b, cross-thin-c
dots dots-a, dots-b, dots-c
Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.