Liking cljdoc? Tell your friends :D
ClojureScript only.

tincture.gradient

Generate CSS ready gradients from uigradients.com

Generate CSS ready gradients from [uigradients.com](https://uigradients.com/)
raw docstring

csscljs

(css palette-name)
(css palette-name direction)

Takes a name, that should correspond with gradients listed at uigradients.com and can be either string or keyword, and a direction: #{:left :right :up :down} Returns a set of CSS strings used with a :background property passed to Garden. The return value contains browser fallbacks.

Example

(garden.core/css [:h2 {:background (gradient/css :vice-city :left)}])
Takes a name, that should correspond with gradients listed
at [uigradients.com](uigradients.com) and can be either string or
keyword, and a direction: #{:left :right :up :down} Returns a set of
CSS strings used with a :background property passed to Garden. The
return value contains browser fallbacks.

**Example**

```clojure
(garden.core/css [:h2 {:background (gradient/css :vice-city :left)}])
```
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close