chore: Use font subsetting for Inter (#1553)
Co-authored-by: Nithin David Thomas <webofnithin@gmail.com>
This commit is contained in:
parent
bde323ffaf
commit
4a9e665f94
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
app/javascript/shared/assets/fonts/Inter-Light.woff
Normal file
BIN
app/javascript/shared/assets/fonts/Inter-Light.woff
Normal file
Binary file not shown.
BIN
app/javascript/shared/assets/fonts/Inter-Light.woff2
Normal file
BIN
app/javascript/shared/assets/fonts/Inter-Light.woff2
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
app/javascript/shared/assets/fonts/Inter-Thin.woff
Normal file
BIN
app/javascript/shared/assets/fonts/Inter-Thin.woff
Normal file
Binary file not shown.
BIN
app/javascript/shared/assets/fonts/Inter-Thin.woff2
Normal file
BIN
app/javascript/shared/assets/fonts/Inter-Thin.woff2
Normal file
Binary file not shown.
@ -3,8 +3,8 @@
|
||||
font-style: normal;
|
||||
font-weight: 100;
|
||||
font-display: swap;
|
||||
src: url('~shared/assets/fonts/Inter-Thin-BETA.woff2?v=3.11') format('woff2'),
|
||||
url('~shared/assets/fonts/Inter-Thin-BETA.woff?v=3.11') format('woff');
|
||||
src: url('~shared/assets/fonts/Inter-Thin.woff2') format('woff2'),
|
||||
url('~shared/assets/fonts/Inter-Thin.woff') format('woff');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
@ -12,8 +12,8 @@
|
||||
font-style: normal;
|
||||
font-weight: 300;
|
||||
font-display: swap;
|
||||
src: url('~shared/assets/fonts/Inter-Light-BETA.woff2?v=3.11') format('woff2'),
|
||||
url('~shared/assets/fonts/Inter-Light-BETA.woff?v=3.11') format('woff');
|
||||
src: url('~shared/assets/fonts/Inter-Light.woff2') format('woff2'),
|
||||
url('~shared/assets/fonts/Inter-Light.woff') format('woff');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
@ -21,8 +21,8 @@
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-display: swap;
|
||||
src: url('~shared/assets/fonts/Inter-Regular.woff2?v=3.11') format('woff2'),
|
||||
url('~shared/assets/fonts/Inter-Regular.woff?v=3.11') format('woff');
|
||||
src: url('~shared/assets/fonts/Inter-Regular.woff2') format('woff2'),
|
||||
url('~shared/assets/fonts/Inter-Regular.woff') format('woff');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
@ -30,8 +30,8 @@
|
||||
font-style: italic;
|
||||
font-weight: 400;
|
||||
font-display: swap;
|
||||
src: url('~shared/assets/fonts/Inter-Italic.woff2?v=3.11') format('woff2'),
|
||||
url('~shared/assets/fonts/Inter-Italic.woff?v=3.11') format('woff');
|
||||
src: url('~shared/assets/fonts/Inter-Italic.woff2') format('woff2'),
|
||||
url('~shared/assets/fonts/Inter-Italic.woff') format('woff');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
@ -39,8 +39,8 @@
|
||||
font-style: normal;
|
||||
font-weight: 500;
|
||||
font-display: swap;
|
||||
src: url('~shared/assets/fonts/Inter-Medium.woff2?v=3.11') format('woff2'),
|
||||
url('~shared/assets/fonts/Inter-Medium.woff?v=3.11') format('woff');
|
||||
src: url('~shared/assets/fonts/Inter-Medium.woff2') format('woff2'),
|
||||
url('~shared/assets/fonts/Inter-Medium.woff') format('woff');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
@ -48,8 +48,8 @@
|
||||
font-style: normal;
|
||||
font-weight: 600;
|
||||
font-display: swap;
|
||||
src: url('~shared/assets/fonts/Inter-SemiBold.woff2?v=3.11') format('woff2'),
|
||||
url('~shared/assets/fonts/Inter-SemiBold.woff?v=3.11') format('woff');
|
||||
src: url('~shared/assets/fonts/Inter-SemiBold.woff2') format('woff2'),
|
||||
url('~shared/assets/fonts/Inter-SemiBold.woff') format('woff');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
@ -57,6 +57,6 @@
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
font-display: swap;
|
||||
src: url('~shared/assets/fonts/Inter-Bold.woff2?v=3.11') format('woff2'),
|
||||
url('~shared/assets/fonts/Inter-Bold.woff?v=3.11') format('woff');
|
||||
src: url('~shared/assets/fonts/Inter-Bold.woff2') format('woff2'),
|
||||
url('~shared/assets/fonts/Inter-Bold.woff') format('woff');
|
||||
}
|
||||
|
||||
@ -3,8 +3,8 @@
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-display: swap;
|
||||
src: url('~shared/assets/fonts/Inter-Regular.woff2?v=3.11') format('woff2'),
|
||||
url('~shared/assets/fonts/Inter-Regular.woff?v=3.11') format('woff');
|
||||
src: url('~shared/assets/fonts/Inter-Regular.woff2') format('woff2'),
|
||||
url('~shared/assets/fonts/Inter-Regular.woff') format('woff');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
@ -12,6 +12,6 @@
|
||||
font-style: normal;
|
||||
font-weight: 500;
|
||||
font-display: swap;
|
||||
src: url('~shared/assets/fonts/Inter-Medium.woff2?v=3.11') format('woff2'),
|
||||
url('~shared/assets/fonts/Inter-Medium.woff?v=3.11') format('woff');
|
||||
src: url('~shared/assets/fonts/Inter-Medium.woff2') format('woff2'),
|
||||
url('~shared/assets/fonts/Inter-Medium.woff') format('woff');
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user