Cal-ITP: California Integrated Travel Project

Digital Services Design Language demo page

This page showcases the elements of the Digital Services Design Language (DSDL) that are currently implemented.

Color palette

Brand colors

These colors are canonized as CSS variables. Example: --calitp-brand-blue

Full range

These CSS variables take the form --dsdl-{color}-{number}. Example: --dsdl-red-40

  1. red-10
  2. red-20
  3. red-30
  4. red-40
  5. red-50
  6. red-60
  7. red-70
  8. red-80
  9. red-90
  10. red-100
  1. orange-10
  2. orange-20
  3. orange-30
  4. orange-40
  5. orange-50
  6. orange-60
  7. orange-70
  8. orange-80
  9. orange-90
  10. orange-100
  1. yellow-10
  2. yellow-20
  3. yellow-30
  4. yellow-40
  5. yellow-50
  6. yellow-60
  7. yellow-70
  8. yellow-80
  9. yellow-90
  10. yellow-100
  1. green-10
  2. green-20
  3. green-30
  4. green-40
  5. green-50
  6. green-60
  7. green-70
  8. green-80
  9. green-90
  10. green-100
  1. cyan-10
  2. cyan-20
  3. cyan-30
  4. cyan-40
  5. cyan-50
  6. cyan-60
  7. cyan-70
  8. cyan-80
  9. cyan-90
  10. cyan-100
  1. blue-10
  2. blue-20
  3. blue-30
  4. blue-40
  5. blue-50
  6. blue-60
  7. blue-70
  8. blue-80
  9. blue-90
  10. blue-100
  1. purple-10
  2. purple-20
  3. purple-30
  4. purple-40
  5. purple-50
  6. purple-60
  7. purple-70
  8. purple-80
  9. purple-90
  10. purple-100
  1. indigo-10
  2. indigo-20
  3. indigo-30
  4. indigo-40
  5. indigo-50
  6. indigo-60
  7. indigo-70
  8. indigo-80
  9. indigo-90
  10. indigo-100
  1. pink-10
  2. pink-20
  3. pink-30
  4. pink-40
  5. pink-50
  6. pink-60
  7. pink-70
  8. pink-80
  9. pink-90
  10. pink-100
  1. gray-10
  2. gray-20
  3. gray-30
  4. gray-40
  5. gray-50
  6. gray-60
  7. gray-70
  8. gray-80
  9. gray-90
  10. gray-100
  1. slate-10
  2. slate-20
  3. slate-30
  4. slate-40
  5. slate-50
  6. slate-60
  7. slate-70
  8. slate-80
  9. slate-90
  10. slate-100 (black)

Typography

Fonts

Space Grotesk

Space Grotesk is a proportional sans-serif typeface with modern feeling and strong readability. It has a sense of urbanity and trustworthiness, with strong, clean lines. It is used for headings and display text on Cal-ITP websites.

See it on Google Fonts

Noto Sans

Noto is designed specifically for accessibility and global communication, offering high-quality fonts with various weights and widths in sans, serif, mono, and other styles. This font family supports over 1,000 languages and 150 scripts. It’s a contemporary, aesthetic font with high reading eligibility. It supports scripts of CA’s main languages: English, Spanish, Mandarin + Cantonese, Tagalog, Vietnamese, Korean, Armenian, Arabic, Russian, Farsi, Hindi, and Japanese. It is used for body copy on Cal-ITP websites.

See it on Google Fonts

Source Code Pro

Source Code Pro is an open-source monospace typeface designed to work well in user interface and coding environments. It is used on Cal-ITP websites when fixed-width type is appropriate, such as displaying code.

See it on Google Fonts

Core styles

Headline Title Subtitle Body
Large
font-size:
40px
font-weight:
700
line-height:
1.25
Amazingly few discotheques provide jukeboxes.
font-size:
32px
font-weight:
600
line-height:
1.25
Amazingly few discotheques provide jukeboxes.
font-size:
24px
font-weight:
500
line-height:
1.25
Amazingly few discotheques provide jukeboxes.
font-size:
16px
font-weight:
400
line-height:
1.5
Amazingly few discotheques provide jukeboxes.
Medium
font-size:
32px
font-weight:
700
line-height:
1.25
Amazingly few discotheques provide jukeboxes.
font-size:
24px
font-weight:
600
line-height:
1.25
Amazingly few discotheques provide jukeboxes.
font-size:
20px
font-weight:
500
line-height:
1.5
Amazingly few discotheques provide jukeboxes.
font-size:
14px
font-weight:
400
line-height:
1.625
Amazingly few discotheques provide jukeboxes.
Small
font-size:
24px
font-weight:
700
line-height:
1.25
Amazingly few discotheques provide jukeboxes.
font-size:
16px
font-weight:
600
line-height:
1.5
Amazingly few discotheques provide jukeboxes.
font-size:
16px
font-weight:
500
line-height:
1.5
Amazingly few discotheques provide jukeboxes.
font-size:
12px
font-weight:
400
line-height:
1.625
Amazingly few discotheques provide jukeboxes.
Core font style matrix

Spacing

Sample Variable px rem
A box illustrating the size of something using spacing 05 (half)
--spacing-05 4px 0.25rem
A box illustrating the size of something using spacing 1
--spacing-1 8px 0.5rem
A box illustrating the size of something using spacing 2
--spacing-2 16px 1rem
A box illustrating the size of something using spacing 2-05 (two and a half)
--spacing-2-05 20px 1.25rem
A box illustrating the size of something using spacing 3
--spacing-3 24px 1.5rem
A box illustrating the size of something using spacing 4
--spacing-4 32px 2rem
A box illustrating the size of something using spacing 5
--spacing-5 40px 2.5rem
A box illustrating the size of something using spacing 6
--spacing-6 48px 3rem
A box illustrating the size of something using spacing 7
--spacing-7 56px 3.5rem
A box illustrating the size of something using spacing 8
--spacing-8 64px 4rem
A box illustrating the size of something using spacing 9
--spacing-9 72px 4.5rem
A box illustrating the size of something using spacing 10
--spacing-10 80px 5rem
A box illustrating the size of something using spacing 15
--spacing-15 120px 7.5rem
A box illustrating the size of something using spacing 20
--spacing-20 160px 10rem
Chart of our spacing variables with visual reference

Note: For lines we want to be exactly 1 logical pixel without scaling, we use a 1px value directly.