SpinaCMS/Spina

View on GitHub
app/assets/stylesheets/spina/fonts.css.erb

Summary

Maintainability
Test Coverage
@font-face {
  font-family: "Metropolis";
  font-weight: 400;
  src: url('<%= asset_path "spina/Metropolis-Regular.woff2" %>') format("woff2");
}

@font-face {
  font-family: "Metropolis";
  font-style: italic;
  src: url('<%= asset_path "spina/Metropolis-RegularItalic.woff2" %>') format("woff2");
}

@font-face {
  font-family: "Metropolis";
  font-weight: 100;
  src: url('<%= asset_path "spina/Metropolis-Thin.woff2" %>') format("woff2");
}

@font-face {
  font-family: "Metropolis";
  font-weight: 100;
  font-style: italic;
  src: url('<%= asset_path "spina/Metropolis-ThinItalic.woff2" %>') format("woff2");
}

@font-face {
  font-family: "Metropolis";
  font-weight: 200;
  src: url('<%= asset_path "spina/Metropolis-ExtraLight.woff2" %>') format("woff2");
}

@font-face {
  font-family: "Metropolis";
  font-weight: 200;
  src: url('<%= asset_path "spina/Metropolis-ExtraLightItalic.woff2" %>') format("woff2");
}

@font-face {
  font-family: "Metropolis";
  font-weight: 300;
  src: url('<%= asset_path "spina/Metropolis-Light.woff2" %>') format("woff2");
}

@font-face {
  font-family: "Metropolis";
  font-weight: 300;
  font-style: italic;
  src: url('<%= asset_path "spina/Metropolis-LightItalic.woff2" %>') format("woff2");
}

@font-face {
  font-family: "Metropolis";
  font-weight: 500;
  src: url('<%= asset_path "spina/Metropolis-Medium.woff2" %>') format("woff2");
}

@font-face {
  font-family: "Metropolis";
  font-weight: 500;
  font-style: italic;
  src: url('<%= asset_path "spina/Metropolis-MediumItalic.woff2" %>') format("woff2");
}

@font-face {
  font-family: "Metropolis";
  font-weight: 600;
  src: url('<%= asset_path "spina/Metropolis-SemiBold.woff2" %>') format("woff2");
}

@font-face {
  font-family: "Metropolis";
  font-weight: 600;
  font-style: italic;
  src: url('<%= asset_path "spina/Metropolis-SemiBoldItalic.woff2" %>') format("woff2");
}

@font-face {
  font-family: "Metropolis";
  font-weight: 700;
  src: url('<%= asset_path "spina/Metropolis-Bold.woff2" %>') format("woff2");
}

@font-face {
  font-family: "Metropolis";
  font-weight: 700;
  font-style: italic;
  src: url('<%= asset_path "spina/Metropolis-BoldItalic.woff2" %>') format("woff2");
}

@font-face {
  font-family: "Metropolis";
  font-weight: 800;
  src: url('<%= asset_path "spina/Metropolis-ExtraBold.woff2" %>') format("woff2");
}

@font-face {
  font-family: "Metropolis";
  font-weight: 800;
  font-style: italic;
  src: url('<%= asset_path "spina/Metropolis-ExtraBoldItalic.woff2" %>') format("woff2");
}

@font-face {
  font-family: "Metropolis";
  font-weight: 900;
  src: url('<%= asset_path "spina/Metropolis-Black.woff2" %>') format("woff2");
}

@font-face {
  font-family: "Metropolis";
  font-weight: 900;
  font-style: italic;
  src: url('<%= asset_path "spina/Metropolis-BlackItalic.woff2" %>') format("woff2");
}