From 4aba489cfdc113682d2f1b18421eb58a229d66da Mon Sep 17 00:00:00 2001
From: Mark Otto <otto@github.com>
Date: Sun, 17 Mar 2013 11:34:27 -0700
Subject: [PATCH] Remove all #font mixins; replace single instance of its use
 in Bootstrap with the @font-family-monospace variable

---
 less/code.less   |  2 +-
 less/mixins.less | 35 -----------------------------------
 2 files changed, 1 insertion(+), 36 deletions(-)

diff --git a/less/code.less b/less/code.less
index c28b42fddc..c55f32fe7e 100644
--- a/less/code.less
+++ b/less/code.less
@@ -7,7 +7,7 @@
 code,
 pre {
   padding: 0 3px 2px;
-  #font > #family > .monospace;
+  font-family: @font-family-monospace;
   font-size: (@font-size-base - 2);
   color: @grayDark;
   border-radius: 4px;
diff --git a/less/mixins.less b/less/mixins.less
index 3a1663ab40..458e58cc98 100644
--- a/less/mixins.less
+++ b/less/mixins.less
@@ -79,41 +79,6 @@
 }
 
 
-// FONTS
-// --------------------------------------------------
-
-#font {
-  #family {
-    .serif() {
-      font-family: @font-family-serif;
-    }
-    .sans-serif() {
-      font-family: @font-family-sans-serif;
-    }
-    .monospace() {
-      font-family: @font-family-monospace;
-    }
-  }
-  .shorthand(@size: @font-size-base, @weight: normal, @lineHeight: @line-height-base) {
-    font-size: @size;
-    font-weight: @weight;
-    line-height: @lineHeight;
-  }
-  .serif(@size: @font-size-base, @weight: normal, @lineHeight: @line-height-base) {
-    #font > #family > .serif;
-    #font > .shorthand(@size, @weight, @lineHeight);
-  }
-  .sans-serif(@size: @font-size-base, @weight: normal, @lineHeight: @line-height-base) {
-    #font > #family > .sans-serif;
-    #font > .shorthand(@size, @weight, @lineHeight);
-  }
-  .monospace(@size: @font-size-base, @weight: normal, @lineHeight: @line-height-base) {
-    #font > #family > .monospace;
-    #font > .shorthand(@size, @weight, @lineHeight);
-  }
-}
-
-
 
 // CSS3 PROPERTIES
 // --------------------------------------------------
-- 
GitLab