From de60a5f5986c5dd07ca8ca6ffae8973e8aaf8f78 Mon Sep 17 00:00:00 2001 From: Adam Davis Date: Fri, 22 Feb 2019 13:22:16 -0500 Subject: [PATCH] Updated readme for 0.12 --- README.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5b504ed..48336f3 100644 --- a/README.md +++ b/README.md @@ -47,6 +47,10 @@ It was created by Adam L. Davis (@adamldavis) and inspired by the many other Gro - Added ability to configure to use some element names as style-classes just in case you need "main" for example to be used as a style-class. - Added imports, raw, and comment (ability to import file/reader/stream with parameters; and ability to include comments for output) - Gradle GroocssTask now extends Copy task and supports -t option (requires Gradle 4) +- 0.12 Support for transitions using closures. +- 0.12 Improvements to the CSS Translator + +*The best way to learn is to look at the tests.* ## Using Gradle with Plugin @@ -55,7 +59,7 @@ The plugin adds a `convertCss` task for converting your groocss files into css. For example: plugins { - id "org.groocss.groocss-gradle-plugin" version "0.11.1" + id "org.groocss.groocss-gradle-plugin" version "0.12" } def cssDir = "$parent.buildDir/../www/css" @@ -308,3 +312,11 @@ You can use the Translator to convert existing CSS into GrooCSS syntax: This allows you to get started quickly with GrooCSS in existing projects. +## Transitions + +Allows you to specify one or more transitions using closures. Example: + + _.highlight { + transition {flex '2s'} {borderColor '1s' ease '0'} + } + \ No newline at end of file