diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index d64ff51ab9..ccafb83bb4 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -609,6 +609,22 @@ cite { color: #999999; } +.text-warning { + color: #c09853; +} + +.text-error { + color: #b94a48; +} + +.text-info { + color: #3a87ad; +} + +.text-success { + color: #468847; +} + h1, h2, h3, diff --git a/docs/base-css.html b/docs/base-css.html index 6240573a9f..dcb1814800 100644 --- a/docs/base-css.html +++ b/docs/base-css.html @@ -154,14 +154,14 @@ </p> -

<strong>

+

Bold

For emphasizing a snippet of text with important

The following snippet of text is rendered as bold text.

<strong>rendered as bold text</strong>
-

<em>

+

Italics

For emphasizing a snippet of text with stress

The following snippet of text is rendered as italicized text.

@@ -170,6 +170,23 @@

Heads up! Feel free to use <b> and <i> in HTML5. <b> is meant to highlight words or phrases without conveying additional importance while <i> is mostly for voice, technical terms, etc.

+

Emphasis classes

+

Convey meaning through color with a handful of emphasis utility classes.

+
+

Fusce dapibus, tellus ac cursus commodo, tortor mauris nibh.

+

Etiam porta sem malesuada magna mollis euismod.

+

Donec ullamcorper nulla non metus auctor fringilla.

+

Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis.

+

Duis mollis, est non commodo luctus, nisi erat porttitor ligula.

+
+
+<p class="muted">Fusce dapibus, tellus ac cursus commodo, tortor mauris nibh.</p>
+<p class="text-warning">Etiam porta sem malesuada magna mollis euismod.</p>
+<p class="text-error">Donec ullamcorper nulla non metus auctor fringilla.</p>
+<p class="text-info">Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis.</p>
+<p class="text-success">Duis mollis, est non commodo luctus, nisi erat porttitor ligula.</p>
+
+
diff --git a/docs/templates/pages/base-css.mustache b/docs/templates/pages/base-css.mustache index 1a437f112f..1fe63a6092 100644 --- a/docs/templates/pages/base-css.mustache +++ b/docs/templates/pages/base-css.mustache @@ -88,14 +88,14 @@ </p> -

<strong>

+

{{_i}}Bold{{/i}}

{{_i}}For emphasizing a snippet of text with important{{/i}}

The following snippet of text is rendered as bold text.

<strong>rendered as bold text</strong>
-

<em>

+

{{_i}}Italics{{/i}}

{{_i}}For emphasizing a snippet of text with stress{{/i}}

The following snippet of text is rendered as italicized text.

@@ -104,6 +104,23 @@

{{_i}}Heads up!{{/i}} {{_i}}Feel free to use <b> and <i> in HTML5. <b> is meant to highlight words or phrases without conveying additional importance while <i> is mostly for voice, technical terms, etc.{{/i}}

+

{{_i}}Emphasis classes{{/i}}

+

{{_i}}Convey meaning through color with a handful of emphasis utility classes.{{/i}}

+
+

Fusce dapibus, tellus ac cursus commodo, tortor mauris nibh.

+

Etiam porta sem malesuada magna mollis euismod.

+

Donec ullamcorper nulla non metus auctor fringilla.

+

Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis.

+

Duis mollis, est non commodo luctus, nisi erat porttitor ligula.

+
+
+<p class="muted">Fusce dapibus, tellus ac cursus commodo, tortor mauris nibh.</p>
+<p class="text-warning">Etiam porta sem malesuada magna mollis euismod.</p>
+<p class="text-error">Donec ullamcorper nulla non metus auctor fringilla.</p>
+<p class="text-info">Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis.</p>
+<p class="text-success">Duis mollis, est non commodo luctus, nisi erat porttitor ligula.</p>
+
+
diff --git a/less/type.less b/less/type.less index 669c55fd59..2e0f386eef 100644 --- a/less/type.less +++ b/less/type.less @@ -32,9 +32,23 @@ em { cite { font-style: normal; } + +// Utility classes .muted { color: @grayLight; } +.text-warning { + color: @warningText; +} +.text-error { + color: @errorText; +} +.text-info { + color: @infoText; +} +.text-success { + color: @successText; +} // Headings