4.1 #Style.background Background

Toggle full screen Open in new window Toggle example guides Toggle HTML markup

Utility classes that can be used to give a background color to any element.

Any colors from the styleguide can be applied.

Browser support: IE3+, Safari1+, Firefox1+, Chrome10+

Default styling
Text
.sb-bg-transparent
transparent
Text
.sb-bg-white
white
Text
.sb-bg-black
black
Text
.sb-bg-dark-3
dark-3
Text
.sb-bg-light-1
light-1
Text
.sb-bg-green-2
green-2
Text
.sb-bg-yellow-3
yellow-3
Text
.sb-bg-purple-4
purple-4
Text
.sb-bg-purple-6
purple-6
Text
.sb-bg-blue-1
blue-1
Text
.sb-bg-red-2
red-2
Text
Markup
<span class="sb-padding sb-flex [modifier class]">Text</span>
Source: trumps/_background.scss, line 1

4.2 #Style.border Border

Toggle full screen Open in new window Toggle example guides Toggle HTML markup

Utility classes that can be used to give a border color to any element.

Any colors from the styleguide can be applied.

Browser support: IE3+, Safari1+, Firefox1+, Chrome10+

Default styling
Text
.sb-border-white
white
Text
.sb-border-black
black
Text
.sb-border-dark-3
dark-3
Text
.sb-border-light-1
light-1
Text
.sb-border-green-2
green-2
Text
.sb-border-yellow-3
yellow-3
Text
.sb-border-purple-4
purple-4
Text
.sb-border-purple-6
purple-6
Text
.sb-border-blue-1
blue-1
Text
.sb-border-red-2
red-2
Text
Markup
<span class="sb-padding-xs [modifier class]">Text</span>
Source: trumps/_border.scss, line 1

4.2.1 #Style.border.oneSide One side border

Toggle full screen Open in new window Toggle example guides Toggle HTML markup

The border can applied only in one side of your element. The available directions are top, bottom, left, right,

Browser support: IE3+, Safari1+, Firefox1+, Chrome10+

.sb-border-bottom-black .sb-border-left-yellow-1 .sb-border-top-green-3 .sb-border-right-black
Markup
<span class="sb-margin sb-padding-xs sb-border-bottom-blue-1">
 .sb-border-bottom-black
</span>
<span class="sb-margin sb-padding-xs sb-border-left-yellow-1">
  .sb-border-left-yellow-1
</span>
<span class="sb-margin sb-padding-xs sb-border-top-green-3">
  .sb-border-top-green-3
</span>
<span class="sb-margin sb-padding-xs sb-border-right-black">
  .sb-border-right-black
</span>
Source: trumps/_border.scss, line 27

4.2.2 #Style.border.radius Border radius

Toggle full screen Open in new window Toggle example guides Toggle HTML markup

Various border radius are available by level number: m, l,

Browser support: IE3+, Safari1+, Firefox1+, Chrome10+

Default styling
Text
.sb-border-radius-m
normal
Text
.sb-border-radius-l
large
Text
Markup
<span class="sb-padding-xs sb-border-black [modifier class]">Text</span>
Source: trumps/_border.scss, line 94

4.2.3 #Style.border.widths Border widths

Toggle full screen Open in new window Toggle example guides Toggle HTML markup

Various border widths are available by level number: top, bottom, left, right,

Browser support: IE3+, Safari1+, Firefox1+, Chrome10+

Default styling
Text
.sb-border-width-l
large
Text
.sb-border-width-xl
extra large
Text
Markup
<span class="sb-padding-xs sb-border-black [modifier class]">Text</span>
Source: trumps/_border.scss, line 74
Source: settings/_colors.scss, line 4

4.3.1 #Style.colors.blue Blue

Parameters:
  • $sb-color-blue-1
    #66c3d8;
  • $sb-color-blue-2
    #98cfd8;
  • $sb-color-blue-3
    #c3dee5;
  • $sb-color-blue-4
    #dfecef;
Source: settings/_colors.scss, line 101

4.3.2 #Style.colors.brand Brand

Parameters:
  • $sb-color-green-2
    #258060;
  • $sb-color-dark-2
    #31353f;
  • $sb-color-yellow-2
    #ffb100;
  • $sb-color-red-2
    #c43e3e;
Source: settings/_colors.scss, line 41

4.3.3 #Style.colors.dark Dark

Parameters:
  • $sb-color-dark-1
    #0f1013;
  • $sb-color-dark-2
    #31353f;
  • $sb-color-dark-3
    #555b6e;
Source: settings/_colors.scss, line 10

4.3.4 #Style.colors.dark-blue Dark blue

Parameters:
  • $sb-color-darkblue-1
    #1c839b;
  • $sb-color-darkblue-2
    #34b2d5;
Source: settings/_colors.scss, line 114

4.3.5 #Style.colors.dark-red Dark red

