1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-18 19:40:55 +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(
'names' => array(
'core.pkg.css' => '5ca11af3',
'core.pkg.css' => 'f1ac6066',
'core.pkg.js' => '59d01bb7',
'darkconsole.pkg.js' => '6d16ff19',
'differential.pkg.css' => '3500921f',
@ -108,12 +108,12 @@ return array(
'rsrc/css/application/tokens/tokens.css' => '3d0f239e',
'rsrc/css/application/uiexample/example.css' => '528b19de',
'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/z-index.css' => '5a2b9d9d',
'rsrc/css/diviner/diviner-shared.css' => '38813222',
'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/layout/phabricator-filetree-view.css' => 'fccf9f82',
'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-document.css' => '94d5dcd8',
'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.css' => 'f535f938',
'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.woff' => '80526fc8',
'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.woff2' => '30a7cf60',
'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/SourceSansProBold.woff' => 'cbf46566',
'rsrc/externals/javelin/core/Event.js' => '85ea0626',
'rsrc/externals/javelin/core/Stratcom.js' => '6c53634d',
'rsrc/externals/javelin/core/__tests__/event-stop-and-kill.js' => '717554e4',
@ -540,7 +540,7 @@ return array(
'diffusion-source-css' => '66fdf661',
'diviner-shared-css' => '38813222',
'font-fontawesome' => 'ae9a7b4d',
'font-source-sans-pro' => '4a2430d7',
'font-source-sans-pro' => '8906c07b',
'global-drag-and-drop-css' => '697324ad',
'harbormaster-css' => '49d64eb4',
'herald-css' => '826075fa',
@ -746,7 +746,7 @@ return array(
'phabricator-phtize' => 'd254d646',
'phabricator-prefab' => '6920d200',
'phabricator-profile-css' => '1a20dcbf',
'phabricator-remarkup-css' => 'a59502c9',
'phabricator-remarkup-css' => '9e4a32d9',
'phabricator-search-results-css' => '15c71110',
'phabricator-shaped-request' => '7cbe244b',
'phabricator-side-menu-view-css' => '7e8c6341',
@ -789,7 +789,7 @@ return array(
'phui-document-view-css' => '94d5dcd8',
'phui-feed-story-css' => 'c9f3a0b5',
'phui-font-icon-base-css' => '3dad2ae3',
'phui-fontkit-css' => 'ce228013',
'phui-fontkit-css' => '81ed5e20',
'phui-form-css' => 'f535f938',
'phui-form-view-css' => 'b147d2ed',
'phui-header-view-css' => 'da4586b1',
@ -1165,9 +1165,6 @@ return array(
'javelin-request',
'javelin-util',
),
'4a2430d7' => array(
'phui-fontkit-css',
),
'4d94d9c3' => array(
'javelin-behavior',
'javelin-stratcom',
@ -1515,6 +1512,9 @@ return array(
'javelin-dom',
'javelin-vector',
),
'8906c07b' => array(
'phui-fontkit-css',
),
'8a41885b' => array(
'javelin-install',
'javelin-dom',

View file

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

View file

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

View file

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

Binary file not shown.

Binary file not shown.