Browse Source

Remove google fonts, add local font faces

master
jeffvli 3 years ago
committed by Jeff
parent
commit
5ea237221a
  1. 116
      src/styles/App.global.css

116
src/styles/App.global.css

@ -5,7 +5,6 @@
@import '~rsuite/lib/styles/themes/dark/index.less'; @import '~rsuite/lib/styles/themes/dark/index.less';
@import 'custom-theme.less'; @import 'custom-theme.less';
@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@300;400;500&family=Cormorant:wght@300;400;500&family=Encode+Sans:wght@300;400;500&family=Epilogue:wght@300;400;500&family=Hahmlet:wght@300;400;500&family=Inter:wght@300;400;500&family=JetBrains+Mono:wght@300;400;500&family=Manrope:wght@300;400;500&family=Montserrat:wght@300;400;500&family=Oswald:wght@300;400;500&family=Poppins:wght@300;400;500&family=Raleway:wght@300;400;500&family=Roboto:wght@300;400;500&family=Sora:wght@300;400;500&family=Spectral&family=Work+Sans:wght@300;400;500&display=swap');
html, html,
body { body {
@ -186,3 +185,118 @@ body {
h6 { h6 {
font-weight: 400; font-weight: 400;
} }
@font-face {
font-family: 'AnekTamil';
src: url('../fonts/AnekTamil-Regular.ttf') format('truetype');
}
@font-face {
font-family: 'Archivo';
src: url('../fonts/Archivo-Regular.ttf') format('truetype');
}
@font-face {
font-family: 'Cormorant';
src: url('../fonts/Cormorant-Regular.ttf') format('truetype');
}
@font-face {
font-family: 'Circular STD';
src: url('../fonts/CircularSTD-Regular.ttf') format('truetype');
}
@font-face {
font-family: 'Didact Gothic';
src: url('../fonts/DidactGothic-Regular.ttf') format('truetype');
}
@font-face {
font-family: 'DM Sans';
src: url('../fonts/DMSans-Regular.ttf') format('truetype');
}
@font-face {
font-family: 'Encode Sans';
src: url('../fonts/EncodeSans-Regular.ttf') format('truetype');
}
@font-face {
font-family: 'Epilogue';
src: url('../fonts/Epilogue-Regular.ttf') format('truetype');
}
@font-face {
font-family: 'Gotham';
src: url('../fonts/Gotham-Regular.ttf') format('truetype');
}
@font-face {
font-family: 'Hahmlet';
src: url('../fonts/Hahmlet-Regular.ttf') format('truetype');
}
@font-face {
font-family: 'Inconsolata';
src: url('../fonts/Inconsolata-Regular.ttf') format('truetype');
}
@font-face {
font-family: 'Inter';
src: url('../fonts/Inter-Regular.ttf') format('truetype');
}
@font-face {
font-family: 'JetBrainsMono';
src: url('../fonts/JetBrainsMono-Regular.ttf') format('truetype');
}
@font-face {
font-family: 'Manrope';
src: url('../fonts/Manrope-Regular.ttf') format('truetype');
}
@font-face {
font-family: 'Montserrat';
src: url('../fonts/Montserrat-Regular.ttf') format('truetype');
}
@font-face {
font-family: 'Oswald';
src: url('../fonts/Oswald-Regular.ttf') format('truetype');
}
@font-face {
font-family: 'Oxygen';
src: url('../fonts/Oxygen-Regular.ttf') format('truetype');
}
@font-face {
font-family: 'Poppins';
src: url('../fonts/Poppins-Regular.ttf') format('truetype');
}
@font-face {
font-family: 'Raleway';
src: url('../fonts/Raleway-Regular.ttf') format('truetype');
}
@font-face {
font-family: 'Roboto';
src: url('../fonts/Roboto-Regular.ttf') format('truetype');
}
@font-face {
font-family: 'Sora';
src: url('../fonts/Sora-Regular.ttf') format('truetype');
}
@font-face {
font-family: 'Spectral';
src: url('../fonts/Spectral-Regular.ttf') format('truetype');
}
@font-face {
font-family: 'Work Sans';
src: url('../fonts/WorkSans-Regular.ttf') format('truetype');
}

Loading…
Cancel
Save