Blaze comes bundled with a nice typography module that covers different text visualisations.

The base font-family is:

.c-text { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif; }

This attempts to give your text the same font family output as the device's system font.

We don't have a system font family in CSS yet and until we do this is as close as it gets. It of course can be overridden via CSS or the custom build approach.



Use the paragraph class to style your....paragraphs!

<p class="c-paragraph">.c-paragraph</p>

To utilise Blaze's consistent styles for hyper-links or to make text look like a hyper-link add the .c-link class.

<a class="c-link">hyper-link</a>

Highlighting text


To highlight text simply wrap the words with the highlight class:

<span class="c-text--highlight">hello world</span>



Sometimes you want to shout about something or talk quietly:

<span class="c-text--loud">arrgh shouting!</span>
<span class="c-text--quiet">whispering</span>



To enable greater accessibility you can enable abbreviations on elements.
The tag must have a title attribute:

<abbr class="c-text--help" title="Help text">.c-text--help</abbr>



This class uses our mono font-family.

<span class="c-text--mono">.c-text--mono</span>

Keys on a keyboard


When you want to describe what keys to press usually as part of support documentation it's handy to use the keyboard class:

<kbd class="c-kbd">.c-kbd</kbd>

Inline and Multiline code


You can highlight code within a page by using the .c-code class.

Default is inline, to display multi-line snippets add the .c-code--multiline modifier.

<code class="c-code c-code--multiline">


- Joe

To quote use the following code to make it stand out from the rest of the page:

<blockquote class="c-blockquote">
  <div class="c-blockquote__body">
  <footer class="c-blockquote__footer">
    - Joe

.c-blockquote--brand, --info, --warning, --success and --error modifiers are all available.