Skip to content

Instantly share code, notes, and snippets.

@hg
Created November 29, 2025 18:05
Show Gist options
  • Select an option

  • Save hg/2c5357cddfba1e0f4732e389e69e51a9 to your computer and use it in GitHub Desktop.

Select an option

Save hg/2c5357cddfba1e0f4732e389e69e51a9 to your computer and use it in GitHub Desktop.
lato.css
@font-face {
font-family: "Lato";
src: url("Hairline.woff2") format("woff");
font-weight: 100;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "Lato";
src: url("HairlineItalic.woff2") format("woff");
font-weight: 100;
font-style: italic;
font-display: swap;
}
@font-face {
font-family: "Lato";
src: url("Thin.woff2") format("woff");
font-weight: 200;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "Lato";
src: url("ThinItalic.woff2") format("woff");
font-weight: 200;
font-style: italic;
font-display: swap;
}
@font-face {
font-family: "Lato";
src: url("Light.woff2") format("woff");
font-weight: 300;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "Lato";
src: url("LightItalic.woff2") format("woff");
font-weight: 300;
font-style: italic;
font-display: swap;
}
@font-face {
font-family: "Lato";
src: url("Regular.woff2") format("woff");
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "Lato";
src: url("Italic.woff2") format("woff");
font-weight: 400;
font-style: italic;
font-display: swap;
}
@font-face {
font-family: "Lato";
src: url("Medium.woff2") format("woff");
font-weight: 500;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "Lato";
src: url("MediumItalic.woff2") format("woff");
font-weight: 500;
font-style: italic;
font-display: swap;
}
@font-face {
font-family: "Lato";
src: url("Semibold.woff2") format("woff");
font-weight: 600;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "Lato";
src: url("SemiboldItalic.woff2") format("woff");
font-weight: 600;
font-style: italic;
font-display: swap;
}
@font-face {
font-family: "Lato";
src: url("Bold.woff2") format("woff");
font-weight: 700;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "Lato";
src: url("BoldItalic.woff2") format("woff");
font-weight: 700;
font-style: italic;
font-display: swap;
}
@font-face {
font-family: "Lato";
src: url("Heavy.woff2") format("woff");
font-weight: 800;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "Lato";
src: url("HeavyItalic.woff2") format("woff");
font-weight: 800;
font-style: italic;
font-display: swap;
}
@font-face {
font-family: "Lato";
src: url("Black.woff2") format("woff");
font-weight: 900;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "Lato";
src: url("BlackItalic.woff2") format("woff");
font-weight: 900;
font-style: italic;
font-display: swap;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment