All notable changes to this project will be documented in this file. This change log follows the conventions of keepachangelog.com.
Added a convenient function "join" which can be used for much simpler description of structures like
[[(px 5) (px 10) (px 15) (px 20)]] ; with join:
(join 5 10 15 20)
[[(em 15) (em 20) (em 45)]] ; with join:
(join em 15 20 45)
Bugfix: Fixed hsl color compilation with pretty-print? set to false.
Functions on a few places replaced with dynamic bindings (indent, compress?).
Added a function compile-params
for more convenient description of CSS styles in ClojureScript (Reagent).
Added functions with-hue
, with-saturation
, with-lightness
, with-alpha
you can use if you wanted to change e.g. only lightness of a color
(e.g. (with-hue (rgb 50 100 150) 120)
, (with-lightness "#FF0000" 0.3)
, (with-alpha :black 0.5)
).
Fixed rgba color compilation. Added color compression to hex-format if :pretty-print?
flag is set to false.
There was explicit java Math
class on a few places - replaced with reader conditionals for java's Math
and javascript's js/Math
respectively.
Fixed mixing keyword, string or symbol colors which can be found in tornado.colors/default-colors
.
@rules
in one of the documentations replaced with at-rules to avoid collisions with the Closure compiler trying to parse it somehow.
Added support for ClojureScript. There are a few limitations that you have to require macros from a different file etc.
Removed duplicate selectors, added information to selectors in general.
Tiny improvements in code, removed a few printlines.
Some broken version, use 0.1.7 instead.
Small improvements in code.
Small improvements in code, updated README with plans for the future.
Added more flexibility to colors (e.g. :font-black
, :fontblack
, "font-black"
"fontblack"
, 'font-black
, 'fontblack
) can all represent the same color.
Removed an information in README about upcoming lein-tornado plugin - the plugin is already released.
Fixed a bug where colors such as rgb did not have the r, g, b values rounded properly (e.g. 154.837256 instead of 155). It caused that the colors did not work.
Removed lein-tornado plugin dependency.
The initial release of the Tornado library.
Can you improve this documentation? These fine people already did:
JanSuran03 & JanSuranEdit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close