![Introducing Enhanced Alert Actions and Triage Functionality](https://cdn.sanity.io/images/cgdhsj6q/production/fe71306d515f85de6139b46745ea7180362324f0-2530x946.png?w=800&fit=max&auto=format)
Product
Introducing Enhanced Alert Actions and Triage Functionality
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
@ecl/ec-style-typography-paragraph
Advanced tools
Readme
Size | Leading | Weight | Colour | Usage | |
---|---|---|---|---|---|
Leading | L | 36px | Regular | White / EC Grey | Page header introduction (page header) |
Medium | M | 30px | Regular | White / EC Grey | Paragraphs |
Small | S | 26px | Regular | EC Grey | Lists views |
Extra Small | XS | 22px | Regular | EC Grey | Captions / Meta |
Extra Extra Small | XXS | 20px | Regular | EC Grey | Copyrights / Labels |
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
"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.
The spacing between a Heading and a paragraph should be always 30px.
The spacing between Headings should be (H1) 80px, (H2) 60px, (H3) 40px.
FAQs
ECL Paragraphs
The npm package @ecl/ec-style-typography-paragraph receives a total of 122 weekly downloads. As such, @ecl/ec-style-typography-paragraph popularity was classified as not popular.
We found that @ecl/ec-style-typography-paragraph demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
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.
Product
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
Security News
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
Security News
OpenSSF is warning open source maintainers to stay vigilant against reputation farming on GitHub, where users artificially inflate their status by manipulating interactions on closed issues and PRs.