Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Font style guide of webportal

Mingliang Tao edited this page Mar 9, 2021 · 1 revision

Webportal Font Solution:

  1. FontClassNames (Use to custom text) Different classname has different default styles. Incudes:
  • FontSize
  • FontWeight
  • FontFamily: A font map for different language with a fallback const FontFamilyFallbacks = `'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', 'Helvetica Neue', sans-serif`;
  1. Text component (Recommended to use as default text) Has a parameter variant to control the font styles.

  2. Tachyons. The tachyons css module is not recommended right now. However the history code still has tachyons styles. Will be removed step by step.

Clone this wiki locally