aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2019-04-12 12:34:17 -0500
committerJesús <heckyel@hyperbola.info>2019-04-12 12:34:17 -0500
commit42d6f9912896f61126e0e99562da53cee9f2e505 (patch)
treea7923cc22726fa63638e9b8f88950bc60b99b041 /src
parent9be47412d77b02ac1fc0a5cf26ed88050164873c (diff)
downloadlibretube-theme-42d6f9912896f61126e0e99562da53cee9f2e505.tar.lz
libretube-theme-42d6f9912896f61126e0e99562da53cee9f2e505.tar.xz
libretube-theme-42d6f9912896f61126e0e99562da53cee9f2e505.zip
Fix ensure text remains visible during webfont load
Diffstat (limited to 'src')
-rw-r--r--src/scss/custom/_typography.scss1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/scss/custom/_typography.scss b/src/scss/custom/_typography.scss
index 672d281..8c3c79a 100644
--- a/src/scss/custom/_typography.scss
+++ b/src/scss/custom/_typography.scss
@@ -2,6 +2,7 @@
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
+ font-display: swap;
src: local("Open Sans Regular"), local("OpenSans-Regular"), url(../fonts/opensans/latin.woff2) format("woff2");
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}