Page MenuHomePhabricator

D11891.id28650.diff
No OneTemporary

D11891.id28650.diff

diff --git a/resources/celerity/map.php b/resources/celerity/map.php
--- a/resources/celerity/map.php
+++ b/resources/celerity/map.php
@@ -7,10 +7,10 @@
*/
return array(
'names' => array(
- 'core.pkg.css' => 'ba9b6450',
+ 'core.pkg.css' => '4e2c8d53',
'core.pkg.js' => '23d653bb',
'darkconsole.pkg.js' => '8ab24e01',
- 'differential.pkg.css' => '380f07e5',
+ 'differential.pkg.css' => '14f0fa92',
'differential.pkg.js' => '7b5a4aa4',
'diffusion.pkg.css' => '591664fa',
'diffusion.pkg.js' => 'bfc0737b',
@@ -41,7 +41,7 @@
'rsrc/css/application/base/standard-page-view.css' => '60d0df9a',
'rsrc/css/application/chatlog/chatlog.css' => '852140ff',
'rsrc/css/application/config/config-options.css' => '7fedf08b',
- 'rsrc/css/application/config/config-template.css' => '25d446d6',
+ 'rsrc/css/application/config/config-template.css' => '8e6c6fcd',
'rsrc/css/application/config/config-welcome.css' => 'b0d16200',
'rsrc/css/application/config/setup-issue.css' => '22270af2',
'rsrc/css/application/config/unhandled-exception.css' => '37d4f9a2',
@@ -55,7 +55,7 @@
'rsrc/css/application/dashboard/dashboard.css' => 'c0062064',
'rsrc/css/application/diff/inline-comment-summary.css' => 'eb5f8e8c',
'rsrc/css/application/differential/add-comment.css' => 'c478bcaa',
- 'rsrc/css/application/differential/changeset-view.css' => 'b2b71e76',
+ 'rsrc/css/application/differential/changeset-view.css' => '8244e5a8',
'rsrc/css/application/differential/core.css' => '7ac3cabc',
'rsrc/css/application/differential/results-table.css' => '181aa9d9',
'rsrc/css/application/differential/revision-comment.css' => '48186045',
@@ -104,7 +104,7 @@
'rsrc/css/application/slowvote/slowvote.css' => '266df6a1',
'rsrc/css/application/tokens/tokens.css' => '3d0f239e',
'rsrc/css/application/uiexample/example.css' => '528b19de',
- 'rsrc/css/core/core.css' => '8f9b9588',
+ 'rsrc/css/core/core.css' => 'c8c5ecd2',
'rsrc/css/core/remarkup.css' => 'e8e5a324',
'rsrc/css/core/syntax.css' => '56c1ba38',
'rsrc/css/core/z-index.css' => '8239495e',
@@ -124,14 +124,14 @@
'rsrc/css/phui/phui-action-list.css' => '9ee9910a',
'rsrc/css/phui/phui-action-panel.css' => '3ee9afd5',
'rsrc/css/phui/phui-box.css' => '7b3a2eed',
- 'rsrc/css/phui/phui-button.css' => 'ffe12633',
+ 'rsrc/css/phui/phui-button.css' => '21cb97f9',
'rsrc/css/phui/phui-crumbs-view.css' => '594d719e',
'rsrc/css/phui/phui-document.css' => '8240b0b1',
'rsrc/css/phui/phui-error-view.css' => '41518665',
'rsrc/css/phui/phui-feed-story.css' => 'c9f3a0b5',
- 'rsrc/css/phui/phui-fontkit.css' => '9b345998',
+ 'rsrc/css/phui/phui-fontkit.css' => 'bd111278',
'rsrc/css/phui/phui-form-view.css' => '8b78a986',
- 'rsrc/css/phui/phui-form.css' => '9aecbda1',
+ 'rsrc/css/phui/phui-form.css' => 'f535f938',
'rsrc/css/phui/phui-header-view.css' => '083669db',
'rsrc/css/phui/phui-icon.css' => 'd35aa857',
'rsrc/css/phui/phui-image-mask.css' => '5a8b09c8',
@@ -520,7 +520,7 @@
'conpherence-notification-css' => '04a6e10a',
'conpherence-update-css' => '1099a660',
'conpherence-widget-pane-css' => '3d575438',
- 'differential-changeset-view-css' => 'b2b71e76',
+ 'differential-changeset-view-css' => '8244e5a8',
'differential-core-view-css' => '7ac3cabc',
'differential-inline-comment-editor' => 'f2441746',
'differential-results-table-css' => '181aa9d9',
@@ -715,12 +715,12 @@
'phabricator-busy' => '6453c869',
'phabricator-chatlog-css' => '852140ff',
'phabricator-content-source-view-css' => '4b8b05d4',
- 'phabricator-core-css' => '8f9b9588',
+ 'phabricator-core-css' => 'c8c5ecd2',
'phabricator-countdown-css' => '86b7b0a0',
'phabricator-dashboard-css' => 'c0062064',
'phabricator-drag-and-drop-file-upload' => '8c49f386',
'phabricator-draggable-list' => 'a16ec1c6',
- 'phabricator-fatal-config-template-css' => '25d446d6',
+ 'phabricator-fatal-config-template-css' => '8e6c6fcd',
'phabricator-feed-css' => 'b513b5f4',
'phabricator-file-upload' => 'a4ae61bf',
'phabricator-filetree-view-css' => 'fccf9f82',
@@ -773,7 +773,7 @@
'phui-action-header-view-css' => '89c497e7',
'phui-action-panel-css' => '3ee9afd5',
'phui-box-css' => '7b3a2eed',
- 'phui-button-css' => 'ffe12633',
+ 'phui-button-css' => '21cb97f9',
'phui-calendar-css' => '8675968e',
'phui-calendar-day-css' => 'de035c8a',
'phui-calendar-list-css' => 'c1d0ca59',
@@ -783,8 +783,8 @@
'phui-error-view-css' => '41518665',
'phui-feed-story-css' => 'c9f3a0b5',
'phui-font-icon-base-css' => '3dad2ae3',
- 'phui-fontkit-css' => '9b345998',
- 'phui-form-css' => '9aecbda1',
+ 'phui-fontkit-css' => 'bd111278',
+ 'phui-form-css' => 'f535f938',
'phui-form-view-css' => '8b78a986',
'phui-header-view-css' => '083669db',
'phui-icon-view-css' => 'd35aa857',
diff --git a/src/applications/celerity/CelerityResourceTransformer.php b/src/applications/celerity/CelerityResourceTransformer.php
--- a/src/applications/celerity/CelerityResourceTransformer.php
+++ b/src/applications/celerity/CelerityResourceTransformer.php
@@ -171,6 +171,10 @@
public static function getCSSVariableMap() {
return array(
+ // Fonts
+ 'basefont' => "13px/1.231 'Segoe UI', 'Segoe UI Web Regular', ".
+ "'Segoe UI Symbol', 'Helvetica Neue', Helvetica, Arial, sans-serif",
+
// Base Colors
'red' => '#c0392b',
'lightred' => '#f4dddb',
diff --git a/webroot/rsrc/css/application/config/config-template.css b/webroot/rsrc/css/application/config/config-template.css
--- a/webroot/rsrc/css/application/config/config-template.css
+++ b/webroot/rsrc/css/application/config/config-template.css
@@ -6,7 +6,8 @@
background: #f9f9f9;
margin: 0;
padding: 0;
- font: 13px/1.231 'Helvetica Neue', Arial, sans-serif;
+ font: 13px/1.231 'Segoe UI', 'Segoe UI Web Regular', 'Segoe UI Symbol',
+ 'Helvetica Neue', Helvetica, Arial, sans-serif;
text-align: left;
-webkit-text-size-adjust: none;
}
diff --git a/webroot/rsrc/css/application/differential/changeset-view.css b/webroot/rsrc/css/application/differential/changeset-view.css
--- a/webroot/rsrc/css/application/differential/changeset-view.css
+++ b/webroot/rsrc/css/application/differential/changeset-view.css
@@ -178,7 +178,7 @@
.differential-diff td.show-more,
.differential-diff td.differential-shield {
- font-family: "Helvetica Neue", "Arial", sans-serif;
+ font: {$basefont};
font-size: 12px;
white-space: normal;
}
@@ -255,7 +255,7 @@
.differential-inline-comment-edit {
background: #ffffee;
border: 1px solid #ccccaa;
- font-family: "Helvetica Neue", "Arial", sans-serif;
+ font: {$basefont};
font-size: 12px;
margin: 6px 0px;
padding: 8px 10px;
diff --git a/webroot/rsrc/css/core/core.css b/webroot/rsrc/css/core/core.css
--- a/webroot/rsrc/css/core/core.css
+++ b/webroot/rsrc/css/core/core.css
@@ -51,8 +51,7 @@
}
body {
- font: 13px/1.231 'Segoe UI', 'Segoe UI Web Regular', 'Segoe UI Symbol',
- 'Helvetica Neue', Helvetica, Arial, sans-serif;
+ font: {$basefont};
direction: ltr;
text-align: left;
unicode-bidi: embed;
diff --git a/webroot/rsrc/css/phui/phui-button.css b/webroot/rsrc/css/phui/phui-button.css
--- a/webroot/rsrc/css/phui/phui-button.css
+++ b/webroot/rsrc/css/phui/phui-button.css
@@ -5,7 +5,7 @@
button,
a.button {
- font: 13px/1.231 'Helvetica Neue', Helvetica, Arial, sans-serif;
+ font: {$basefont};
-webkit-font-smoothing: antialiased;
-webkit-user-select: none;
-moz-user-select: none;
diff --git a/webroot/rsrc/css/phui/phui-fontkit.css b/webroot/rsrc/css/phui/phui-fontkit.css
--- a/webroot/rsrc/css/phui/phui-fontkit.css
+++ b/webroot/rsrc/css/phui/phui-fontkit.css
@@ -50,13 +50,13 @@
.phui-font-source-sans .phui-property-list-container {
padding-bottom: 6px;
- font-family: 'Helvetica Neue', Arial, sans-serif;
- font-size: 13px;
+ font: {$basefont};
line-height: 16px;
}
.phui-font-source-sans .phabricator-action-view {
- font-family: 'Helvetica Neue', Arial, sans-serif;
+ font: {$basefont};
+ font-size: 12px;
}
.phui-font-source-sans a.atom-ref,
@@ -70,7 +70,7 @@
}
.phui-font-source-sans .phui-form-view {
- font: 13px/1.231 'Helvetica Neue', Helvetica, Arial, sans-serif;
+ font: {$basefont};
font-weight: normal;
}
diff --git a/webroot/rsrc/css/phui/phui-form.css b/webroot/rsrc/css/phui/phui-form.css
--- a/webroot/rsrc/css/phui/phui-form.css
+++ b/webroot/rsrc/css/phui/phui-form.css
@@ -24,7 +24,7 @@
line-height: 18px;
color: #333;
vertical-align: middle;
- font: 13px 'Helvetica Neue', Helvetica, Arial, sans-serif;
+ font: {$basefont};
-webkit-font-smoothing: antialiased;
}

File Metadata

Mime Type
text/plain
Expires
Mon, Nov 4, 3:11 PM (2 w, 6 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6718352
Default Alt Text
D11891.id28650.diff (8 KB)

Event Timeline