]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
fix #13427
authorChris Rebert <code@rebertia.com>
Fri, 25 Apr 2014 17:43:30 +0000 (10:43 -0700)
committerChris Rebert <code@rebertia.com>
Fri, 25 Apr 2014 17:43:59 +0000 (10:43 -0700)
docs/_includes/css/less.html

index b6d46da29f119cf44f298af9b5d519f56b7eaacc..c071533188ae3e5d2acca3ee3e9cab6eb2317f17 100644 (file)
@@ -76,7 +76,7 @@
 {% highlight scss %}
 // Variables
 @link-color:       @brand-primary;
-@link-color-hover: darken(@link-color, 15%);
+@link-hover-color: darken(@link-color, 15%);
 
 // Usage
 a {
@@ -84,12 +84,12 @@ a {
   text-decoration: none;
 
   &:hover {
-    color: @link-color-hover;
+    color: @link-hover-color;
     text-decoration: underline;
   }
 }
 {% endhighlight %}
-  <p>Note that the <code>@link-color-hover</code> uses a function, another awesome tool from Less, to automagically create the right hover color. You can use <code>darken</code>, <code>lighten</code>, <code>saturate</code>, and <code>desaturate</code>.</p>
+  <p>Note that the <code>@link-hover-color</code> uses a function, another awesome tool from Less, to automagically create the right hover color. You can use <code>darken</code>, <code>lighten</code>, <code>saturate</code>, and <code>desaturate</code>.</p>
 
   <h3 id="less-variables-typography">Typography</h3>
   <p>Easily set your type face, text size, leading, and more with a few quick variables. Bootstrap makes use of these as well to provide easy typographic mixins.</p>