Skip to content

Releases: adamldavis/groocss

1.0 Milestone 4

18 Jul 13:43
Compare
Choose a tag to compare

This release is split into two releases: 1.0-M4-groovy2.5 and 1.0-M4-groovy2.4. Much like how Spock works, this allows you to use either Groovy version 2.4 or 2.5. Likewise, the Gradle plugin is also released in the same way.

This release includes multiple fixes and improvements: Issue #12 : Added pseudo-elements (uses ** operator), added "all" to Transition DSL, fixed Config migrating down to imported files and files using ''.groocss {} syntax, Issue #10 : Added missing properties (userSelect, appearance, and caretColor), Issue #11 : Fixed use of new syntax (Extensions to String and Integer) while using Gradle plugin.

1.0 Milestone 3

03 Jul 15:45
Compare
Choose a tag to compare
  1. Bug fixes ( #9 )
  2. Adding convertWithoutBase method which assists in using String.groocss or GrooCSS.process{} syntax
  3. Removed reliance on Groovy 2.5 so it should work with Groovy 2.4
  4. Improved docs

1.0 Milestone 2

03 Apr 01:27
Compare
Choose a tag to compare

The ability to provide custom Processors and validators, the inclusion of a DefaultValidator and optional validator, and the ability to use 10.percent or 10 %_ to create percent measurements were all added in this version.

1.0 Milestone 1

01 Mar 17:42
Compare
Choose a tag to compare

Added Groovy extensions to enable code completion and additional features like "aabbcc".color, "selector".$ {} and "selector".sg {} and 'myid'.id {} and 'string'.groocss{} as entry point, and others.

0.11.1

28 Feb 20:37
Compare
Choose a tag to compare

Released a long time ago: New:
The ability to import other groocss files is supported by importFile, importStream, and importString methods which take a parameter map and input. For example:
importFile otherCss.absoluteFile, linkColor: '#456789'

This would allow you to make a "template file" for example with variables replaced in multiple ways.

There are also "raw" and "comment" commands, for including raw CSS and comments respectively.

Version 0.10

09 Aug 14:27
Compare
Choose a tag to compare

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.

Version 0.9

09 Aug 14:25
Compare
Choose a tag to compare
Version 0.9 Pre-release
Pre-release

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.

0.8

09 Aug 14:24
Compare
Choose a tag to compare
0.8 Pre-release
Pre-release

Added the ability to create "unattached" styles which can be added and removed from style-groups.

For example:

   styles {fontSize 2.em}

Also, conversion has been improved and multiple additional methods have been added for handling plain old Strings, Input/OuputStrems, or Reader/PrinterWriter pairs.

0.7

02 Sep 14:58
Compare
Choose a tag to compare
0.7

0.7 New Features

Pseudo-classes

Pseudo-classes are now refered to using the % sign in place of where : appears in CSS.

For example:

input % hover {}
Resolves to...

input:hover {}
Measurement Values

Measurements are now a fully fledged part of the DSL and you can do math with them.
A Measurement is created by using . for example 22.px

Math between measurements of different types is converted properly.