aboutsummaryrefslogtreecommitdiff
path: root/less/variables.less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-03-05 00:29:16 -0800
committerMark Otto <[email protected]>2012-03-05 00:29:16 -0800
commitd3e922f0c8dc309bc609ebd75fd7e90134c1eaca (patch)
tree71ddd4e67742b43cbcfd01fb6e52faa7f2aec0cb /less/variables.less
parent7bf341964790937c2fe77875459b064bc63d2e29 (diff)
downloadbootstrap-d3e922f0c8dc309bc609ebd75fd7e90134c1eaca.tar.xz
bootstrap-d3e922f0c8dc309bc609ebd75fd7e90134c1eaca.zip
add a ton new variables for type, buttons, inputs
Diffstat (limited to 'less/variables.less')
-rw-r--r--less/variables.less56
1 files changed, 50 insertions, 6 deletions
diff --git a/less/variables.less b/less/variables.less
index 3d448ab21..5bcddfb33 100644
--- a/less/variables.less
+++ b/less/variables.less
@@ -7,10 +7,6 @@
// GLOBAL VALUES
// --------------------------------------------------
-// Links
-@linkColor: #08c;
-@linkColorHover: darken(@linkColor, 15%);
-
// Grays
@black: #000;
@grayDarker: #222;
@@ -30,14 +26,57 @@
@pink: #c3325f;
@purple: #7a43b6;
+// Scaffolding
+@bodyBackground: @white;
+@textColor: @grayDark;
+
+// Links
+@linkColor: #08c;
+@linkColorHover: #069;
+
// Typography
@baseFontSize: 13px;
@baseFontFamily: "Helvetica Neue", Helvetica, Arial, sans-serif;
@baseLineHeight: 18px;
-@textColor: @grayDark;
+@altFontFamily: Georgia, "Times New Roman", Times, serif;
+
+@headingsFontFamily: ''; // empty to use BS default, @baseFontFamily
+@headingsFontWeight: normal; // instead of browser default, bold
+@headingsColor: ''; // empty to use BS default, @textColor
// Buttons
-@primaryButtonBackground: @linkColor;
+@btnBackground: @white;
+@btnBackgroundHighlight: darken(@white, 10%);
+@btnBorder: #ccc;
+
+@btnPrimaryBackground: @linkColor;
+@btnPrimaryBackgroundHighlight: spin(@btnPrimaryBackground, 15%);
+
+@btnInfoBackground: #5bc0de;
+@btnInfoBackgroundHighlight: #2f96b4;
+
+@btnSuccessBackground: #62c462;
+@btnSuccessBackgroundHighlight: #51a351;
+
+@btnWarningBackground: lighten(@orange, 15%);
+@btnWarningBackgroundHighlight: @orange;
+
+@btnDangerBackground: #ee5f5b;
+@btnDangerBackgroundHighlight: #bd362f;
+
+@btnInverseBackground: @gray;
+@btnInverseBackgroundHighlight: @grayDarker;
+
+// Forms
+@inputBackground: @white;
+@inputBorder: #ccc;
+
+@inputDisabledBackground: @grayLighter;
+
+// Dropdowns
+@dropdownLinkColor: @grayDark;
+@dropdownLinkColorHover: @white;
+@dropdownLinkBackgroundHover: @grayDark;
@@ -74,6 +113,11 @@
@navbarLinkColor: @grayLight;
@navbarLinkColorHover: @white;
+// Hero unit
+@heroUnitBackground: #312f2e;
+@heroUnitHeadingColor: @white;
+@heroUnitLeadColor: @white;
+
// Form states and alerts
@warningText: #c09853;
@warningBackground: #fcf8e3;