1 Font style guide of webportal
Mingliang Tao редактировал(а) эту страницу 2021-03-09 11:37:29 +08:00

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.