Styleguide — Based on the Client First class naming framework

Version 1.0
Typography
HTML Headings Tags
HTML tags define default Heading styles.
All H1 Headings

Heading 1

All H2 Headings

Heading 2

All H3 Headings

Heading 3

All H4 Headings

Heading 4

All H5 Headings
Heading 5
All H6 Headings
Heading 6
Heading Classes
Heading classes when typography style doesn't match the default HTML tag.
Heading Style H1

Heading Style H1

Heading Style H2

Heading Style H2

Heading Style H3

Heading Style H3

Heading Style H4

Heading Style H4

Heading Style H5

Heading Style H5

Heading Style H6

Heading Style H6

Other HTML Tags
HTML tags define default text styles.
All Paragraphs

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique. Duis cursus, mi quis viverra ornare, eros dolor interdum nulla, ut commodo diam libero vitae erat. Aenean faucibus nibh et justo cursus id rutrum lorem imperdiet. Nunc ut sem vitae risus tristique posuere.

All Links
All Links
All Block Quotes
Block Quote
All Unordered Lists
  • No bullet list

  • No bullet list

All Unordered Lists
  • No bullet list

  • No bullet list

All Ordered Lists
  1. No bullet list

  2. No bullet list

  3. No bullet list

Text Sizes
Text sizes classes when typography size doesn't match the default HTML tag.
Text Size Large

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique. Duis cursus, mi quis viverra ornare, eros dolor interdum nulla, ut commodo diam libero vitae erat. Aenean faucibus nibh et justo cursus id rutrum lorem imperdiet. Nunc ut sem vitae risus tristique posuere.

Text Size Medium

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique. Duis cursus, mi quis viverra ornare, eros dolor interdum nulla, ut commodo diam libero vitae erat. Aenean faucibus nibh et justo cursus id rutrum lorem imperdiet. Nunc ut sem vitae risus tristique posuere.

Text Size Regular

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique. Duis cursus, mi quis viverra ornare, eros dolor interdum nulla, ut commodo diam libero vitae erat. Aenean faucibus nibh et justo cursus id rutrum lorem imperdiet. Nunc ut sem vitae risus tristique posuere.

Text Size Small

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique. Duis cursus, mi quis viverra ornare, eros dolor interdum nulla, ut commodo diam libero vitae erat. Aenean faucibus nibh et justo cursus id rutrum lorem imperdiet. Nunc ut sem vitae risus tristique posuere.

Text Size Tiny

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique. Duis cursus, mi quis viverra ornare, eros dolor interdum nulla, ut commodo diam libero vitae erat. Aenean faucibus nibh et justo cursus id rutrum lorem imperdiet. Nunc ut sem vitae risus tristique posuere.

Text Weights
Text weight classes when typography weight doesn't match the default HTML tag.
Text Weight Xbold
Text Weight Xbold (800)
Text Weight Bold
Text Weight Bold (700)
Text Weight Semibold
Text Weight Semibold (600)
Text Weight Medium
Text Weight Medium (500)
Text Weight Normal
Text Weight Normal (400)
Text Weight Light
Text Weight Light (300)
Text Styles
Text style classes when typography style doesn't match the default HTML tag.
Text Style Italic
text-style-italic
Text Style Strikethrough
text-style-strikethrough
Text Style Allcaps
Text Style AllCaps
Text Style Nowrap
Text Style Nowrap
Text Style Quote
Text Style Quote
Text Style Link
Text Style 2Lines
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique. Duis cursus, mi quis viverra ornare, eros dolor interdum nulla, ut commodo diam libero vitae erat. Aenean faucibus nibh et justo cursus id rutrum lorem imperdiet. Nunc ut sem vitae risus tristique posuere.
Text Style 3Lines
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique. Duis cursus, mi quis viverra ornare, eros dolor interdum nulla, ut commodo diam libero vitae erat. Aenean faucibus nibh et justo cursus id rutrum lorem imperdiet. Nunc ut sem vitae risus tristique posuere. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique. Duis cursus, mi quis viverra ornare, eros dolor interdum nulla, ut commodo diam libero vitae erat. Aenean faucibus nibh et justo cursus id rutrum lorem imperdiet. Nunc ut sem vitae risus tristique posuere.
Text Style Muted
Text Style Muted
Text Alignment
Text alignment classes when typography alignment doesn't match the default HTML tag.
Text Align Left
Text Align Center
Text Align Center
Text Align Right
Text Align Right
Rich Text
text rich text

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6
This is a block quote

