Page MenuHomePhabricator

D17173.id41301.diff
No OneTemporary

D17173.id41301.diff

diff --git a/resources/celerity/map.php b/resources/celerity/map.php
--- a/resources/celerity/map.php
+++ b/resources/celerity/map.php
@@ -12,7 +12,7 @@
'core.pkg.css' => '9c725fa0',
'core.pkg.js' => 'a2ead3fe',
'darkconsole.pkg.js' => 'e7393ebb',
- 'differential.pkg.css' => 'e0517745',
+ 'differential.pkg.css' => '9535a7e6',
'differential.pkg.js' => '40b18f35',
'diffusion.pkg.css' => '91c5d3a6',
'diffusion.pkg.js' => '84c8f8fd',
@@ -59,7 +59,7 @@
'rsrc/css/application/dashboard/dashboard.css' => 'bc6f2127',
'rsrc/css/application/diff/inline-comment-summary.css' => '51efda3a',
'rsrc/css/application/differential/add-comment.css' => 'c47f8c40',
- 'rsrc/css/application/differential/changeset-view.css' => 'a5a96310',
+ 'rsrc/css/application/differential/changeset-view.css' => 'e1621fd5',
'rsrc/css/application/differential/core.css' => '5b7b8ff4',
'rsrc/css/application/differential/phui-inline-comment.css' => '5953c28e',
'rsrc/css/application/differential/revision-comment.css' => '14b8565a',
@@ -574,7 +574,7 @@
'conpherence-thread-manager' => 'c8b5ee6f',
'conpherence-transaction-css' => '85129c68',
'd3' => 'a11a5ff2',
- 'differential-changeset-view-css' => 'a5a96310',
+ 'differential-changeset-view-css' => 'e1621fd5',
'differential-core-view-css' => '5b7b8ff4',
'differential-inline-comment-editor' => '2e3f9738',
'differential-revision-add-comment-css' => 'c47f8c40',
@@ -1756,9 +1756,6 @@
'javelin-uri',
'phabricator-notification',
),
- 'a5a96310' => array(
- 'phui-inline-comment-view-css',
- ),
'a5c57c24' => array(
'javelin-behavior',
'javelin-stratcom',
@@ -2094,6 +2091,9 @@
'javelin-dom',
'phabricator-prefab',
),
+ 'e1621fd5' => array(
+ 'phui-inline-comment-view-css',
+ ),
'e1d25dfb' => array(
'javelin-behavior',
'javelin-stratcom',
diff --git a/src/applications/celerity/postprocessor/CelerityDefaultPostprocessor.php b/src/applications/celerity/postprocessor/CelerityDefaultPostprocessor.php
--- a/src/applications/celerity/postprocessor/CelerityDefaultPostprocessor.php
+++ b/src/applications/celerity/postprocessor/CelerityDefaultPostprocessor.php
@@ -192,6 +192,14 @@
'sh-disabledtext' => '#a6a6a6',
'sh-disabledbackground' => '#f3f3f3',
+ // Diffs
+ 'new-background' => '#eaffea',
+ 'new-bright' => '#a6f3a6',
+ 'old-background' => '#ffecec',
+ 'old-bright' => '#f8cbcb',
+ 'move-background' => '#fdf5d4',
+ 'copy-background' => '#f1c40f',
+
// Background color for "most" themes.
'page.background' => '#f8f8fb',
'page.sidenav' => '#f0f0f2',
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
@@ -122,19 +122,19 @@
}
.differential-diff th.old {
- border-right-color: #f8cbcb;
+ border-right-color: {$old-bright};
}
.differential-diff th.new {
- border-right-color: #a6f3a6;
+ border-right-color: {$new-bright};
}
.differential-diff td.old {
- background: #ffecec;
+ background: {$old-background};
}
.differential-diff td.new {
- background: #eaffea;
+ background: {$new-background};
}
.differential-diff td.old-rebase {
@@ -148,13 +148,13 @@
.differential-diff td.old span.bright,
.differential-diff td.old-full,
.prose-diff span.old {
- background: #f8cbcb;
+ background: {$old-bright};
}
.differential-diff td.new span.bright,
.differential-diff td.new-full,
.prose-diff span.new {
- background: #a6f3a6;
+ background: {$new-bright};
}
.differential-diff td.copy {
@@ -165,12 +165,12 @@
.differential-diff td.new-copy,
.differential-diff td.new-copy span.bright {
- background: {$lightyellow};
+ background: {$copy-background};
}
.differential-diff td.new-move,
.differential-diff td.new-move span.bright {
- background: {$yellow};
+ background: {$move-background};
}
.differential-diff td.comment {

File Metadata

Mime Type
text/plain
Expires
Thu, May 9, 1:35 AM (2 w, 8 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6266732
Default Alt Text
D17173.id41301.diff (4 KB)

Event Timeline