Skip to content

Commit

Permalink
Updated readme for 0.12
Browse files Browse the repository at this point in the history
  • Loading branch information
adamldavis committed Feb 22, 2019
1 parent 7b76a9a commit de60a5f
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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"

Expand Down Expand Up @@ -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'}
}

0 comments on commit de60a5f

Please sign in to comment.