Parameters:
  • $sb-color-darkred-1
    #912620;
  • $sb-color-darkred-2
    #ae2121;
  • $sb-color-darkred-3
    #c43e3e;
Source: settings/_colors.scss, line 136

4.3.6 #Style.colors.green Green

Parameters:
  • $sb-color-green-1
    #11593d;
  • $sb-color-green-2
    #258060;
  • $sb-color-green-3
    #3ca07a;
  • $sb-color-green-4
    #9ac2b4;
  • $sb-color-green-4a
    #c7e0d6;
  • $sb-color-green-4b
    #daeae4;
Source: settings/_colors.scss, line 50

4.3.7 #Style.colors.light Light

Parameters:
  • $sb-color-light-1
    #b8bbc6;
  • $sb-color-light-2
    #cacdd5;
  • $sb-color-light-3
    #d7d9df;
  • $sb-color-light-4
    #eaebee;
  • $sb-color-light-4a
    #f3f3f5;
  • $sb-color-light-4b
    #f9f9fa;
Source: settings/_colors.scss, line 21

4.3.8 #Style.colors.mood-smilies Mood smilies colors

Parameters:
  • $sb-color-mood-background
    #fdc864;
  • $sb-color-mood-background-light
    #d7d9df
  • $sb-color-mood-heart-eyes
    #ae2121;
  • $sb-color-mood-mouth
    #ae2121;
  • $sb-color-mood-lines
    #0f1013;
  • $sb-color-mood-outline
    #555b6e;
Source: settings/_colors.scss, line 164

4.3.9 #Style.colors.purple Purple

Parameters:
  • $sb-color-purple-1
    #860479;
  • $sb-color-purple-2
    #b306a2;
  • $sb-color-purple-3
    #b34da8;
  • $sb-color-purple-4
    #f7cff3;
  • $sb-color-purple-5
    #8874db;
  • $sb-color-purple-6
    #e8e5f7;
Source: settings/_colors.scss, line 84

4.3.10 #Style.colors.raspberry Raspberry

Parameters:
  • $sb-color-raspberry-1
    #842a4d;
  • $sb-color-raspberry-2
    #a13d60;
  • $sb-color-raspberry-3
    #bc6285;
  • $sb-color-raspberry-4
    #dda9be;
  • $sb-color-raspberry-5
    #dcc9d0;
  • $sb-color-raspberry-6
    #f4e6eb;
Source: settings/_colors.scss, line 147

4.3.11 #Style.colors.red Red

Parameters:
  • $sb-color-red-1
    #d85757;
  • $sb-color-red-2
    #eb7d7d;
  • $sb-color-red-3
    #eda2a2;
  • $sb-color-red-4
    #f2d5d5;
Source: settings/_colors.scss, line 123

4.3.12 #Style.colors.yellow Yellow

Parameters:
  • $sb-color-yellow-1
    #e19625;
  • $sb-color-yellow-2
    #ffb100;
  • $sb-color-yellow-3
    #fdc864;
  • $sb-color-yellow-4
    #f8daa3;
  • $sb-color-yellow-4a
    #ffefcc;
  • $sb-color-yellow-4b
    #fff7e5;
Source: settings/_colors.scss, line 67
Source: elements/_headings.scss, line 1

4.4.1 #Style.typography.headings Headings

Toggle full screen Open in new window Toggle example guides Toggle HTML markup

Heading elements <h1> <h6>. All heading elements have their default margins set to 0.

Browser support: IE9+, Safari6+, Firefox30+, Chrome30+

The quick brown fox jumps over the lazy dog

The quick brown fox jumps over the lazy dog

The quick brown fox jumps over the lazy dog

The quick brown fox jumps over the lazy dog

The quick brown fox jumps over the lazy dog
The quick brown fox jumps over the lazy dog
Markup
<h1>The quick brown fox jumps over the lazy dog</h1>
<h2>The quick brown fox jumps over the lazy dog</h2>
<h3>The quick brown fox jumps over the lazy dog</h3>
<h4>The quick brown fox jumps over the lazy dog</h4>
<h5>The quick brown fox jumps over the lazy dog</h5>
<h6>The quick brown fox jumps over the lazy dog</h6>
Source: elements/_headings.scss, line 5

4.4.2 #Style.typography.headingsGFB Headings GFB

Toggle full screen Open in new window Toggle example guides Toggle HTML markup

Heading elements <h1> <h6>. All heading elements have their default margins set to 0.

Browser support: IE9+, Safari6+, Firefox30+, Chrome30+

The quick brown fox jumps over the lazy dog

The quick brown fox jumps over the lazy dog

The quick brown fox jumps over the lazy dog

The quick brown fox jumps over the lazy dog

Subtitle - 1 The quick brown fox jumps over the lazy dog
Subtitle - 2 The quick brown fox jumps over the lazy dog

