Files
..

Update fonts by doing the following:

  1. Go to https://fonts.google.com/specimen/Open+Sans
  2. Add all the styles you want and select @import
  3. Copy the url (e.g. curl https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&display=swap)
  4. Run curl curl https://fonts.googleapis.com/css2\?family\=Open+Sans:ital,wght@0,300\;0,400\;0,500\;0,600\;0,700\;0,800\;1,300\;1,400\;1,500\;1,600\;1,700\;1,800\&display\=swap
  5. Use the response as the CSS import directives and download the font files for each font weight
  6. Remember to delete any old font files