ABC Supply Design System
Introduction
This system exists to help developers build interfaces quickly and consistently. It can work in standalone web applications or within an existing application framework (ie. Angular, React, etc). The system is dependent on proper formatting of HTML and applying the proper class names. See the guidelines panel for more information.
Get Started
Include the CSS stylesheet in the head of your HTML
<link rel="stylesheet" href="https://styles.abcsupply.com/css/main.min.css" />
Include the supplementary JS at the bottom of your HTML (optional but necessary for icon support)
<script src="https://styles.abcsupply.com/js/main.min.js"></script>
Color
All colors have 2 darker shades and 5 lighter shades. Just append a '-d{number}' or '-l{number}' to the sass variable name. When assigning colors in scss always use the sass variable.
Primary Colors
Secondary Colors
Typography
Headings
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
Paragraphs
Nihil molestiae consequatur, vel illum qui dolorem eum. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam. Lorem ipsum dolor sit amet, consectetur adipisicing elit.Corrupti quos dolores et quas molestias excepturi sint occaecati. Totam rem aperiam. Fugiat quo voluptas nulla pariatur? Esse cillum dolore eu fugiat nulla pariatur. Eaque ipsa quae ab illo inventore veritatis et quasi.
Nihil molestiae consequatur, vel illum qui dolorem eum. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam. Lorem ipsum dolor sit amet, consectetur adipisicing elit.Corrupti quos dolores et quas molestias excepturi sint occaecati. Totam rem aperiam. Fugiat quo voluptas nulla pariatur? Esse cillum dolore eu fugiat nulla pariatur. Eaque ipsa quae ab illo inventore veritatis et quasi.
Nihil molestiae consequatur, vel illum qui dolorem eum. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam. Lorem ipsum dolor sit amet, consectetur adipisicing elit.Corrupti quos dolores et quas molestias excepturi sint occaecati. Totam rem aperiam. Fugiat quo voluptas nulla pariatur? Esse cillum dolore eu fugiat nulla pariatur. Eaque ipsa quae ab illo inventore veritatis et quasi.
Type Sizes
Type Size Base
Type Size 1
Type Size 2
Type Size 3 - Default Size
Type Size 4
Type Size 5
Type Size 6
Type Size 7
Type Size 8
Grid
Based on the 12 column Flexbox Grid.
Accordion
Based on the collapse Bootstrap component.
Alert
Based on the alerts Bootstrap component. When copying alert code be sure to replace the svg code with the code in the commented i tag instead, the svg code is placed dynamically through javascript.
Fixed Alert
Notifications
Alerts that are merely used to notify the user more passively can be put into a notification alert. Based on their usage they can be placed in different places on the page vertically (.alert--top) and horizontally (.alert--right)
Badge
Based on the badges Bootstrap component.
Badge Types
Badge Sizes
Card
Standard Card
Card Default
Nihil molestiae consequatur, vel illum qui dolorem eum. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Corrupti quos dolores et quas molestias excepturi sint occaecati.
Card with Sidebar
Card Depths
Depth 0
Nihil molestiae consequatur, vel illum qui dolorem eum.
Depth 1
Nihil molestiae consequatur, vel illum qui dolorem eum.
Depth 2
Nihil molestiae consequatur, vel illum qui dolorem eum.
Depth 3
Nihil molestiae consequatur, vel illum qui dolorem eum.
Depth 4
Nihil molestiae consequatur, vel illum qui dolorem eum.
Depth 5
Nihil molestiae consequatur, vel illum qui dolorem eum.
Data Table
Default table not using any frameworks.
Column 1 | Column 2 | Column 3 |
---|---|---|
Column 1 Row 1 | Column 2 Row 1 | Column 3 Row 1 |
Column 1 Row 2 | Column 2 Row 2 | Column 3 Row 2 |
Column 1 Row 3 | Column 2 Row 3 | Column 3 Row 3 |
Column 1 Row 4 | Column 2 Row 4 | Column 3 Row 4 |
Column 1 Row 5 | Column 2 Row 5 | Column 3 Row 5 |
Dropdown
Based on the dropdowns Bootstrap component.
Form
Input Fields
Input Sizes
Checkboxes
Radios
Toggle Switch
Grid List
An adaptable responsive list view to accommodate large table style data sets. In order to work properly in all browsers and configurations, grid columns/rows and cell positions must be explicitly defined in the css. The number of columns and rows will be different depending on the data set. You can use media queries to reconfigure the cell positions, sizes, etc.
-
Data Column 1Data Column 2Data Column 3Data Column 4Data Column 5
-
Data Column 1Data Column 2Data Column 3Data Column 4Data Column 5
-
Data Column 1Data Column 2Data Column 3Data Column 4Data Column 5
Infobox
An infobox is to be used as helper text for accompanying content. This element is not to be confused with an alert element. Alerts are reactive while infoboxes are static.
Loader
Default Dot Loader
Light Dot Loader
Default Spinning Loader
Small Spinning Loader
Large Spinning Loader
Light Spinning Loader
Button Loader
Modal
Based on the modal Bootstrap component. Width can be changed with modifiers (.modal--extra-small, etc.)
Pagination
Panel
Modification of the modal Bootstrap component. Width can be changed with modifiers (.panel--extra-small, etc.)
Popover
Based on the popovers Bootstrap component. Popovers need to be initialized by javascript (View the source, Luke).
Progress
Based on the progress Bootstrap component.
Segment
Default
Expanded
Tab
Based on the tabs behavior of the navs Bootstrap component.
Tab Content One
Nihil molestiae consequatur, vel illum qui dolorem eum. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam. Lorem ipsum dolor sit amet, consectetur adipisicing elit.Corrupti quos dolores et quas molestias excepturi sint occaecati.
Tab Content Two
Nihil molestiae consequatur, vel illum qui dolorem eum. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam. Lorem ipsum dolor sit amet, consectetur adipisicing elit.Corrupti quos dolores et quas molestias excepturi sint occaecati.
Tab Content Three
Nihil molestiae consequatur, vel illum qui dolorem eum. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam. Lorem ipsum dolor sit amet, consectetur adipisicing elit.Corrupti quos dolores et quas molestias excepturi sint occaecati.
Tool Tip
Based on the tooltips Bootstrap component. Tool tips need to be initialized by javascript (View the source, Luke).