fonts.pcss.css
Same filename in this branch
Same filename in other branches
Base Fonts.
File
-
core/
themes/ olivero/ css/ base/ fonts.pcss.css
View source
- /**
- * @file
- * Base Fonts.
- */
-
- @import "media-queries.pcss.css";
-
- @font-face {
- font-family: metropolis;
- src: url("../../fonts/metropolis/Metropolis-Regular.woff2") format("woff2");
- font-weight: normal;
- font-style: normal;
- font-display: swap;
- }
-
- @font-face {
- font-family: metropolis;
- src: url("../../fonts/metropolis/Metropolis-Bold.woff2") format("woff2");
- font-weight: 700;
- font-style: normal;
- font-display: swap;
- }
-
- @font-face {
- font-family: metropolis;
- src: url("../../fonts/metropolis/Metropolis-SemiBold.woff2") format("woff2");
- font-weight: 600;
- font-style: normal;
- font-display: swap;
- }
-
- /* lora-regular - latin */
- @font-face {
- font-family: Lora;
- src:
- local("Lora Regular"),
- local("Lora-Regular"),
- url("../../fonts/lora/lora-v14-latin-regular.woff2") format("woff2");
- font-weight: 400;
- font-style: normal;
- font-display: swap;
- }
- /* lora-italic - latin */
- @font-face {
- font-family: Lora;
- src:
- local("Lora Italic"),
- local("Lora-Italic"),
- url("../../fonts/lora/lora-v14-latin-italic.woff2") format("woff2");
- font-weight: 400;
- font-style: italic;
- font-display: swap;
- }
- /* lora-700 - latin */
- @font-face {
- font-family: Lora;
- src:
- local("Lora Bold"),
- local("Lora-Bold"),
- url("../../fonts/lora/lora-v14-latin-700.woff2") format("woff2");
- font-weight: 700;
- font-style: normal;
- font-display: swap;
- }
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.