aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src
diff options
context:
space:
mode:
Diffstat (limited to 'client/src')
-rw-r--r--client/src/sass/application.scss3
-rw-r--r--client/src/sass/include/_fonts.scss41
2 files changed, 42 insertions, 2 deletions
diff --git a/client/src/sass/application.scss b/client/src/sass/application.scss
index 8331c9fa3..850fd1d0b 100644
--- a/client/src/sass/application.scss
+++ b/client/src/sass/application.scss
@@ -4,8 +4,7 @@
4$icon-font-path: '../../node_modules/bootstrap-sass/assets/fonts/bootstrap/'; 4$icon-font-path: '../../node_modules/bootstrap-sass/assets/fonts/bootstrap/';
5@import '_bootstrap'; 5@import '_bootstrap';
6 6
7$FontPathSourceSansPro: '../../node_modules/npm-font-source-sans-pro/fonts'; 7@import '_fonts';
8@import '~npm-font-source-sans-pro/source-sans-pro';
9 8
10@import '~primeng/resources/themes/bootstrap/theme.css'; 9@import '~primeng/resources/themes/bootstrap/theme.css';
11@import '~primeng/resources/primeng.css'; 10@import '~primeng/resources/primeng.css';
diff --git a/client/src/sass/include/_fonts.scss b/client/src/sass/include/_fonts.scss
new file mode 100644
index 000000000..61717e6f5
--- /dev/null
+++ b/client/src/sass/include/_fonts.scss
@@ -0,0 +1,41 @@
1$FontPathSourceSansPro: '../../node_modules/npm-font-source-sans-pro/fonts';
2
3@font-face {
4 font-family: 'Source Sans Pro';
5 font-weight: 400;
6 font-style: normal;
7 font-stretch: normal;
8 src: url('#{$FontPathSourceSansPro}/WOFF2/TTF/SourceSansPro-Regular.ttf.woff2') format('woff2'),
9}
10
11@font-face {
12 font-family: 'Source Sans Pro';
13 font-weight: 400;
14 font-style: italic;
15 font-stretch: normal;
16 src: url('#{$FontPathSourceSansPro}/WOFF2/TTF/SourceSansPro-It.ttf.woff2') format('woff2'),
17}
18
19@font-face {
20 font-family: 'Source Sans Pro';
21 font-weight: 600;
22 font-style: normal;
23 font-stretch: normal;
24 src: url('#{$FontPathSourceSansPro}/WOFF2/TTF/SourceSansPro-Semibold.ttf.woff2') format('woff2'),
25}
26
27@font-face {
28 font-family: 'Source Sans Pro';
29 font-weight: 600;
30 font-style: italic;
31 font-stretch: normal;
32 src: url('#{$FontPathSourceSansPro}/WOFF2/TTF/SourceSansPro-SemiboldIt.ttf.woff2') format('woff2'),
33}
34
35@font-face {
36 font-family: 'Source Sans Pro';
37 font-weight: 700;
38 font-style: normal;
39 font-stretch: normal;
40 src: url('#{$FontPathSourceSansPro}/WOFF2/TTF/SourceSansPro-Bold.ttf.woff2') format('woff2'),
41} \ No newline at end of file