Skip to content

Commit

Permalink
fix(stark-ui): remove -apple-system from default font-family for co…
Browse files Browse the repository at this point in the history
…rrect rendering in IE11

  - update docs

ISSUE: #732
  • Loading branch information
carlo-nomes committed Jan 11, 2019
1 parent cf9dcd5 commit 71ca177
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions packages/stark-ui/assets/styles/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -225,8 +225,7 @@ $foregrounds: (
);
// https://material.angular.io/guide/typography
$typography-theme: (
font-family:
"-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif",
font-family: "BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif",
display-4: (
112px,
112px,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export class StyleguideTypographyPageComponent implements OnInit {

public ngOnInit(): void {
this.fontFamilyCSS = `
font-family: "-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif";
font-family: "BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif";
`;

this.fontFaceExample = `
Expand All @@ -40,7 +40,7 @@ export class StyleguideTypographyPageComponent implements OnInit {

this.customizeMap = `
$stark-typography-theme: (
font-family: "-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif",
font-family: "BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif",
display-4: (112px, 112px, 300),
display-3: (56px, 56px, 400),
display-2: (45px, 48px, 400),
Expand Down

0 comments on commit 71ca177

Please sign in to comment.