mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-11-13 02:30:29 +03:00
Localize fonts
Signed-off-by: Ajay Bura <ajbura@gmail.com>
This commit is contained in:
parent
ed27e6b8e4
commit
3d7e509f9a
43 changed files with 378 additions and 77 deletions
59
src/font-face.css
Normal file
59
src/font-face.css
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
/* ---- ROBOTO ---- */
|
||||
|
||||
@font-face {
|
||||
font-family: 'Roboto';
|
||||
src: url(../public/res/fonts/roboto/Roboto-Light.ttf);
|
||||
font-weight: 300;
|
||||
font-display: swap;
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Roboto';
|
||||
src: url(../public/res/fonts/roboto/Roboto-Regular.ttf);
|
||||
font-weight: 400;
|
||||
font-display: swap;
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Roboto';
|
||||
src: url(../public/res/fonts/roboto/Roboto-Medium.ttf);
|
||||
font-weight: 500;
|
||||
font-display: swap;
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Roboto';
|
||||
src: url(../public/res/fonts/roboto/Roboto-Bold.ttf);
|
||||
font-weight: 600;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
/* ---- Inter ---- */
|
||||
|
||||
@font-face {
|
||||
font-family: 'Inter';
|
||||
src: url(../public/res/fonts/inter/Inter_vf_slant_weight.ttf);
|
||||
font-weight: 300;
|
||||
font-display: swap;
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Inter';
|
||||
src: url(../public/res/fonts/inter/Inter_vf_slant_weight.ttf);
|
||||
font-weight: 380;
|
||||
font-display: swap;
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Inter';
|
||||
src: url(../public/res/fonts/inter/Inter_vf_slant_weight.ttf);
|
||||
font-weight: 400;
|
||||
font-display: swap;
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Inter';
|
||||
src: url(../public/res/fonts/inter/Inter_vf_slant_weight.ttf);
|
||||
font-weight: 500;
|
||||
font-display: swap;
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Inter';
|
||||
src: url(../public/res/fonts/inter/Inter_vf_slant_weight.ttf);
|
||||
font-weight: 600;
|
||||
font-display: swap;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue