Habitat Ecommerce Theme Style Guide

Version 1.3 • December 2022
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 Weight Extra Light
text-weight-extralight (200)
Text Styles
Text style classes when the typography style doesn't match the default HTML tag.
Text Style Italic
text-style-italic
Text Style Strikethrough
text-style-strikethrough
Text Style All Caps
text-style-allcaps
Text Style No-wrap
text-style-nowrap
Text Style Quote
text-style-quote
Text Style Link
Text Style 2 Lines
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 3 Lines
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-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-000000
is-ffffff
is-FDC826
is-F7F5EB
is-E1EAF1
Background Color
Manage recurring background colors.
Background Color White
Background Color Tan
Background Color Black
Background Color Mist
Text Color
Manage recurring text colors.
Text Color White
Text Color White
Text Color Black
Text Color Black
Effects
Box Shadows
Shadows allow you to add depth and realism to designs by positioning elements on a z-axis.
Shadow XXS
Shadow XS
Shadow Small
Shadow Medium
Shadow Large
Shadow XL
Shadow XXL
UI Elements
Buttons
Button
Button
Medium
Button
Small
Button
Secondary
Button
Secondary
Medium
Button
Secondary
Small
Button
Link
To use on a dark background, simple use the add-on class Alternate
Button
Alternate
Button
Alternate
is-small
Button
Secondary
Alternate
Button
Secondary
Small
Alternate
Button
Link
Alternate
Button
Buttons With Icons
Button
Icon
Button
Small
Icon
Button
Secondary
Icon
Button
Secondary
Small
Icon
Button
Link
Icon
Form Elements
Field Label
Form Input
Form Input
Text Area
Form Input
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 XXS

Icon Height XS

Icon Height Small

Icon Height Medium

Icon Height Large

Icon Height XL

Icon Height Custom1

Icon 1x1 XXS

Icon 1x1 XS

Icon 1x1 Small

Icon 1x1 Medium

Icon 1x1 Large

Icon 1x1 XL

Icon 1x1 Custom1

Icons (HTML Embed)
HTML embed icons enable you to control icon color on hover.

Icon Embed XXS

Icon Embed XS

Icon Embed Small

Icon Embed Medium

Icon Embed Large

Icon Embed XL

Icon Embed 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 SectionLarge
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 XXL
Max Width XL
Max Width Large
Max Width Medium
Max Width Small
Max Width XS
Max Width XXS
Paddings
Direction Classes
Padding Bottom
Padding Top
Padding Vertical
Padding Horizontal
Padding Left
Padding Right
Size Classes
Padding Zero
Padding Tiny
Padding XXS
Padding XS
Padding Small
Padding Medium
Padding Large
Padding XL
Padding XXL
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 Zero
Margin Tiny
Margin XXS
Margin XS
Margin Small
Margin Medium
Margin Large
Margin XL
Margin XXL
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 Tandscape
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 Inline Flex
Margin Top Auto