aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-11-30 15:18:49 -0800
committerMark Otto <[email protected]>2012-11-30 15:18:49 -0800
commit12a00f62a9a9915479767807ab03ba5ac19a4cef (patch)
tree5e6efa6b953d36c50aeffecd8123309bcb511bde
parent0ef347706c7585cb2a53fa99b03d59e18908fee1 (diff)
downloadbootstrap-12a00f62a9a9915479767807ab03ba5ac19a4cef.tar.xz
bootstrap-12a00f62a9a9915479767807ab03ba5ac19a4cef.zip
remove color variables, swap others were appropro
-rw-r--r--docs/assets/css/bootstrap.css4
-rw-r--r--docs/customize.html15
-rw-r--r--docs/templates/pages/customize.mustache15
-rw-r--r--less/forms.less4
-rw-r--r--less/labels-badges.less4
-rw-r--r--less/progress-bars.less4
-rw-r--r--less/variables.less11
7 files changed, 8 insertions, 49 deletions
diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css
index 12aa52a14..985cc2dea 100644
--- a/docs/assets/css/bootstrap.css
+++ b/docs/assets/css/bootstrap.css
@@ -1435,8 +1435,8 @@ select:focus:invalid:focus {
.input-append .active,
.input-prepend .active {
- background-color: #a9dba9;
- border-color: #46a546;
+ background-color: #dff0d8;
+ border-color: #468847;
}
.input-prepend .add-on,
diff --git a/docs/customize.html b/docs/customize.html
index 861621c52..277d9701a 100644
--- a/docs/customize.html
+++ b/docs/customize.html
@@ -247,21 +247,6 @@
<input type="text" class="span3" placeholder="#08c">
<label>@link-color-hover</label>
<input type="text" class="span3" placeholder="darken(@link-color, 15%)">
- <h3>Colors</h3>
- <label>@blue</label>
- <input type="text" class="span3" placeholder="#049cdb">
- <label>@green</label>
- <input type="text" class="span3" placeholder="#46a546">
- <label>@red</label>
- <input type="text" class="span3" placeholder="#9d261d">
- <label>@yellow</label>
- <input type="text" class="span3" placeholder="#ffc40d">
- <label>@orange</label>
- <input type="text" class="span3" placeholder="#f89406">
- <label>@pink</label>
- <input type="text" class="span3" placeholder="#c3325f">
- <label>@purple</label>
- <input type="text" class="span3" placeholder="#7a43b6">
<h3>Sprites</h3>
<label>@iconSpritePath</label>
diff --git a/docs/templates/pages/customize.mustache b/docs/templates/pages/customize.mustache
index b25a474d2..b91848676 100644
--- a/docs/templates/pages/customize.mustache
+++ b/docs/templates/pages/customize.mustache
@@ -179,21 +179,6 @@
<input type="text" class="span3" placeholder="#08c">
<label>@link-color-hover</label>
<input type="text" class="span3" placeholder="darken(@link-color, 15%)">
- <h3>{{_i}}Colors{{/i}}</h3>
- <label>@blue</label>
- <input type="text" class="span3" placeholder="#049cdb">
- <label>@green</label>
- <input type="text" class="span3" placeholder="#46a546">
- <label>@red</label>
- <input type="text" class="span3" placeholder="#9d261d">
- <label>@yellow</label>
- <input type="text" class="span3" placeholder="#ffc40d">
- <label>@orange</label>
- <input type="text" class="span3" placeholder="#f89406">
- <label>@pink</label>
- <input type="text" class="span3" placeholder="#c3325f">
- <label>@purple</label>
- <input type="text" class="span3" placeholder="#7a43b6">
<h3>{{_i}}Sprites{{/i}}</h3>
<label>@iconSpritePath</label>
diff --git a/less/forms.less b/less/forms.less
index 155306f7d..84ca238e0 100644
--- a/less/forms.less
+++ b/less/forms.less
@@ -479,8 +479,8 @@ select:focus:invalid {
border-radius: 0;
}
.active {
- background-color: lighten(@green, 30);
- border-color: @green;
+ background-color: @successBackground;
+ border-color: @successText;
}
}
diff --git a/less/labels-badges.less b/less/labels-badges.less
index fafad404e..6dd8fe0e8 100644
--- a/less/labels-badges.less
+++ b/less/labels-badges.less
@@ -53,8 +53,8 @@ a {
&-danger { background-color: @errorText; }
&-danger[href] { background-color: darken(@errorText, 10%); }
// Warnings (orange)
- &-warning { background-color: @orange; }
- &-warning[href] { background-color: darken(@orange, 10%); }
+ &-warning { background-color: #f89406; }
+ &-warning[href] { background-color: darken(#f89406, 10%); }
// Success (green)
&-success { background-color: @successText; }
&-success[href] { background-color: darken(@successText, 10%); }
diff --git a/less/progress-bars.less b/less/progress-bars.less
index 66180026d..cbff7f2fd 100644
--- a/less/progress-bars.less
+++ b/less/progress-bars.less
@@ -115,8 +115,8 @@
// Warning (orange)
.progress-warning .bar, .progress .bar-warning {
- #gradient > .vertical(lighten(@orange, 15%), @orange);
+ #gradient > .vertical(lighten(#f89406, 15%), #f89406);
}
.progress-warning.progress-striped .bar, .progress-striped .bar-warning {
- #gradient > .striped(lighten(@orange, 15%));
+ #gradient > .striped(lighten(#f89406, 15%));
}
diff --git a/less/variables.less b/less/variables.less
index ac56b600d..5194a67da 100644
--- a/less/variables.less
+++ b/less/variables.less
@@ -17,17 +17,6 @@
@grayLighter: #eee;
-// Accent colors
-// -------------------------
-@blue: #049cdb;
-@green: #46a546;
-@red: #9d261d;
-@yellow: #ffc40d;
-@orange: #f89406;
-@pink: #c3325f;
-@purple: #7a43b6;
-
-
// Scaffolding
// -------------------------