1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-18 12:52:42 +01:00

Swap Source Sans Bold for Semibold

Summary: Testing this out, feels much less heavy and more readable for me, but open to other feedback. I've also corrected/normalize the header sizes and heights.

Test Plan:
Copied some real Phriction documents to my local install, read them all. Checked header sizes and make sure px are used for more absolute control over sizes.

{F387327}

{F387328}

{F387329}

Reviewers: btrahan, epriestley

Reviewed By: epriestley

Subscribers: Korvin, epriestley

Maniphest Tasks: T7963

Differential Revision: https://secure.phabricator.com/D12587
This commit is contained in:
Chad Little 2015-04-28 07:19:16 -07:00
parent 65329204a5
commit d961a15d07
12 changed files with 30 additions and 29 deletions

View file

@ -7,7 +7,7 @@
*/ */
return array( return array(
'names' => array( 'names' => array(
'core.pkg.css' => '5ca11af3', 'core.pkg.css' => 'f1ac6066',
'core.pkg.js' => '59d01bb7', 'core.pkg.js' => '59d01bb7',
'darkconsole.pkg.js' => '6d16ff19', 'darkconsole.pkg.js' => '6d16ff19',
'differential.pkg.css' => '3500921f', 'differential.pkg.css' => '3500921f',
@ -108,12 +108,12 @@ return array(
'rsrc/css/application/tokens/tokens.css' => '3d0f239e', 'rsrc/css/application/tokens/tokens.css' => '3d0f239e',
'rsrc/css/application/uiexample/example.css' => '528b19de', 'rsrc/css/application/uiexample/example.css' => '528b19de',
'rsrc/css/core/core.css' => '76e8ee93', 'rsrc/css/core/core.css' => '76e8ee93',
'rsrc/css/core/remarkup.css' => 'a59502c9', 'rsrc/css/core/remarkup.css' => '9e4a32d9',
'rsrc/css/core/syntax.css' => '56c1ba38', 'rsrc/css/core/syntax.css' => '56c1ba38',
'rsrc/css/core/z-index.css' => '5a2b9d9d', 'rsrc/css/core/z-index.css' => '5a2b9d9d',
'rsrc/css/diviner/diviner-shared.css' => '38813222', 'rsrc/css/diviner/diviner-shared.css' => '38813222',
'rsrc/css/font/font-awesome.css' => 'ae9a7b4d', 'rsrc/css/font/font-awesome.css' => 'ae9a7b4d',
'rsrc/css/font/font-source-sans-pro.css' => '4a2430d7', 'rsrc/css/font/font-source-sans-pro.css' => '8906c07b',
'rsrc/css/font/phui-font-icon-base.css' => '3dad2ae3', 'rsrc/css/font/phui-font-icon-base.css' => '3dad2ae3',
'rsrc/css/layout/phabricator-filetree-view.css' => 'fccf9f82', 'rsrc/css/layout/phabricator-filetree-view.css' => 'fccf9f82',
'rsrc/css/layout/phabricator-hovercard-view.css' => '44394670', 'rsrc/css/layout/phabricator-hovercard-view.css' => '44394670',
@ -131,7 +131,7 @@ return array(
'rsrc/css/phui/phui-crumbs-view.css' => '594d719e', 'rsrc/css/phui/phui-crumbs-view.css' => '594d719e',
'rsrc/css/phui/phui-document.css' => '94d5dcd8', 'rsrc/css/phui/phui-document.css' => '94d5dcd8',
'rsrc/css/phui/phui-feed-story.css' => 'c9f3a0b5', 'rsrc/css/phui/phui-feed-story.css' => 'c9f3a0b5',
'rsrc/css/phui/phui-fontkit.css' => 'ce228013', 'rsrc/css/phui/phui-fontkit.css' => '81ed5e20',
'rsrc/css/phui/phui-form-view.css' => 'b147d2ed', 'rsrc/css/phui/phui-form-view.css' => 'b147d2ed',
'rsrc/css/phui/phui-form.css' => 'f535f938', 'rsrc/css/phui/phui-form.css' => 'f535f938',
'rsrc/css/phui/phui-header-view.css' => 'da4586b1', 'rsrc/css/phui/phui-header-view.css' => 'da4586b1',
@ -162,14 +162,14 @@ return array(
'rsrc/externals/font/fontawesome/fontawesome-webfont.ttf' => 'a653cb11', 'rsrc/externals/font/fontawesome/fontawesome-webfont.ttf' => 'a653cb11',
'rsrc/externals/font/fontawesome/fontawesome-webfont.woff' => '80526fc8', 'rsrc/externals/font/fontawesome/fontawesome-webfont.woff' => '80526fc8',
'rsrc/externals/font/fontawesome/fontawesome-webfont.woff2' => '4924d54d', 'rsrc/externals/font/fontawesome/fontawesome-webfont.woff2' => '4924d54d',
'rsrc/externals/font/sourcesans/SourceSansPro-Bold.woff2' => '165f5f74',
'rsrc/externals/font/sourcesans/SourceSansPro-BoldIt.woff' => 'd09a7d54',
'rsrc/externals/font/sourcesans/SourceSansPro-BoldIt.woff2' => 'd2e33102',
'rsrc/externals/font/sourcesans/SourceSansPro-It.woff' => '3f21af52', 'rsrc/externals/font/sourcesans/SourceSansPro-It.woff' => '3f21af52',
'rsrc/externals/font/sourcesans/SourceSansPro-It.woff2' => '30a7cf60', 'rsrc/externals/font/sourcesans/SourceSansPro-It.woff2' => '30a7cf60',
'rsrc/externals/font/sourcesans/SourceSansPro-Regular.woff2' => 'e89b04b1', 'rsrc/externals/font/sourcesans/SourceSansPro-Regular.woff2' => 'e89b04b1',
'rsrc/externals/font/sourcesans/SourceSansPro-Semibold.woff' => '67cce9ea',
'rsrc/externals/font/sourcesans/SourceSansPro-Semibold.woff2' => 'ec2ed916',
'rsrc/externals/font/sourcesans/SourceSansPro-SemiboldIt.woff' => 'bd1ce81d',
'rsrc/externals/font/sourcesans/SourceSansPro-SemiboldIt.woff2' => 'd9928416',
'rsrc/externals/font/sourcesans/SourceSansPro.woff' => '3614608c', 'rsrc/externals/font/sourcesans/SourceSansPro.woff' => '3614608c',
'rsrc/externals/font/sourcesans/SourceSansProBold.woff' => 'cbf46566',
'rsrc/externals/javelin/core/Event.js' => '85ea0626', 'rsrc/externals/javelin/core/Event.js' => '85ea0626',
'rsrc/externals/javelin/core/Stratcom.js' => '6c53634d', 'rsrc/externals/javelin/core/Stratcom.js' => '6c53634d',
'rsrc/externals/javelin/core/__tests__/event-stop-and-kill.js' => '717554e4', 'rsrc/externals/javelin/core/__tests__/event-stop-and-kill.js' => '717554e4',
@ -540,7 +540,7 @@ return array(
'diffusion-source-css' => '66fdf661', 'diffusion-source-css' => '66fdf661',
'diviner-shared-css' => '38813222', 'diviner-shared-css' => '38813222',
'font-fontawesome' => 'ae9a7b4d', 'font-fontawesome' => 'ae9a7b4d',
'font-source-sans-pro' => '4a2430d7', 'font-source-sans-pro' => '8906c07b',
'global-drag-and-drop-css' => '697324ad', 'global-drag-and-drop-css' => '697324ad',
'harbormaster-css' => '49d64eb4', 'harbormaster-css' => '49d64eb4',
'herald-css' => '826075fa', 'herald-css' => '826075fa',
@ -746,7 +746,7 @@ return array(
'phabricator-phtize' => 'd254d646', 'phabricator-phtize' => 'd254d646',
'phabricator-prefab' => '6920d200', 'phabricator-prefab' => '6920d200',
'phabricator-profile-css' => '1a20dcbf', 'phabricator-profile-css' => '1a20dcbf',
'phabricator-remarkup-css' => 'a59502c9', 'phabricator-remarkup-css' => '9e4a32d9',
'phabricator-search-results-css' => '15c71110', 'phabricator-search-results-css' => '15c71110',
'phabricator-shaped-request' => '7cbe244b', 'phabricator-shaped-request' => '7cbe244b',
'phabricator-side-menu-view-css' => '7e8c6341', 'phabricator-side-menu-view-css' => '7e8c6341',
@ -789,7 +789,7 @@ return array(
'phui-document-view-css' => '94d5dcd8', 'phui-document-view-css' => '94d5dcd8',
'phui-feed-story-css' => 'c9f3a0b5', 'phui-feed-story-css' => 'c9f3a0b5',
'phui-font-icon-base-css' => '3dad2ae3', 'phui-font-icon-base-css' => '3dad2ae3',
'phui-fontkit-css' => 'ce228013', 'phui-fontkit-css' => '81ed5e20',
'phui-form-css' => 'f535f938', 'phui-form-css' => 'f535f938',
'phui-form-view-css' => 'b147d2ed', 'phui-form-view-css' => 'b147d2ed',
'phui-header-view-css' => 'da4586b1', 'phui-header-view-css' => 'da4586b1',
@ -1165,9 +1165,6 @@ return array(
'javelin-request', 'javelin-request',
'javelin-util', 'javelin-util',
), ),
'4a2430d7' => array(
'phui-fontkit-css',
),
'4d94d9c3' => array( '4d94d9c3' => array(
'javelin-behavior', 'javelin-behavior',
'javelin-stratcom', 'javelin-stratcom',
@ -1515,6 +1512,9 @@ return array(
'javelin-dom', 'javelin-dom',
'javelin-vector', 'javelin-vector',
), ),
'8906c07b' => array(
'phui-fontkit-css',
),
'8a41885b' => array( '8a41885b' => array(
'javelin-install', 'javelin-install',
'javelin-dom', 'javelin-dom',

View file

@ -95,37 +95,37 @@
} }
.phabricator-remarkup h1.remarkup-header { .phabricator-remarkup h1.remarkup-header {
font-size: 1.625em; font-size: 24px;
line-height: 1.625em; line-height: 1.625em;
margin: 16px 0 4px; margin: 16px 0 4px;
} }
.phabricator-remarkup h2.remarkup-header { .phabricator-remarkup h2.remarkup-header {
font-size: 1.5em; font-size: 20px;
line-height: 1.5em; line-height: 1.5em;
margin: 16px 0 4px; margin: 16px 0 4px;
} }
.phabricator-remarkup h3.remarkup-header { .phabricator-remarkup h3.remarkup-header {
font-size: 1.375em; font-size: 18px;
line-height: 1.375em; line-height: 1.375em;
margin: 16px 0 4px; margin: 16px 0 4px;
} }
.phabricator-remarkup h4.remarkup-header { .phabricator-remarkup h4.remarkup-header {
font-size: 1.25em; font-size: 15px;
line-height: 1.25em; line-height: 1.25em;
margin: 8px 0 4px; margin: 8px 0 4px;
} }
.phabricator-remarkup h5.remarkup-header { .phabricator-remarkup h5.remarkup-header {
font-size: 1.125em; font-size: 14px;
line-height: 1.125em; line-height: 1.125em;
margin: 4px 0; margin: 4px 0;
} }
.phabricator-remarkup h6.remarkup-header { .phabricator-remarkup h6.remarkup-header {
font-size: 1em; font-size: 13px;
line-height: 1em; line-height: 1em;
margin: 4px 0; margin: 4px 0;
} }

View file

@ -18,12 +18,12 @@
@font-face { @font-face {
font-family: 'Source Sans Pro'; font-family: 'Source Sans Pro';
font-style: normal; font-style: normal;
font-weight: 700; font-weight: 600;
src: local('Source Sans Pro Bold'), src: local('Source Sans Pro Semibold'),
local('SourceSansPro-Bold'), local('SourceSansPro-Semibold'),
url(/rsrc/externals/font/sourcesans/SourceSansPro-Bold.woff2) url(/rsrc/externals/font/sourcesans/SourceSansPro-Semibold.woff2)
format('woff2'), format('woff2'),
url(/rsrc/externals/font/sourcesans/SourceSansProBold.woff) url(/rsrc/externals/font/sourcesans/SourceSansPro-Semibold.woff)
format('woff'); format('woff');
} }
@ -45,10 +45,10 @@
font-weight: 700; font-weight: 700;
font-style: italic; font-style: italic;
font-stretch: normal; font-stretch: normal;
src: local('Source Sans Pro Bold It'), src: local('Source Sans Pro Semibold It'),
local('SourceSansPro-BoldIt'), local('SourceSansPro-SemiboldIt'),
url(/rsrc/externals/font/sourcesans/SourceSansPro-BoldIt.woff2) url(/rsrc/externals/font/sourcesans/SourceSansPro-SemiboldIt.woff2)
format('woff'), format('woff'),
url(/rsrc/externals/font/sourcesans/SourceSansPro-BoldIt.woff) url(/rsrc/externals/font/sourcesans/SourceSansPro-SemiboldIt.woff)
format('woff'); format('woff');
} }

View file

@ -41,6 +41,7 @@
.phui-font-source-sans .phabricator-remarkup h5.remarkup-header, .phui-font-source-sans .phabricator-remarkup h5.remarkup-header,
.phui-font-source-sans .phabricator-remarkup h6.remarkup-header { .phui-font-source-sans .phabricator-remarkup h6.remarkup-header {
color: {$bluetext}; color: {$bluetext};
font-weight: 600;
} }
.phui-font-source-sans .phabricator-remarkup h2.remarkup-header { .phui-font-source-sans .phabricator-remarkup h2.remarkup-header {

Binary file not shown.

Binary file not shown.