Skip to content

Latest commit

 

History

History
97 lines (54 loc) · 2.25 KB

2018-10-02-component-fonts.md

File metadata and controls

97 lines (54 loc) · 2.25 KB

Fonts fo the component

  • Status: accepted
  • Deciders: Pietro
  • Date: 2018-10-02

Context and Problem Statement

Should the component come with it's own font? or just inherit from the app/enviroment it has been used in?

Decision Outcome

Looking into mono or duo space fonts can help with readability, see this article

Default system stack, covers most monospaced ones in various systems

/* Monospace stack */
font-family: Consolas, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", Monaco, "Courier New", Courier, monospace;

fall-backs

font-family: Helvetica Neue, Helvetica, Arial, sans-serif;

https://www.cssfontstack.com/Helvetica

As it is a component, concluded it should not enforce anything in css.