Skip to content

Instantly share code, notes, and snippets.

@mirceapiturca
Last active August 9, 2022 13:42
Show Gist options
  • Save mirceapiturca/829f416765e6714af86ca2b38395d845 to your computer and use it in GitHub Desktop.
Save mirceapiturca/829f416765e6714af86ca2b38395d845 to your computer and use it in GitHub Desktop.
<!-- snippets/css-fonts.liquid -->
<style>
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 400;
font-display: swap;
src: local('Roboto'), local('Roboto-Regular'),
url(https://cdn.shopify.com/s/files/1/2659/0940/files/roboto-v18-latin-regular.woff2) format('woff2'),
url(https://cdn.shopify.com/s/files/1/2659/0940/files/roboto-v18-latin-regular.woff) format('woff');
}
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 700;
font-display: swap;
src: local('Roboto Bold'), local('Roboto-Bold'),
url(https://cdn.shopify.com/s/files/1/2659/0940/files/roboto-v18-latin-700.woff2) format('woff2'),
url(https://cdn.shopify.com/s/files/1/2659/0940/files/roboto-v18-latin-700.woff) format('woff');
}
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment