The type system
Use typography to present your design and content as clearly and efficiently as possible.
Type scale
The type scale includes a range of contrasting styles that support the needs of your product and its content.
The type scale is a combination of thirteen styles that are supported by the type system. It contains reusable categories of text, each with an intended application and meaning.
Headline 1 |
Font | Weight | Size | Letter spacing | Default color | |
Arial |
500 |
2.375rem / 36px |
0 |
#58595B |
Headline 2 |
Font | Weight | Size | Letter spacing | Default color | |
Arial |
500 |
1.875rem / 30px |
0 |
#58595B |
Headline 3 |
Font | Weight | Size | Letter spacing | Default color | |
Arial |
500 |
1.165rem / 26px |
0 |
#58595B |
Headline 4 |
Font | Weight | Size | Letter spacing | Default color | |
Arial |
400 |
1.375rem / 22px |
0 |
#58595B |
Headline 5 |
Font | Weight | Size | Letter spacing | Default color | |
Arial |
400 |
1.125rem / 18px |
0 |
#58595B |
Headline 6 |
Font | Weight | Size | Letter spacing | Default color | |
Arial |
400 |
0.875rem / 14px |
0 |
#58595B |
Type scape example:
This example type scale uses the Arial
typeface for all headlines, subtitles,
body, and captions,
creating a cohesive typography experience. Hierarchy is communicated through differences in font weight
(Light
, Medium
, Regular
), size
,
letter spacing
, and case
.

Display type scale
Traditional heading elements are designed to work best in the meat of our page content. But sometimes we
need a larger, slightly more opinionated heading style. Then we consider using the
display heading
.
Display 1
|
Font | Weight | Size | Letter spacing | |
Arial |
300 |
5rem / 36px |
0 |
Display 2
|
Font | Weight | Size | Letter spacing | |
Arial |
300 |
4.5rem / 30px |
0 |
Display 3
|
Font | Weight | Size | Letter spacing | |
Arial |
300 |
4rem / 26px |
0 |
Display 4
|
Font | Weight | Size | Letter spacing | |
Arial |
300 |
3.5rem / 22px |
0 |
Font size units:
The following units are used to express font size on the web.
Font size [px] |
Font size [rem] |
---|---|
10px | 0.625rem |
12px | 0.75rem |
14px | 0.875rem |
16px | 1rem |
18px | 1.125rem |
20px | 1.25rem |
22px | 1.375rem |
24px | 1.5rem |
26px | 1.625rem |
28px | 1.75rem |
30px | 1.875rem |
32px | 2rem |
34px | 2.125 |
36px | 2.25 |
38px | 2.375 |
40px | 2.5rem |
42px | 2.625rem |
44px | 2.75rem |
46px | 2.875rem |
48px | 3rem |
50px | 3.125rem |
52px | 3.25rem |
54px | 3.375rem |
56px | 3.5rem |
58px | 3.625rem |
60px | 3.75rem |
62px | 3.875rem |
64px | 4rem |
66px | 4.125rem |
68px | 4.25rem |
72px | 4.5rem |
Sizing: px vs em vs rem
When building accessible websites, we need to consider inclusion. When we use px, we don't put user preferences at the forefront. When the user zooms in or change the browser font setting, websites need to adjust to fit the user's setting. px do not scale but em and rem scales.
Sequel to this, setting the font size of the html element in percentage is recommended. Assuming the browser font size is set to 14px (i.e. the default), setting the font size of the html (root) element to 62.5% will default 0.875rem to 10px.
The Difference
Pixel (px)
is a commonly used CSS unit on websites. px is not scalable, it is an absolute
unit. Change
in the value of another element does not affect the value of absolute units. The value assigned is fixed
irrespective of the user setting.
Element (em)
and Root element (rem)
are responsive units interpreted into
equivalent px unit by the
browser. They are relative units. Change in the value of the parent or root element affects the value of
relative units. They scale with the device. The computed pixel value of em
unit is relative
to the font
size of the element being styled. This is also affected by inherited values from the parent elements
unless it is explicitly overridden by a px
unit which is not subject to inheritance.
The color system
The Material Design color system can help you create a color theme that reflects your brand or style.
Usages and palettes
The color system helps you apply color to your UI in a meaningful way. In this system, you select a primary and a secondary color to represent your brand. Dark and light variants of each color can then be applied to your UI in different ways.
Theming
Color themes are designed to be harmonious, ensure accessible text, and distinguish UI elements and surfaces from one another.
#0054a6

Value | 50 | 100 | 200 | 300 | 400 | Primary | 600 | 700 | 800 | 900 |
---|---|---|---|---|---|---|---|---|---|---|
Hex Color | #E6EEF6 |
#ccdded |
#99bbdb |
#6698ca |
#3376b8 |
#0054a6 |
#003f7d |
#002a53 |
#001529 |
#000811 |
Color | #58595b |
#58595b |
#58595b |
#58595b |
#58595b |
#ffffff |
#ffffff |
#ffffff |
#ffffff |
#ffffff |
#58595b

Value | 50 | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 |
---|---|---|---|---|---|---|---|---|---|---|
Hex Color | #EEEEEF | #dedede | #bcbdbd | #9b9b9d | #797a7c | #58595b | #424344 | #2c2d2e | #161617 | #000000 |
Color | #58595b |
#58595b |
#58595b |
#58595b |
#58595b |
#ffffff |
#ffffff |
#ffffff |
#ffffff |
#ffffff |
Headers
Headers are compositions that extend standard navbar functionalities. They contain additional components like sub-navbar, or image covers which serve as a containers for extra navigation elements - usually links, forms, or call-to-action buttons.
Navigation bar
The top app bar provides content and actions related to the current screen. It’s used for branding, screen titles, navigation, and actions.

- Background color:
#0054a6
- Primary:
#0054a6
- Light:
#bcbec0
- Brand Gradient:
#00aeef
6a6
- Border radius:
0
- Height:
56px
- Height:
32px
- Width:
Auto
-
1. Header container -
-
2. Logo
- Font size:
14px
- Color:
#58595b
- Left & right padding:
.5rem
/8px
- Top & bottom padding:
1rem
/16px
-
3. Navigation items
-
4. Padding
-
5. User icon
-
6. Dropdown menu icon
The width of the dropdown menu should be according to the size of the menu item. And the
required tabbing
should have Padding
Top and Bottom as 0.5rem
or 8px
and
the Padding
Right and Left as 1rem
or 16px
which ever is applicable.

- Height and width will adust with the dropdown items
- Left & right padding:
.5rem
/8px
- Top & bottom padding:
1rem
/16px
-
1. Heigh and width of dropdown menu
-
2. Dropdown items padding
Text fields
Text fields let users enter and edit text. Text fields allow users to enter text into a UI. They typically appear in forms and dialogs.
Types
Text fields come in two types:
- Filled text fields
Both types of text fields use a container to provide a clear affordance for interaction, making the fields discoverable in layouts.
Filled text fields


Both types of text fields provide the same functionality, so the type of text field you use can depend on style alone.
Anatomy - Filled text field
Filled text field

- Border color:
#bdbdbd
- Border radius:
2px
- Font size:
14px
- Color:
#bcbec0
- Font size:
14px
- Color:
#58595b
- Left & right padding:
.75rem
- Top & bottom padding:
.45rem
-
1. Input container -
-
2. Input text
-
3. Label text
-
4. Padding
Filled text field - focus

- Border color:
#0054a6
- Font size:
10px
- Color:
#58595b
-
1. Input container focus -
-
2. Input label text -
Radio buttons
Radio buttons are used when there is a list of two or more options that are mutually exclusive and the user must select exactly one choice. In other words, clicking a non-selected radio button will deselect whatever other button was previously selected in the list.

Usage
Use radio buttons to:
- Select a single option from a list
- Expose all available options
When to use radio buttons?
Radio buttons should be used instead of checkboxes if only one item can be selected from a list.

Do use radio buttons when only one item can be selected from a list.

Do not use checkboxes when only one item can be selected from a list. Use radio buttons instead.
Checkbox
Checkboxes are used when there are lists of options and the user may select any number of choices, including zero, one, or several. In other words, each checkbox is independent of all other checkboxes in the list, so checking one box doesn’t uncheck the others. A stand-alone checkbox, or a toggle can be used for a single option that the user can turn on or off.

Usage
Use checkboxes to:
- Select one or more options from a list
- Present a list containing sub-selections
- Turn an item on or off in a desktop environment
When to use checkboxes
Checkboxes should be used instead of switches if multiple options can be selected from a list.

Do: Checkboxes let users select one or more options from a list. A parent checkbox allows for easy selection or deselection of all items.

Do not: If a list consists of multiple options, don't use switches. Instead, use checkboxes. Checkboxes imply the items are related, and take up less visual space.