Development

Utility Classes

Utility classes are not specific to any website, design, style, or layout. Utility classes manage important CSS properties used throughout many pages, sections, or elements.

i

These utility classes are copied from the design style guide in the IxD project. Watch this video for a short tutorial.

Quick Reference

1 rem = 16px. Rem's are relative to the root browser font size (default 16px)

Structure

button-group

Headings

heading-style-h1
heading-style-h2
heading-style-h3
heading-style-h4
heading-style-h5
heading-style-h6

Text Classes

text-rich-text
text-size-large
text-size-medium
text-size-regular
text-size-small
text-size-tiny
text-style-strikethrough
text-style-italic
text-style-muted
text-style-allcaps
text-style-nowrap
text-style-link
text-style-quote
text-style-2lines
text-style-3lines
text-opacity-low
text-opacity-medium
text-opacity-high
text-opacity-full
text-weight-xbold
text-weight-bold
text-weight-semibold
text-weight-medium
text-weight-normal
text-weight-light
text-align-left
text-align-center
text-align-right

Buttons

button
button
is-small
button
is-large
button
is-secondary
button
is-text
button
is-icon
button
is-subnav

Colors

text-color-primary
text-color-secondary
text-color-alternate
background-color-primary
background-color-secondary
background-color-tertiary
background-color-quaternary
background-color-alternate

Max-Width

max-width-full
max-width-full-tablet
max-width-full-mobile-portrait
max-width-full-mobile-landscape
max-width-xxlarge
max-width-xlarge
max-width-large
max-width-medium
max-width-small
max-width-xsmall
max-width-xxsmall

Padding Classes

i

The padding system follows this logic [padding-direction] + [padding-size]. e.g. padding-bottom + padding-small

padding-bottom
padding-small

Padding-direction

Padding-Size

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

Padding-Section

padding-section-small
padding-section-medium
padding-section-large

Margin Classes

i

The padding system follows this logic [margin-direction] + [margin-size]. e.g. margin-bottom + margin-small

margin-bottom
margin-small

Margin-Direction

Margin-Size

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

Spacers

spacer-xxsmall
spacer-xsmall
spacer-small
spacer-medium
spacer-large
spacer-xlarge
spacer-xxlarge
spacer-huge
spacer-xhuge
spacer-xxhuge