Socket
Socket
Sign inDemoInstall

@ecl/ec-style-typography-heading

Package Overview
Dependencies
3
Maintainers
3
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @ecl/ec-style-typography-heading

ECL Headings


Version published
Weekly downloads
101
decreased by-15.13%
Maintainers
3
Install size
30.1 kB
Created
Weekly downloads
 

Readme

Source

Headings

Headings and subheadings should be organised in a hierarchy, with heading first, followed by subheadings in order (An H2 will nestle under H1, and H2 under H3, and so on down).

SizeLeadingWeightColourUsage
HeadlineM40pxBold / regularWhiteHeadline on Page header (only used on homepage)
Heading 1XXL44px600White/BlackPage titles (page header)/body of text
Heading 2XL33px600BlackBody of the page
Heading 3L24px600EC GreyBody of the page/Listing components
Heading 4M30px600EC Grey
Heading 5S22pxRegular / uppercaseEC Grey

Line height

Line-height, traditionally known as leading, is one of several factors that directly contribute to readability and pacing of copy. Line-heights are based on the size of the font itself. Ideal line-heights for standard copy has a ratio of 1.66. For example, a type at 1em/16px would have a line-height of 24px (16 x 1.66). The exception to this rule are headings, which need less spacing and therefore have a line-height ratio of 1.1.

Headings line-height: type size x 1.1

Keywords

FAQs

Last updated on 29 Aug 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc