alert-circle An exclamation point inside of a circle. alert-triangle An exclamation point inside of a triangle shape. arrow-down-left An arrow pointing down and to the left. arrow-down-right An arrow pointing down and to the right. arrow-down An arrow pointing down. arrow-left An arrow pointing left. arrow-right-thick A thick arrow pointing right arrow-right An arrow pointing right. arrow-up-left An arrow pointing up and to the left. arrow-up-right-thick A thick arrow pointing up and to the right arrow-up-right An arrow pointing up and to the right. arrow-up-thick A thick arrow pointing up arrow-up An arrow pointing up. award A award bell A bell. calendar A calendar icon. camera-off A camera that is deactivated. camera A camera. check-circle A checkmark in a circle. checkmark A checkmark. chevron-down A chevron arrow pointing down. chevron-up A chevron arrow pointing up. chevron A chevron arrow pointing down. chevron A chevron arrow pointing down. chrome Chrome browser logo. close-circle An x in a circle. close A x shape. door A car door. edge Edge browser logo. ellipses An ellipses shape. engine A car engine. envelope A closed envelope. explorer Internet explorer logo. eye-off An eye that is deactivated. eye An eye. facebook Facebook logo. file-text A piece of paper with lines on it. file A blank piece of paper. firefox Firefox browser logo icon-flame A flame. fwd A car drivetrain. gear A gear with multiple teeth. grid A 2x2 grid. heart An empty heart. height-width Arrows indicating height and width measurement. home A home icon. info THe letter i in a circle. instagram Instagram logo. link A chain link. linkedin Linkedin logo. map-marker A map marker pin. maximize Four corners containing a plus sign. menu Three lines signifying a menu. message-circle A speech bubble. minus A minus dash. mpg A car dashboard gauge. opera Opera browser logo. pause A pause symbol. pencil A pencil. phone A phone handset. pinteest-disc Pinterest logo in a disc. pinterest Pinterest logo. play A play button. plus A plus symbol. safari Safari browser logo. search A magnifying glass. seat A car seat. shield A shield sliders A group of control sliders. square A square with rounded corners star A star. tag A shopping tag. thumbs-down A hand with the thumb pointing down. thumbs-up A hand with the thumb pointing up. trash A trash can. trophy A trophy. truck A truck icon. twitter Twitter logo. user-circle An outline of a person in a circle. user An outline of a person. video A video camera. youtube Youtube logo. zoom-in A magnifying glass with a plus in the center alert-circle An exclamation point inside of a circle. alert-triangle An exclamation point inside of a triangle shape. arrow-down-left An arrow pointing down and to the left. arrow-down-right An arrow pointing down and to the right. arrow-down An arrow pointing down. arrow-left An arrow pointing left. arrow-right-thick A thick arrow pointing right arrow-right An arrow pointing right. arrow-up-left An arrow pointing up and to the left. arrow-up-right-thick A thick arrow pointing up and to the right arrow-up-right An arrow pointing up and to the right. arrow-up-thick A thick arrow pointing up arrow-up An arrow pointing up. award A award bell A bell. calendar A calendar icon. camera-off A camera that is deactivated. camera A camera. check-circle A checkmark in a circle. checkmark A checkmark. chevron-down A chevron arrow pointing down. chevron-up A chevron arrow pointing up. chevron A chevron arrow pointing down. chevron A chevron arrow pointing down. chrome Chrome browser logo. close-circle An x in a circle. close A x shape. door A car door. edge Edge browser logo. ellipses An ellipses shape. engine A car engine. envelope A closed envelope. explorer Internet explorer logo. eye-off An eye that is deactivated. eye An eye. facebook Facebook logo. file-text A piece of paper with lines on it. file A blank piece of paper. firefox Firefox browser logo icon-flame A flame. fwd A car drivetrain. gear A gear with multiple teeth. grid A 2x2 grid. heart An empty heart. height-width Arrows indicating height and width measurement. home A home icon. info THe letter i in a circle. instagram Instagram logo. link A chain link. linkedin Linkedin logo. map-marker A map marker pin. maximize Four corners containing a plus sign. menu Three lines signifying a menu. message-circle A speech bubble. minus A minus dash. mpg A car dashboard gauge. opera Opera browser logo. pause A pause symbol. pencil A pencil. phone A phone handset. pinteest-disc Pinterest logo in a disc. pinterest Pinterest logo. play A play button. plus A plus symbol. safari Safari browser logo. search A magnifying glass. seat A car seat. shield A shield sliders A group of control sliders. square A square with rounded corners star A star. tag A shopping tag. thumbs-down A hand with the thumb pointing down. thumbs-up A hand with the thumb pointing up. trash A trash can. trophy A trophy. truck A truck icon. twitter Twitter logo. user-circle An outline of a person in a circle. user An outline of a person. video A video camera. youtube Youtube logo. zoom-in A magnifying glass with a plus in the center facebook Facebook logo. instagram Instagram logo. linkedin Linkedin logo. pinteest-disc Pinterest logo in a disc. pinterest Pinterest logo. twitter Twitter logo. youtube Youtube logo.
Spark logo Spark Design System
STYLE-GUIDE

Typography & headings

Every font-size for clear hierarchies, useful organizations, and purposeful alignments

Typefaces

There are two typefaces being used on Cars.com (responsive web):

Inter

CSS font-stack: "Inter var", Helvetica, Arial, sans-serif

This font is used on the responsive web platform for general page body copy and component text. All elements of our components and patterns should use this font for all purposes, other than headings or “display”-type renderings (which can include hero text, branding, graphical elements, etc).

Sharp Sans Display No.1

CSS font-stack: "Sharp Sans Display 1", Helvetica, Arial, sans-serif

The heading font is reserved for headings only, and should not be used for body copy or in long-form text. Exceptions can be made for “display”-type blocks of larger text in a hero or larger area.

Visit the Fonts Resources page to download font packages to your machine.

  • 16px is the default global font-size.
  • 18px is recommended for long-form pieces, or heavy reading.
  • 14px is used for helper and error text in Forms, and in Tooltips.
  • 12px is reserved for Disclaimer text.

If using a font-size larger than 18px and your text is being used as a heading, it is recommended to utilize the pre-set Heading classes below. Large “display” text usage should be aligned with other uses or patterns across the site.

Size relationships

font-size pairings should be considered carefully. It is recommended to use two levels of separation between available font-sizes when creating adjacent bodies of text.

Body copy styles

  • Global line-height for body copy is set at 1.5
  • line-height for headings is responsive and is included in the Heading classes below.

Headings

Pre-packaged CSS classes for use in applying a visual style to any level of heading. For example, an h1 can have a sds-heading--3 style applied if the page template calls for the visual representation to be slightly smaller. This helps separate the visual hierarchy from the rigid underlying document outline.

Heading hierarchy

Cars.com page templates should use a standard hierarchy for structural and visual headings, though they do not necessarily need to match each other 1:1.

For example, a structural outline should look like this:

  • h1
    • h2
    • h2
      • h3
    • h2
      • h3
        • h4
    • h2

The visual hierarchy should match, in that the headings should decrease in size from the top of the page to the bottom. A page title (h1) should traditionally use an sds-heading--1 style (there should be only one h1 per page). Page sections should use h2 heading markup and sds-heading--2 styles. Nested areas should use h3 and sds-heading--3 and so on.

The differentiation to note is that a module on a page can have a different level of markup heading and style heading. For example, a module title can use an h3 heading tag, but be styled using sds-heading--2. This does not affect the document outline or the SEO for this module.

Heading styles

The “brick”

See more about the “brick” under Separators