aboutsummaryrefslogtreecommitdiff
path: root/lib/variables.less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2011-10-04 00:20:38 -0700
committerMark Otto <[email protected]>2011-10-04 00:20:38 -0700
commit96dd7a2903aa5213ddb364b385660e26396dc670 (patch)
treefc440e4ff254b4dc34d6fe3371b37ef37e085896 /lib/variables.less
parent0a6d8c30db0600ab8d33e14ead0ff120cd03ac9d (diff)
downloadbootstrap-96dd7a2903aa5213ddb364b385660e26396dc670.tar.xz
bootstrap-96dd7a2903aa5213ddb364b385660e26396dc670.zip
update variables to inlude @baseFontSize, @baseFontFamily, @baseLineHeight for easier customization; added placeholder for @primaryButtonColor, but didn't implement
Diffstat (limited to 'lib/variables.less')
-rw-r--r--lib/variables.less49
1 files changed, 31 insertions, 18 deletions
diff --git a/lib/variables.less b/lib/variables.less
index dcb0a8ebf..864dbe8c0 100644
--- a/lib/variables.less
+++ b/lib/variables.less
@@ -3,19 +3,27 @@
* ----------------------------------------------------- */
-// Links
+// LINK COLORS
+// -----------
+
@linkColor: #0069d6;
@linkColorHover: darken(@linkColor, 15);
-// Grays
+
+// GRAYS
+// -----
+
@black: #000;
-@grayDark: #333;
-@gray: #555;
-@grayLight: #777;
-@grayLighter: #ccc;
+@grayDark: lighten(@black, 25%);
+@gray: lighten(@black, 50%);
+@grayLight: lighten(@black, 75%);
+@grayLighter: lighten(@black, 90%);
@white: #fff;
-// Accent Colors
+
+// ACCENT COLORS
+// -------------
+
@blue: #049CDB;
@blueDark: #0064CD;
@green: #46a546;
@@ -25,11 +33,10 @@
@pink: #c3325f;
@purple: #7a43b6;
-// Baseline grid
-@basefont: 13px;
-@baseline: 18px;
-// Griditude
+// GRID
+// ----
+
// Modify the grid styles in mixins.less
@gridColumns: 16;
@gridColumnWidth: 40px;
@@ -37,7 +44,10 @@
@extraSpace: (@gridGutterWidth * 2); // For our grid calculations
@siteWidth: (@gridColumns * @gridColumnWidth) + (@gridGutterWidth * (@gridColumns - 1));
-// Color Scheme
+
+// COLOR SCHEME
+// ------------
+
// Use this to roll your own color schemes if you like (unused by Bootstrap by default)
@baseColor: @blue; // Set a base color
@complement: spin(@baseColor, 180); // Determine a complementary color
@@ -51,10 +61,13 @@
@analog2: spin(@baseColor, -22);
+// THEME VARIABLES
+// ---------------
+
+// Typography
+@baseFontSize: 13px;
+@baseFontFamily: "Helvetica Neue", Helvetica, Arial, sans-serif;
+@baseLineHeight: 18px;
-// More variables coming soon:
-// - @basefont to @baseFontSize
-// - @baseline to @baseLineHeight
-// - @baseFontFamily
-// - @primaryButtonColor
-// - anything else? File an issue on GitHub \ No newline at end of file
+// Visuals
+@primaryButtonColor: @blue;