aboutsummaryrefslogtreecommitdiff
path: root/less/variables.less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-11-30 14:37:24 -0800
committerMark Otto <[email protected]>2012-11-30 14:37:24 -0800
commit7a3d15eb210cc9343875760bfa575a9273244ed3 (patch)
tree315aa2991efe142decca7b4e48f29cb03de6fde2 /less/variables.less
parentfe8061b84ecdda5ea70514fe487e2f46564439e2 (diff)
downloadbootstrap-7a3d15eb210cc9343875760bfa575a9273244ed3.tar.xz
bootstrap-7a3d15eb210cc9343875760bfa575a9273244ed3.zip
Part 1 of unCamelCasing variables
Diffstat (limited to 'less/variables.less')
-rw-r--r--less/variables.less37
1 files changed, 18 insertions, 19 deletions
diff --git a/less/variables.less b/less/variables.less
index 2b4574f6a..26a3ca70c 100644
--- a/less/variables.less
+++ b/less/variables.less
@@ -31,38 +31,37 @@
// Scaffolding
// -------------------------
-@bodyBackground: @white;
-@textColor: @grayDark;
+@body-background: @white;
+@text-color: @grayDark;
// Links
// -------------------------
-@linkColor: #08c;
-@linkColorHover: darken(@linkColor, 15%);
+@link-color: #08c;
+@link-color-hover: darken(@link-color, 15%);
// Typography
// -------------------------
-@sansFontFamily: "Helvetica Neue", Helvetica, Arial, sans-serif;
-@serifFontFamily: Georgia, "Times New Roman", Times, serif;
-@monoFontFamily: Monaco, Menlo, Consolas, "Courier New", monospace;
+@font-family-sans-serif: "Helvetica Neue", Helvetica, Arial, sans-serif;
+@font-family-serif: Georgia, "Times New Roman", Times, serif;
+@font-family-monospace: Monaco, Menlo, Consolas, "Courier New", monospace;
-@baseFontSize: 14px;
-@baseFontFamily: @sansFontFamily;
-@baseLineHeight: 20px;
-@altFontFamily: @serifFontFamily;
+@base-font-size: 14px;
+@base-font-family: @font-family-sans-serif;
+@base-line-height: 20px;
-@headingsFontFamily: inherit; // empty to use BS default, @baseFontFamily
-@headingsFontWeight: bold; // instead of browser default, bold
+@headings-font-family: inherit; // empty to use BS default, @base-font-family
+@headings-font-weight: bold; // instead of browser default, bold
// Component sizing
// -------------------------
// Based on 14px font-size and 20px line-height
-@fontSizeLarge: @baseFontSize * 1.25; // ~18px
-@fontSizeSmall: @baseFontSize * 0.85; // ~12px
-@fontSizeMini: @baseFontSize * 0.75; // ~11px
+@fontSizeLarge: @base-font-size * 1.25; // ~18px
+@fontSizeSmall: @base-font-size * 0.85; // ~12px
+@fontSizeMini: @base-font-size * 0.75; // ~11px
@paddingLarge: 11px 19px; // 44px
@paddingSmall: 2px 10px; // 26px
@@ -87,7 +86,7 @@
@btnBackgroundHighlight: darken(@white, 10%);
@btnBorder: #bbb;
-@btnPrimaryBackground: @linkColor;
+@btnPrimaryBackground: @link-color;
@btnPrimaryBackgroundHighlight: spin(@btnPrimaryBackground, 20%);
@btnInfoBackground: #5bc0de;
@@ -114,7 +113,7 @@
@inputSearchBorderRadius: 20px;
@inputDisabledBackground: @grayLighter;
@formActionsBackground: #f5f5f5;
-@inputHeight: @baseLineHeight + 14px; // base line-height + 12px vertical padding + 2px top/bottom border
+@inputHeight: @base-line-height + 14px; // base line-height + 12px vertical padding + 2px top/bottom border
// Dropdowns
@@ -128,7 +127,7 @@
@dropdownLinkColorHover: @white;
@dropdownLinkColorActive: @white;
-@dropdownLinkBackgroundActive: @linkColor;
+@dropdownLinkBackgroundActive: @link-color;
@dropdownLinkBackgroundHover: @dropdownLinkBackgroundActive;