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

@ecl/generic-style-typography-paragraph

Package Overview
Dependencies
Maintainers
3
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ecl/generic-style-typography-paragraph

ECL Paragraphs

  • 1.4.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
93
Maintainers
3
Weekly downloads
 
Created
Source

Paragraphs

SizeLeadingWeightColourUsage
LeadingL36pxRegularWhite / EC GreyPage header introduction (page header)
MediumM30pxRegularWhite / EC GreyParagraphs
SmallS26pxRegularEC GreyLists views
Extra SmallXS22pxRegularEC GreyCaptions / Meta
Extra Extra SmallXXS20pxRegularEC GreyCopyrights / Labels

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.

Standard line-height: type size x 1.66

Line-length

"Research shows that reading slows and retention rates fall as line length begins to exceed the ideal width, because the reader then needs to use the muscles of the eye and neck to track from the end of one line to the beginning of the next line. If the eye must traverse great distances on the page, the reader is easily lost and must hunt for the beginning of the next line. Quantitative studies show that moderate line lengths significantly increase the legibility of text." Web Style Guide – Basic Design Principles for Creating Website Patrick J. Lynch and Sarah Horton 2nd edition, page 97.

Line-length: 44 to 77 characters.

Spacing

The spacing between a Heading and a paragraph should be always 30px.

The spacing between Headings should be (H1) 80px, (H2) 60px, (H3) 40px.

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