Skip to content

Commit

Permalink
Updated README for 0.10
Browse files Browse the repository at this point in the history
  • Loading branch information
adamldavis committed Jul 20, 2017
1 parent e61e0b7 commit b1862c4
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

[![Build Status](https://snap-ci.com/adamldavis/groocss/branch/master/build_image)](https://snap-ci.com/adamldavis/groocss/branch/master)
[Build Status](https://gitlab.com/adamldavis/groocss/pipelines)
[ ![Download](https://api.bintray.com/packages/adamldavis/maven/GrooCSS/images/download.svg) ](https://bintray.com/adamldavis/maven/GrooCSS/_latestVersion)
/ [Gradle Plugin](https://plugins.gradle.org/plugin/org.groocss.groocss-gradle-plugin)

Expand All @@ -16,7 +16,7 @@ It was created by Adam L. Davis (@adamldavis) and inspired by the many other Gro
- DSL similar to CSS but with camel-case and some modifications to make it valid Groovy.
- Keyframes, media, charset, and font-face support.
- Automatically adds -webkit, -ms, -moz, -o extensions! (configurable)
- Color support with rgb, rgba, hex, and named colors
- Color support with rgb, rgba, hex, named colors, and several color changing methods (mix, tint, shade, saturate, etc.)
- Minimization (compress)
- Support for transforms directly (transformX, etc),
- Math functions (sqrt, sin, cos, toRadians, etc.) and built-in Measurement math.
Expand All @@ -27,6 +27,8 @@ It was created by Adam L. Davis (@adamldavis) and inspired by the many other Gro
- Close to CSS syntax using getAt, putAt, operator-overloading, underscore, methodMissing, and propertyMissing
- Translator to convert from existing CSS.
- Available pretty print (using Config)
- Ability to create and reuse groups of styles using styles{} syntax.
- Methods for getting an image's width, height, or size.

## New in 0.7.x

Expand All @@ -41,6 +43,17 @@ It was created by Adam L. Davis (@adamldavis) and inspired by the many other Gro
- Added varieties of convert and process that take String, In/OutputStreams, and Reader/PrintWriter (re: issue #2)
- Added limited support for using spaces and ~ syntax in Selector definition (limited to two elements)

## New in 0.9

- Added mix, tint, shade, and greyscale methods.
- Added saturate, desaturate, fadein, fadeout, fade, and hue, saturation and brightness methods.
- Added many colors methods: rgba, hsl, hsla, lighten, darken, etc.

## New in 0.10

- Added option (convertUnderline) to convert all underlines in style-classes to dashes.
- Added ability to use three or more element selectors without xor.
- 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.

## Using Gradle with Plugin

Expand All @@ -49,7 +62,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.8"
id "org.groocss.groocss-gradle-plugin" version "0.9"
}
def cssDir = "$parent.buildDir/../www/css"

Expand Down

0 comments on commit b1862c4

Please sign in to comment.