From 3b40e72828e8c14f467335a6ce8dcff2003084c2 Mon Sep 17 00:00:00 2001 From: Luke Page Date: Wed, 1 Jan 2014 17:26:25 +0000 Subject: [PATCH] move readme changes to build version and re-build --- README.md | 11 ++++------- build/README.md | 19 +++++++++++++++++-- 2 files changed, 21 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index b38dddec6..551c4f6e1 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# [Less.js v1.5.1](http://lesscss.org) +# [Less.js v1.6.0](http://lesscss.org) > The **dynamic** stylesheet language. [http://lesscss.org](http://lesscss.org). @@ -151,8 +151,7 @@ used like this: @link-color: #428bca; @link-color-hover: darken(@link-color, 10%); -//Transiation mixin would be anywhere here - +//Transition mixin would be anywhere here a { font-weight: bold; @@ -208,7 +207,6 @@ renders to: .link, a { color: #428bca; } - a { font-weight: bold; } @@ -283,7 +281,6 @@ Before opening any issue, please search for existing issues and read the [Issue Please report documentation issues in [the documentation project](https://github.com/less/less-docs). - ### Development #### Install Less.js @@ -343,11 +340,11 @@ See the [changelog](CHANGELOG.md) ## [License](LICENSE) -Copyright (c) 2009-2013 [Alexis Sellier](http://cloudhead.io/) & The Core Less Team +Copyright (c) 2009-2014 [Alexis Sellier](http://cloudhead.io/) & The Core Less Team Licensed under the [Apache License](LICENSE). [so]: http://stackoverflow.com/questions/tagged/twitter-bootstrap+less "StackOverflow.com" [issues]: https://github.com/less/less.js/issues "GitHub Issues for Less.js" [wiki]: https://github.com/less/less.js/wiki "The official wiki for Less.js" -[download]: https://github.com/less/less.js/zipball/master "Download Less.js" +[download]: https://github.com/less/less.js/zipball/master "Download Less.js" \ No newline at end of file diff --git a/build/README.md b/build/README.md index f2d5359af..3be644b88 100644 --- a/build/README.md +++ b/build/README.md @@ -102,6 +102,9 @@ a:hover { Mixins enable you to apply the styles of one selector inside another selector like this: ```less +// Variables +@link-color: #428bca; + // Any "regular" class... .link { color: @link-color; @@ -144,6 +147,12 @@ Mixins can also accept parameters: used like this: ```less +// Variables +@link-color: #428bca; +@link-color-hover: darken(@link-color, 10%); + +//Transition mixin would be anywhere here + a { font-weight: bold; color: @link-color; @@ -176,6 +185,9 @@ a:hover { The `extend` feature can be thought of as the _inverse_ of mixins. It accomplishes the goal of "borrowing styles", but rather than copying all the rules of _Selector A_ over to _Selector B_, `extend` copies the name of the _inheriting selector_ (_Selector B_) over to the _extending selector_ (_Selector A_). So continuing with the example used for [mixins](#mixins) above, extend works like this: ```less +// Variables +@link-color: #428bca; + .link { color: @link-color; } @@ -195,6 +207,9 @@ renders to: .link, a { color: #428bca; } +a { + font-weight: bold; +} ``` ## Usage @@ -264,7 +279,7 @@ Please read [CONTRIBUTING.md](./CONTRIBUTING.md). Add unit tests for any new or Before opening any issue, please search for existing issues and read the [Issue Guidelines](https://github.com/necolas/issue-guidelines), written by [Nicolas Gallagher](https://github.com/necolas/). After that if you find a bug or would like to make feature request, [please open a new issue][issues]. - +Please report documentation issues in [the documentation project](https://github.com/less/less-docs). ### Development @@ -321,7 +336,7 @@ Please review the [Gruntfile](Gruntfile.js) to become acquainted with the other ## Release History -See the [changelog](CHANGELOG) +See the [changelog](CHANGELOG.md) ## [License](LICENSE)