(as-transparent color)
Transforms a color into a transparent one when possible.
Transforms a color into a transparent one when possible.
(color->css color)
Transform a color structure into a css string.
Transform a color structure into a css string.
(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.
(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.
The colors from Tailwind CSS v2, for backward compatibility.
The colors from Tailwind CSS v2, for backward compatibility.
The colors defined in Tailwind as 'v3 Unified'.
The colors defined in Tailwind as 'v3 Unified'.
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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close