Style Guide

Density Style Guide

Density is a design company. We challenge ourselves to design and build anything, from start to finish. Be it an interface, system architecture, or algorithm, we care about each equally.

Regardless of the problem, these guidelines should serve as a tool to help you solve it.

Typography

Typography is paramount to clear communication of brand and message.

H1. The quick brown fox jumped over the lazy dog.

H2. The quick brown fox jumped over the lazy dog.

H3. The quick brown fox jumped over the lazy dog.

H4. The quick brown fox jumped over the lazy dog.

H5. The quick brown fox jumped over the lazy dog.
H6. The quick brown fox jumped over the lazy dog.
Test Example

This is a headline

For more context, a subhead is used to describe the section a little further.

It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour).

It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour).

Secondary body text is then used for supporting information. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable.

Forms

Cards should be included as components where possible. You can include the ui_component includes as detailed below. Cards can either be fixed or flexible width. Flexible cards will expand to fit their container. The responsive grid is well suited for this.

Single-line Input

For short input fields, use a sinlge line text field.

        
          
<input class="form-control" type="text" placeholder="Company Name">
<input class="form-control" type="text" placeholder="Disabled Input" disabled>


        
      

Multi-line Input

For inputs requiring extensive text, use a multi-line input field. It will expand as you type!

        
          
<textarea class="form-control" rows='1' placeholder='Auto-Expanding Textarea'></textarea>
<textarea class="form-control" rows='1' placeholder='Auto-Expanding Textarea' disabled></textarea>


        
      

Select Fields

Select fields are great for a set list of options. Their appearance differs from a single line input only in the addition of a caret.

        
          
<textarea class="form-control" rows='1' placeholder='Auto-Expanding Textarea'></textarea>
<textarea class="form-control" rows='1' placeholder='Auto-Expanding Textarea' disabled></textarea>


        
      

Checkboxes

Our custom checkboxes require some extra markup, but are flexible in their use. You can replace the checkmark icon if the situation calls for it.

        
          
<textarea class="form-control" rows='1' placeholder='Auto-Expanding Textarea'></textarea>
<textarea class="form-control" rows='1' placeholder='Auto-Expanding Textarea' disabled></textarea>


        
      

Radio Inputs

Where there can be only one.

        
          
<textarea class="form-control" rows='1' placeholder='Auto-Expanding Textarea'></textarea>
<textarea class="form-control" rows='1' placeholder='Auto-Expanding Textarea' disabled></textarea>


        
      

Toggle Controls

Toggle controls are great for binary inputs. More specifically, if the actions entails enable, or disabling an option.

        
          
<textarea class="form-control" rows='1' placeholder='Auto-Expanding Textarea'></textarea>
<textarea class="form-control" rows='1' placeholder='Auto-Expanding Textarea' disabled></textarea>


        
      
That code right there, you got it!
Meh, that didn't work. Fix it!