Skip to content

Instantly share code, notes, and snippets.

@KhaledMohamedP
Created March 30, 2018 15:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KhaledMohamedP/f1ff9a4cf08061da544aa4787b53f408 to your computer and use it in GitHub Desktop.
Save KhaledMohamedP/f1ff9a4cf08061da544aa4787b53f408 to your computer and use it in GitHub Desktop.
system-ui-font
/* Define the "system" font family */
@font-face {
font-family: system;
font-style: normal;
font-weight: 300;
src: local(".SFNSText-Light"), local(".HelveticaNeueDeskInterface-Light"), local(".LucidaGrandeUI"), local("Ubuntu Light"), local("Segoe UI Light"), local("Roboto-Light"), local("DroidSans"), local("Tahoma");
}
/* Now, let's apply it on an element */
body {
font-family: "system";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment