Skip to content

Commit

Permalink
feat(typography): updates font to Open Sans
Browse files Browse the repository at this point in the history
The designs were in Open Sans and the site was in Source Sans Pro and... it got ugly.

[#115903383]

BREAKING CHANGE: the fonts are all different now; Open Sans is bigger than Source Sans Pro at the same font size...
  • Loading branch information
rockbot committed Mar 17, 2016
1 parent 17b76b7 commit 17f628e
Show file tree
Hide file tree
Showing 70 changed files with 18,318 additions and 1,725 deletions.
8 changes: 4 additions & 4 deletions src/pivotal-ui/components/pui-variables.scss
Expand Up @@ -317,7 +317,7 @@ $link-inverse-color: $accent-5;
// Typography
// -------------------------

$font-family-sans-serif: 'Source Sans Pro', 'SourceSansPro', sans-serif !default;
$font-family-sans-serif: 'Open Sans', 'OpenSans', sans-serif !default;
$font-family-serif: Georgia, "Times New Roman", Times, serif !default;
$font-family-monospace: Menlo, Consolas, "Courier New", monospace !default;
$font-family-base: $font-family-sans-serif !default;
Expand All @@ -330,10 +330,10 @@ $font-size-small: 13px;
$font-size-extra-small: 12px;


$font-weight-em-low: 200;
$font-weight-em-low: 300;
$font-weight-em-default: 400;
$font-weight-em-high: 600;
$font-weight-em-max: 900;
$font-weight-em-high: 700;
$font-weight-em-max: 800;


$headings-font-family: null;
Expand Down
Binary file not shown.
1,830 changes: 1,830 additions & 0 deletions src/pivotal-ui/components/typography/fonts/OpenSans-Bold-webfont.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
1,830 changes: 1,830 additions & 0 deletions src/pivotal-ui/components/typography/fonts/OpenSans-BoldItalic-webfont.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
1,830 changes: 1,830 additions & 0 deletions src/pivotal-ui/components/typography/fonts/OpenSans-ExtraBold-webfont.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
1,830 changes: 1,830 additions & 0 deletions src/pivotal-ui/components/typography/fonts/OpenSans-ExtraBoldItalic-webfont.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
1,830 changes: 1,830 additions & 0 deletions src/pivotal-ui/components/typography/fonts/OpenSans-Italic-webfont.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
1,831 changes: 1,831 additions & 0 deletions src/pivotal-ui/components/typography/fonts/OpenSans-Light-webfont.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
1,835 changes: 1,835 additions & 0 deletions src/pivotal-ui/components/typography/fonts/OpenSans-LightItalic-webfont.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
1,831 changes: 1,831 additions & 0 deletions src/pivotal-ui/components/typography/fonts/OpenSans-Regular-webfont.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
1,830 changes: 1,830 additions & 0 deletions src/pivotal-ui/components/typography/fonts/OpenSans-Semibold-webfont.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
1,830 changes: 1,830 additions & 0 deletions src/pivotal-ui/components/typography/fonts/OpenSans-SemiboldItalic-webfont.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.

This file was deleted.

Binary file not shown.
Binary file not shown.
13 changes: 7 additions & 6 deletions src/pivotal-ui/components/typography/typography.scss
Expand Up @@ -2,7 +2,7 @@

@mixin font-helper($name, $weight, $style) {
@font-face {
font-family: 'SourceSansPro';
font-family: 'OpenSans';
src: url("fonts/#{$name}.eot");
src: url("fonts/#{$name}.eot?#iefix") format("embedded-opentype"),
url("fonts/#{$name}.woff") format("woff"),
Expand All @@ -12,11 +12,12 @@
font-style: $style;
}
}
@include font-helper('sourcesanspro-light-webfont', 200, normal);
@include font-helper('sourcesanspro-regular-webfont', 400, normal);
@include font-helper('sourcesanspro-it-webfont', 400, italic);
@include font-helper('sourcesanspro-bold-webfont', 600, normal);
@include font-helper('sourcesanspro-black-webfont', 900, normal);
@include font-helper('OpenSans-Light-webfont', 300, normal);
@include font-helper('OpenSans-Regular-webfont', 400, normal);
@include font-helper('OpenSans-Italic-webfont', 400, italic);
@include font-helper('OpenSans-Semibold-webfont', 600, normal);
@include font-helper('OpenSans-Bold-webfont', 700, normal);
@include font-helper('OpenSans-ExtraBold-webfont', 800, normal);

/*doc
---
Expand Down

0 comments on commit 17f628e

Please sign in to comment.