Skip to content

Latest commit

 

History

History
70 lines (41 loc) · 5.5 KB

teleneo.md

File metadata and controls

70 lines (41 loc) · 5.5 KB
layout title permalink
page
Teleneo examples
/teleneo/

What's happening

Teleneo at 16px scales like Helvetica or Arial at 14px

This is Helvetica or system default font regular 16px: Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit. Fugiat quo voluptas nulla pariatur? Lorem ipsum dolor sit amet, consectetur adipisicing elit. Architecto beatae vitae dicta sunt explicabo.

This is default Teleneo regular 16px as provided out of the box. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit. Fugiat quo voluptas nulla pariatur? Lorem ipsum dolor sit amet, consectetur adipisicing elit. Architecto beatae vitae dicta sunt explicabo.

This is Helvetica or system default font regular 14px: Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit. Fugiat quo voluptas nulla pariatur? Lorem ipsum dolor sit amet, consectetur adipisicing elit. Architecto beatae vitae dicta sunt explicabo.

Compare Helvetica to TeleNeo Medium rescaled

Helvetica or system default font regular 16px: Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit. Fugiat quo voluptas nulla pariatur? Lorem ipsum dolor sit amet, consectetur adipisicing elit. Architecto beatae vitae dicta sunt explicabo.

TeleNeo Medium rescaled 16px rescaled: Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit. Fugiat quo voluptas nulla pariatur? Lorem ipsum dolor sit amet, consectetur adipisicing elit. Architecto beatae vitae dicta sunt explicabo.

Why it's a problem

  • For the design system, it means defining font-sizes differently than the default REM value of 16px
  • For designers, it means confusion about what type sizes actually mean and what contrast ratios are acceptable.
    • If you want something to be readable, 16px must actually be 18px
    • Smaller legal text at becomes illegible for anyone with less than perfect vision
  • For customers, it means smaller text that's more difficult to read

How to fix it

Rescale TeleNeo into TeleNeoUS. This solves a host of design and accessibility issues.

Teleneo regular 16px

Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit. Fugiat quo voluptas nulla pariatur? Lorem ipsum dolor sit amet, consectetur adipisicing elit. Architecto beatae vitae dicta sunt explicabo.

Laboris nisi ut aliquip ex ea commodo consequat. Esse cillum dolore eu fugiat nulla pariatur. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit.

Et harum quidem rerum facilis est et expedita distinctio. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat.

Teleneo regular 16px rescaled 110%

Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit. Fugiat quo voluptas nulla pariatur? Lorem ipsum dolor sit amet, consectetur adipisicing elit. Architecto beatae vitae dicta sunt explicabo.

Laboris nisi ut aliquip ex ea commodo consequat. Esse cillum dolore eu fugiat nulla pariatur. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit.

Et harum quidem rerum facilis est et expedita distinctio. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat.

Teleneo medium 16px rescaled 110%

Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit. Fugiat quo voluptas nulla pariatur? Lorem ipsum dolor sit amet, consectetur adipisicing elit. Architecto beatae vitae dicta sunt explicabo.

Laboris nisi ut aliquip ex ea commodo consequat. Esse cillum dolore eu fugiat nulla pariatur. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit.

Et harum quidem rerum facilis est et expedita distinctio. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat.

Caveats & disclaimers

But if we switch it all out, won't making the type bigger break a bunch of things?

  • Not really. Mobile designs are generally flexible enough that a change like this won't be catastrophic. If custom fonts don't load, default system fonts take over automatically anyway and the site is expected to function normally.

Any existing designers will have to expunge TeleNeo from their devices

  • True, but we don't have as many designers as we used to.
  • And even if a designer did end up using TeleNeo default, it really won't have a huge impact, their type will just be more readable in production and very few people will even notice

A single frictionless source of truth for TeleNeoUS will have to be provided

  • That's easy enough. We can include it with Apeiron, making it easier to get than from DT