Overline - The quick brown fox jumps over the lazy dog

Caption - The quick brown fox jumps over the lazy dog

Body1 - The quick brown fox jumps over the lazy dog

Body2 - The quick brown fox jumps over the lazy dog

Markup
<h1 class="sb-text-h1">The quick brown fox jumps over the lazy dog</h1>
<h2 class="sb-text-h2">The quick brown fox jumps over the lazy dog</h2>
<h3 class="sb-text-h3">The quick brown fox jumps over the lazy dog</h3>
<h4 class="sb-text-h4">The quick brown fox jumps over the lazy dog</h4>
<h5 class="sb-text-h5>The quick brown fox jumps over the lazy dog</h5>
<h6 class="sb-text-h6The quick brown fox jumps over the lazy dog</h5>
<h5 class="sb-text-subtitle-1">Subtitle - 1 The quick brown fox jumps over the lazy dog</h5>
<h6 class="sb-text-subtitle-2">Subtitle - 2 The quick brown fox jumps over the lazy dog</h6>
<p class="sb-text-overline">Overline - The quick brown fox jumps over the lazy dog</p>
<p class="sb-text-caption">Caption - The quick brown fox jumps over the lazy dog</p>
<p class="sb-text-body-1">Body1 - The quick brown fox jumps over the lazy dog</p>
<p class="sb-text-body-2">Body2 - The quick brown fox jumps over the lazy dog</p>
Source: elements/_headings.scss, line 73

4.4.4 #Style.typography.paragraphs Paragraphs

Toggle full screen Open in new window Toggle example guides Toggle HTML markup

Paragraph elements <p>. All paragraph elements have their default margins set to 0.

Browser support: IE9+, Safari6+, Firefox30+, Chrome30+

The quick brown fox jumps over the lazy dog

Markup
<p>The quick brown fox jumps over the lazy dog</p>
Source: elements/_paragraphs.scss, line 1

4.4.5 #Style.typography.text Text Classes

Toggle full screen Open in new window Toggle example guides Toggle HTML markup

The text classes to format the text of any html element.

Browser support: IE9+, Safari6+, Firefox30+, Chrome30+

Default styling

The quick brown fox jumps over the lazy dog 0123456789

.sb-display--l
Used for single dates when visualizing data

The quick brown fox jumps over the lazy dog 0123456789

.sb-display
Used for big numbers when visualizing data

The quick brown fox jumps over the lazy dog 0123456789

.sb-title--l
Used for page titles

The quick brown fox jumps over the lazy dog 0123456789

.sb-title
Used for main titles in different page sections

The quick brown fox jumps over the lazy dog 0123456789

.sb-title--s
Used for smaller titles

The quick brown fox jumps over the lazy dog 0123456789

.sb-text
Used for buttons and empty state text

The quick brown fox jumps over the lazy dog 0123456789

.sb-text--s
Used for all input controls

The quick brown fox jumps over the lazy dog 0123456789

.sb-text--emphasis
Used for emphasizing text

The quick brown fox jumps over the lazy dog 0123456789

.sb-text--subtle
Used for not distinct text

The quick brown fox jumps over the lazy dog 0123456789

.sb-text--plain
Used for not decorated text

The quick brown fox jumps over the lazy dog 0123456789

.sb-text--uppercase
Used for uppercase text

The quick brown fox jumps over the lazy dog 0123456789

.sb-text--lowercase
Used for lowercase text

The quick brown fox jumps over the lazy dog 0123456789

.sb-text--number
Used to reset numbers to their original alignment

The quick brown fox jumps over the lazy dog 0123456789

.sb-text--smallcaps
Used to display text in small caps

The quick brown fox jumps over the lazy dog 0123456789

.sb-text--milo
Force Milo font

The quick brown fox jumps over the lazy dog 0123456789

Markup
<p class="[modifier class]">The quick brown fox jumps over the lazy dog 0123456789</p>
Source: trumps/_text.scss, line 1

4.4.6 #Style.typography.text-colors Text colors

Toggle full screen Open in new window Toggle example guides Toggle HTML markup

Utility classes that can be used to give a color to some text.

Any colors from the styleguide can be applied.

Browser support: IE3+, Safari1+, Firefox1+, Chrome10+

Default styling
Text
.sb-bg-white
white
Text
.sb-bg-black
black
Text
.sb-bg-dark-3
dark-3
Text
.sb-bg-light-1
light-1
Text
.sb-bg-green-2
green-2
Text
.sb-bg-yellow-3
yellow-3
Text
.sb-bg-purple-4
purple-4
Text
.sb-bg-purple-5
purple-5
Text
.sb-bg-blue-1
blue-1
Text
.sb-bg-red-2
red-2
Text
Markup
<span class="[modifier class]">Text</span>
Source: trumps/_text-colors.scss, line 1