Skip to content

Commit

Permalink
feat(fonts): change default font-family to use system fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
Eszter Hofmann committed Nov 22, 2019
1 parent 79aa25d commit 1b616e5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 0 additions & 2 deletions .storybook/preview-head.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
<style>
@import url('https://fonts.googleapis.com/css?family=Open+Sans:200,200i,400,400i,600');

body {
font-family: var(--font-family-primary);
font-size: var(--font-size-normal);
Expand Down
6 changes: 4 additions & 2 deletions src/themes/oneui/base-variables/_typography.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,10 @@ $h5-font-size: 12px !default;
$h6-font-size: 10px !default;

// font family
$font-family-primary: 'Open Sans', sans-serif !default;
$font-family-secondary: 'Open Sans', sans-serif !default;
$font-family-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
'Droid Sans', 'Helvetica Neue', sans-serif !default;
$font-family-secondary: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
'Droid Sans', 'Helvetica Neue', sans-serif !default;

// font weight
$font-weight-light: 200 !default;
Expand Down

0 comments on commit 1b616e5

Please sign in to comment.