First: Download the fonts you want to import
Introduce in your own css file
@font-face {
font-family:HarmonyOS_Sans_SC_Medium;font-style: normal;font-display: swap;
src: url('../fonts/HarmonyOS_Sans_SC_Medium.woff2') format('woff2'),
url('../fonts/HarmonyOS_Sans_SC_Medium.woff') format('woff');
}
*{font-family:HarmonyOS_Sans_SC_Medium;}
final effect
I am using the Hongmeng font