Skip to content

Commit d776dbe

Browse files
authored
Merge pull request #41 from GetStream/remove-font-loading-with-google-fonts
fix: replace font loading from google by the default system stack
2 parents 02d7d43 + 0637342 commit d776dbe

2 files changed

Lines changed: 5 additions & 13 deletions

File tree

src/styles/_base.scss

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
@import url('https://fonts.googleapis.com/css?family=IBM+Plex+Sans:400,400i,700,700i');
2-
31
.str-chat {
42
box-sizing: border-box;
53

@@ -15,16 +13,6 @@
1513
clear: both;
1614
}
1715

18-
// button {
19-
// cursor: pointer;
20-
// background-color: transparent;
21-
// border: none;
22-
// padding: 0;
23-
// display: flex;
24-
// align-items: center;
25-
// width: auto;
26-
// }
27-
2816
.messenger-chat {
2917
&.str-chat {
3018
display: flex;

src/styles/_variables.scss

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
/* fonts */
2-
$main-font: 'IBM Plex Sans', sans-serif;
2+
/* https://systemfontstack.com/ */
3+
$system-stack-font: -apple-system, BlinkMacSystemFont, "Segoe UI",
4+
Roboto, Oxygen-Sans, Ubuntu, Cantarell,
5+
"Helvetica Neue", sans-serif;
6+
$main-font: #{$system-stack-font};
37
$second-font: 'Helvetica Neue', Helvetica, Arial, sans-serif;
48

59
$base-font-weight: 400;

0 commit comments

Comments
 (0)