chore: Improve widget loading performance (#1191)

* Frontend assets url

* Remove font files from widget

* Rename variable to ASSET_CDN_HOST
This commit is contained in:
Pranav Raj S
2020-09-03 13:17:45 +05:30
committed by GitHub
parent 17968e6d3f
commit dfb533db8d
4 changed files with 14 additions and 4 deletions

View File

@@ -0,0 +1,8 @@
@font-face {
font-family: 'Inter';
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');
}

View File

@@ -3,7 +3,7 @@
@import 'buttons';
@import 'mixins';
@import 'forms';
@import 'shared/assets/fonts/inter';
@import 'shared/assets/fonts/widget_fonts';
@import '~ionicons/scss/ionicons';
@import '~spinkit/scss/spinners/7-three-bounce';