aboutsummaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2014-07-08 02:26:50 -0700
committerMark Otto <[email protected]>2014-07-08 02:26:50 -0700
commitb50498acd4ac46eb5c0985bfc330b624bc8a6856 (patch)
tree14c65a84f03277f151462d33376b8fb321271e4c /less
parentd7b38d8c4a2669f54f204bc2e555bf58b9717441 (diff)
downloadbootstrap-b50498acd4ac46eb5c0985bfc330b624bc8a6856.tar.xz
bootstrap-b50498acd4ac46eb5c0985bfc330b624bc8a6856.zip
Clean up variable alignment and comments; change grays to new custom values
Diffstat (limited to 'less')
-rw-r--r--less/variables.less90
1 files changed, 40 insertions, 50 deletions
diff --git a/less/variables.less b/less/variables.less
index 35d53910e..8e4cf667a 100644
--- a/less/variables.less
+++ b/less/variables.less
@@ -7,18 +7,18 @@
//
//## Gray and brand colors for use across Bootstrap.
-@gray-base: #000;
-@gray-darker: lighten(@gray-base, 13.5%); // #222
-@gray-dark: lighten(@gray-base, 20%); // #333
-@gray: lighten(@gray-base, 33.5%); // #555
-@gray-light: lighten(@gray-base, 46.7%); // #777
-@gray-lighter: lighten(@gray-base, 93.5%); // #eee
+@gray-base: #000;
+@gray-dark: #373a3c;
+@gray-darker: @gray-dark; // TODO: remove
+@gray: #55595c;
+@gray-light: #818a91;
+@gray-lighter: #eceeef;
-@brand-primary: #027de7;
-@brand-success: #5cb85c;
-@brand-info: #5bc0de;
-@brand-warning: #f0ad4e;
-@brand-danger: #d9534f;
+@brand-primary: #027de7;
+@brand-success: #5cb85c;
+@brand-info: #5bc0de;
+@brand-warning: #f0ad4e;
+@brand-danger: #d9534f;
//== Scaffolding
@@ -26,61 +26,51 @@
//## Settings for some of the most global styles.
//** Background color for `<body>`.
-@body-bg: #fff;
+@body-bg: #fff;
//** Global text color on `<body>`.
-@text-color: @gray-dark;
+@text-color: @gray-dark;
//** Global textual link color.
-@link-color: @brand-primary;
+@link-color: @brand-primary;
//** Link hover color set via `darken()` function.
-@link-hover-color: darken(@link-color, 15%);
+@link-hover-color: darken(@link-color, 15%);
//== Typography
//
//## Font, line-height, and color for body text, headings, and more.
-@font-family-sans-serif: "Helvetica Neue", Helvetica, Arial, sans-serif;
-@font-family-serif: Georgia, "Times New Roman", Times, serif;
+@font-family-sans-serif: "Helvetica Neue", Helvetica, Arial, sans-serif;
+@font-family-serif: Georgia, "Times New Roman", Times, serif;
//** Default monospace fonts for `<code>`, `<kbd>`, and `<pre>`.
-@font-family-monospace: Menlo, Monaco, Consolas, "Courier New", monospace;
-@font-family-base: @font-family-sans-serif;
-
-@font-size-root: 16px;
-@font-size-base: 1rem;
-@font-size-large: 1.25rem;
-@font-size-small: .85rem;
-@font-size-xs: .75rem;
-
-@font-size-h1: 3rem;
-@font-size-h2: 2.5rem;
-@font-size-h3: 2rem;
-@font-size-h4: 1.5rem;
-@font-size-h5: 1.25rem;
-@font-size-h6: 1rem;
+@font-family-monospace: Menlo, Monaco, Consolas, "Courier New", monospace;
+@font-family-base: @font-family-sans-serif;
+
+//** Pixel value used to responsively scale all typography. Applied to the `<html>` element.
+@font-size-root: 16px;
+//** Sets the `<body>` and more to the root pixel value.
+@font-size-base: 1rem;
+@font-size-large: 1.25rem;
+@font-size-small: .85rem;
+@font-size-xs: .75rem;
+
+@font-size-h1: 3rem;
+@font-size-h2: 2.5rem;
+@font-size-h3: 2rem;
+@font-size-h4: 1.5rem;
+@font-size-h5: 1.25rem;
+@font-size-h6: 1rem;
//** Unit-less `line-height` for use in components like buttons.
-@line-height-base: 1.5;
+@line-height-base: 1.5;
//** Computed "line-height" (`font-size` * `line-height`) for use with `margin`, `padding`, etc.
-@line-height-computed: (@font-size-root * @line-height-base);
+@line-height-computed: (@font-size-root * @line-height-base);
//** By default, this inherits from the `<body>`.
-@headings-font-family: inherit;
-@headings-font-weight: 500;
-@headings-line-height: 1.1;
-@headings-color: inherit;
-
-
-//== Iconography
-//
-//## Specify custom location and filename of the included Glyphicons icon font. Useful for those including Bootstrap via Bower.
-
-//** Load fonts from this directory.
-@icon-font-path: "../fonts/";
-//** File name for all font files.
-@icon-font-name: "glyphicons-halflings-regular";
-//** Element ID within SVG icon file.
-@icon-font-svg-id: "glyphicons_halflingsregular";
+@headings-font-family: inherit;
+@headings-font-weight: 500;
+@headings-line-height: 1.1;
+@headings-color: inherit;
//== Components