0.0.1 • Published 7 years ago

postcss-textures v0.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

postcss-textures

XO code style

Use textures.js in CSS

Install

yarn add -D postcss-textures
npm i -D postcss-textures
postcss([textures])

Usage

For example, if you want to use the following on this page

textures.lines().heavier(10).thinner(1.5);

Write CSS like this. (It resembles a function like linear-gradient of the CSS)

.a {
  background: textures.lines(heavier 10, thinner 1.5)
}

The functions are as follows.

  • textures.lines
  • textures.circles
  • textures.paths

Related

textures.js

riccardoscalco/textures

http://riccardoscalco.github.io/textures/

MIT Copyright (c) 2015 Riccardo Scalco https://github.com/riccardoscalco/textures/blob/master/LICENSE.md#readme

License

The MIT License (MIT)

Copyright (c) 2017 nju33 nju33.ki@gmail.com