The rich text element allows you to create and format headings, paragraphs, blockquotes, images, and video all in one place instead of having to add and format them individually. Just double-click and easily create content.

This is a link inside of a rich text

  • List item
  • List item
  • List item
  1. List item
  2. List item
  3. List item
Caption goes here
Colors
Color Palette
Is Black
Is White
Is Gray
Is Brown
Is Tan
Is Terracotta
Background Color
Manage recurring background colors.
Background Color Black
Background Color White
Background Color Gray
Background Color Brown
Background Color Tan
Background Color Terracotta
Text Color
Manage recurring text colors.
text color white
text-color-white
text color black
text-color-black
text color black
Text Block Tan
Effects
Box Shadows
Shadows allow you to add depth and realism to designs by positioning elements on a z-axis.
Shadow Xxsmall
Shadow Xsmall
Shadow Small
Shadow Medium
Shadow Large
Shadow Xlarge
Shadow Xxlarge
UI Elements
Buttons
button
button
is small
button
is secondary
button
is secondary
is small
button
is link
To use on a dark background, simple use the add-on class is alternate
button
is-alternate
button
is alternate
is small
button
is secondary
is alternate
button
is secondary
is small
is alternate
button
is link
is alternate
Button
Buttons With Icons
button
is icon
button
is small
is icon
button
is secondary
is icon
button
is secondary
is small
is icon
button
is link
is icon
Form Elements
Field Label
Form Input
Form Input
Is Text Area
Form Input
Is Select Input
Form Checkbox
Form Radio
button
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Icons (Image)

icon-height-xxsmall

icon-height-xsmall

icon-height-small

icon-height-medium

icon-height-large

icon-height-xlarge

icon-height-custom1

icon-1x1-xxsmall

icon-1x1-xsmall

icon-1x1-small

Icon 1x1 Medium

Icon 1x1 Large

Icon 1x1 Xlarge

icon-1x1-custom1

Structure Classes
Defined and flexible core structure we can use on all or most pages.
Page Wrapper
Main Wrapper
Container Small
container-medium
container-large
padding-global
padding-section-small
padding-section-medium
padding-section-large
button-group
Max Widths
Use the max-width CSS property to contain inner content to a maximum width.
max-width-full
max-width-full-tablet
max-width-full-portrait
max-width-full-landscape
max-width-xxlarge
max-width-xlarge
max width large
max width medium
max width small
max width xsmall
max width xxsmall
Paddings
Direction Classes
padding bottom
padding top
padding-vertical
padding horizontal
padding left
padding right
Size Classes
padding 0
padding tiny
padding xxsmall
padding xsmall
padding-small
padding-medium
padding large
padding xlarge
padding xxlarge
padding huge
padding xhuge
padding xxhuge
padding custom1
padding custom2
padding custom3
Margins
Direction Classes
margin bottom
margin top
margin vertical
margin horizontal
margin left
margin right
Size Classes
margin 0
margin tiny
margin xxsmall
margin xsmall
margin small
margin medium
margin large
margin xlarge
margin xxlarge
margin huge
margin xhuge
margin xxhuge
margin custom1
margin custom2
margin custom3
Utility Classes
Useful utility classes we like to use in most of our projects to build faster.
hide
This element is hidden
hide tablet
hide mobile portrait
hide mobile landscape
overflow visible
overflow hidden
overflow auto
overflow scroll
pointer events on
pointer events off
layer
div square
spacing clean
align center
z index 1
z index 2
display inlineflex
margin top auto