Liking cljdoc? Tell your friends :D

girouette.tw.color


as-transparentclj/s

(as-transparent color)

Transforms a color into a transparent one when possible.

Transforms a color into a transparent one when possible.
sourceraw docstring

color->cssclj/s

(color->css color)

Transform a color structure into a css string.

Transform a color structure into a css string.
sourceraw docstring

color-rulesclj/s

(color-rules color-map)
source

flatten-color-mapclj/s

(flatten-color-map color-map)

This function flattens the color maps like the ones defined above.

This function flattens the color maps like the ones defined above.
sourceraw docstring

read-colorclj/s

(read-color color-map color)

Returns a 4-elements vector containing the color components, or a string. The nil value is returned if a particular component is not specified in the input.

color-map is a function which takes a string and returns a string in the hexadecimal RRGGBB format. color-map is typically a hashmap.

color is the data structure from the parser which matched a color.

Returns a 4-elements vector containing the color components, or a string.
The nil value is returned if a particular component is not specified in the input.

`color-map` is a function which takes a string and returns a string in the hexadecimal RRGGBB format.
`color-map` is typically a hashmap.

`color` is the data structure from the parser which matched a color.
sourceraw docstring

tw-v2-colorsclj/s

The colors from Tailwind CSS v2, for backward compatibility.

The colors from Tailwind CSS v2, for backward compatibility.
sourceraw docstring

tw-v3-unified-colorsclj/s

The colors defined in Tailwind as 'v3 Unified'.

The colors defined in Tailwind as 'v3 Unified'.
sourceraw docstring

tw-v3-unified-colors-extendedclj/s

The colors defined in Tailwind as 'v3 Unified', plus some extra colors for backward compatibility.

The colors defined in Tailwind as 'v3 Unified', plus some extra colors for backward compatibility.
sourceraw docstring

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

× close