diff --git a/docs/source/borders.md b/docs/source/borders.md
index b7667f9f5..b7d179e97 100644
--- a/docs/source/borders.md
+++ b/docs/source/borders.md
@@ -20,23 +20,23 @@ Construct border size utilities using the `.border{-side?}{-width?}` syntax. For
Side (optional)
-
All
-
t Top
-
r Right
-
b Bottom
-
l Left
+
All
+
t Top
+
r Right
+
b Bottom
+
l Left
Width (optional)
-
0 0px
-
1px
-
2 2px
-
4 4px
-
8 8px
+
0 0px
+
1px
+
2 2px
+
4 4px
+
8 8px
diff --git a/docs/source/spacing.md b/docs/source/spacing.md
index 0123ed021..cf72d1504 100644
--- a/docs/source/spacing.md
+++ b/docs/source/spacing.md
@@ -18,28 +18,28 @@ The syntax below is combined to create a system for padding and margins. For exa
Class
-
p Padding
-
m Margin
-
pull Negative Margin
+
p Padding
+
m Margin
+
pull Negative Margin
Position (optional)
-
t Top
-
r Right
-
b Bottom
-
l Left
-
x Horizontal
-
y Vertical
+
t Top
+
r Right
+
b Bottom
+
l Left
+
x Horizontal
+
y Vertical
Space
-
0 0
-
1 0.25rem
-
2 0.5rem
-
3 0.75rem
-
4 1rem
-
6 1.5rem
-
8 2rem
+
0 0
+
1 0.25rem
+
2 0.5rem
+
3 0.75rem
+
4 1rem
+
6 1.5rem
+
8 2rem
diff --git a/docs/source/text.md b/docs/source/text.md
index 35ca5d312..cc1572377 100644
--- a/docs/source/text.md
+++ b/docs/source/text.md
@@ -19,20 +19,25 @@ title: "Text"
Font family
```html
-
+
+
+
```
```less
div {
- .text-mono;
+ .sans;
+ .serif;
+ .mono;
}
```
```less
// Customize the font stack
-@system-font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", Arial, sans-serif;
-@font-family-base: @system-font-stack;
+@font-family-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", Arial, sans-serif;
+@font-family-serif: Constantia, "Lucida Bright", Lucidabright, "Lucida Serif", Lucida, "DejaVu Serif", "Bitstream Vera Serif", "Liberation Serif", Georgia, serif;
@font-family-mono: Consolas, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", Monaco, "Courier New", Courier, monospace;
+@font-family-base: @font-family-sans;
```
Font sizes
diff --git a/src/utilities/text.less b/src/utilities/text.less
index 8e2368cdc..9b124384b 100644
--- a/src/utilities/text.less
+++ b/src/utilities/text.less
@@ -1,7 +1,12 @@
// Font family
-@system-font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", Arial, sans-serif;
-@font-family-base: @system-font-stack;
+@font-family-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", Arial, sans-serif;
+@font-family-serif: Constantia, "Lucida Bright", Lucidabright, "Lucida Serif", Lucida, "DejaVu Serif", "Bitstream Vera Serif", "Liberation Serif", Georgia, serif;
@font-family-mono: Consolas, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", Monaco, "Courier New", Courier, monospace;
+@font-family-base: @font-family-sans;
+
+.sans { font-family: @font-family-sans; }
+.serif { font-family: @font-family-serif; }
+.mono { font-family: @font-family-mono; }
// Default line height
@line-height: 1.5;
@@ -108,7 +113,6 @@
.text-smooth { -webkit-font-smoothing: antialiased; }
.text-strike { text-decoration: line-through; }
.text-shadow-solid { text-shadow: 0 2px 0 rgba(0,0,0,0.15); }
-.text-mono { font-family: @font-family-mono; }
.text-ellipsis {
overflow: hidden;
text-overflow: ellipsis;
@@ -116,6 +120,9 @@
}
.responsive({
+ &text-sans { .sans; }
+ &text-serif { .serif; }
+ &text-mono { .mono; }
&text-center { .text-center; }
&text-left { .text-left; }
&text-right { .text-right; }
@@ -135,6 +142,5 @@
&text-smooth { .text-smooth; }
&text-strike { .text-strike; }
&text-shadow-solid { .text-shadow-solid; }
- &text-mono { .text-mono; }
&text-ellipsis { .text-ellipsis; }
});