Define a typographic hierarchy, specifying different font sizes for headings, sub Headers, and paragraphs. Use a consistent scale for font sizes to maintain harmony.
Header
Text type
Classname
Header 1
.text-h1
Header 2
.text-h2
Header 3
.text-h3
Header 4
.text-h4
Header 5
.text-h5
Header 6
.text-h6
Header 7
.text-h7
Sub Header
Text type
Classname
Sub Header 1
.text-sh1
Sub Header 2
.text-sh2
Sub Header 3
.text-sh3
Sub Header 4
.text-sh4
Sub Header 5
.text-sh5
Sub Header 6
.text-sh6
Sub Header 7
.text-sh7
Paragraph
Text type
Classname
Paragraph 1
.text-p1
Paragraph 2
.text-p2
Paragraph 3
.text-p3
Paragraph 4
.text-p4
Paragraph 5
.text-p5
Paragraph 6
.text-p6
Paragraph 7
.text-p7
Button
Text type
Classname
Button 1
.text-b1
Button 2
.text-b2
Button 3
.text-b3
Button 4
.text-b4
Button 5
.text-b5
Form
Text type
Classname
Form 1
.text-f1
Form 2
.text-f2
Form 3
.text-f3
Form 4
.text-f4
Form 5
.text-f5
Form 6
.text-f6
Text Transform Utility Classes
Text type
Classname
Uppercase
.text-transform-uppercase
Lowercase
.text-transform-lowercase
Capitalize
.text-transform-capitalize
Normal Case
.text-transform-normal-case
Italic Case
.text-transform-italic
Spacing
Variable name
Value
Visual
$space-1
4px
$space-2
8px
$space-3
12px
$space-4
16px
$space-5
20px
$space-6
24px
$space-7
32px
$space-8
40px
$space-9
48px
$space-10
56px
$space-11
64px
$space-12
72px
$space-13
80px
$space-14
96px
Breakpoints
Name
Value
SCSS
Mobile
375 px - 679 px
$breakpoint-mobile
Tablet
680 px - 1199 px
$breakpoint-tablet
Desktop
< 1200 px
-
How to use
.classname {
// styling for mobile
@media (min-width: $breakpoint-mobile) {
// styling for tablet
}
@media (min-width: $breakpoint-tablet) {
// styling for desktop
}
}
Components
Buttons
Primary Buttons
The primary button is used for the most important and prominent actions within an interface. It typically represents the primary call-to-action, such as "Submit," "Save," "Buy Now," or other critical actions.
Type
Default
Disabled
Primary
.btn-primary
.btn-primary--disabled
Primary with icon
.btn-primary
.btn-primary--disabled
Primary icon
.btn-primary-icon
.btn-primary-icon--disabled
Secondary Buttons
The secondary button is used for less important actions or actions that are of secondary importance compared to those represented by the primary button.
Type
Default
Disabled
Secondary
.btn-secondary
.btn-secondary--disabled
Secondary with icon
.btn-secondary
.btn-secondary--disabled
Secondary icon
.btn-secondary-icon
.btn-secondary-icon--disabled
Link Buttons
Resembles a text link but behaves like a button, often used for navigational or less prominent actions.
Type
Default
Disabled
Link Buttons
.btn-link
.btn-link--disabled
Ghost Buttons
Used for secondary actions or when a less intrusive button style is desired, providing clarity without visual dominance.