Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ecl/generic-style-typography-heading

Package Overview
Dependencies
Maintainers
3
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ecl/generic-style-typography-heading

ECL Headings

  • 1.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
94
decreased by-15.32%
Maintainers
3
Weekly downloads
 
Created
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

Package last updated on 29 Aug 2019

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc