1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-13 02:12:41 +01:00

added some more rules for dark remarkup environments

Summary:
Added rules for <tt> (##`## [inline code]) (did bright text on somewhat dark bg), `NOTE:` block and tables. These were all the ones I could think of and found that they required triage.

I did not touch minor things like links etc., which may require refinement. I try to stay away from design details.

Test Plan: {F35940}

Reviewers: chad, epriestley

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D5345
This commit is contained in:
Anh Nhan Nguyen 2013-03-14 06:18:43 -07:00 committed by epriestley
parent 369ff790ff
commit 76ed21d922
2 changed files with 49 additions and 39 deletions

View file

@ -3051,7 +3051,7 @@ celerity_register_resource_map(array(
), ),
'phabricator-remarkup-css' => 'phabricator-remarkup-css' =>
array( array(
'uri' => '/res/3487373e/rsrc/css/core/remarkup.css', 'uri' => '/res/4265a372/rsrc/css/core/remarkup.css',
'type' => 'css', 'type' => 'css',
'requires' => 'requires' =>
array( array(
@ -3562,7 +3562,7 @@ celerity_register_resource_map(array(
), array( ), array(
'packages' => 'packages' =>
array( array(
'3b298071' => '7cb09b8b' =>
array( array(
'name' => 'core.pkg.css', 'name' => 'core.pkg.css',
'symbols' => 'symbols' =>
@ -3604,7 +3604,7 @@ celerity_register_resource_map(array(
34 => 'phabricator-object-item-list-view-css', 34 => 'phabricator-object-item-list-view-css',
35 => 'global-drag-and-drop-css', 35 => 'global-drag-and-drop-css',
), ),
'uri' => '/res/pkg/3b298071/core.pkg.css', 'uri' => '/res/pkg/7cb09b8b/core.pkg.css',
'type' => 'css', 'type' => 'css',
), ),
'95ceba95' => '95ceba95' =>
@ -3795,16 +3795,16 @@ celerity_register_resource_map(array(
'reverse' => 'reverse' =>
array( array(
'aphront-attached-file-view-css' => 'c41b4907', 'aphront-attached-file-view-css' => 'c41b4907',
'aphront-dialog-view-css' => '3b298071', 'aphront-dialog-view-css' => '7cb09b8b',
'aphront-error-view-css' => '3b298071', 'aphront-error-view-css' => '7cb09b8b',
'aphront-form-view-css' => '3b298071', 'aphront-form-view-css' => '7cb09b8b',
'aphront-list-filter-view-css' => '3b298071', 'aphront-list-filter-view-css' => '7cb09b8b',
'aphront-pager-view-css' => '3b298071', 'aphront-pager-view-css' => '7cb09b8b',
'aphront-panel-view-css' => '3b298071', 'aphront-panel-view-css' => '7cb09b8b',
'aphront-table-view-css' => '3b298071', 'aphront-table-view-css' => '7cb09b8b',
'aphront-tokenizer-control-css' => '3b298071', 'aphront-tokenizer-control-css' => '7cb09b8b',
'aphront-tooltip-css' => '3b298071', 'aphront-tooltip-css' => '7cb09b8b',
'aphront-typeahead-control-css' => '3b298071', 'aphront-typeahead-control-css' => '7cb09b8b',
'differential-changeset-view-css' => '8aaacd1b', 'differential-changeset-view-css' => '8aaacd1b',
'differential-core-view-css' => '8aaacd1b', 'differential-core-view-css' => '8aaacd1b',
'differential-inline-comment-editor' => '322728f3', 'differential-inline-comment-editor' => '322728f3',
@ -3818,7 +3818,7 @@ celerity_register_resource_map(array(
'differential-table-of-contents-css' => '8aaacd1b', 'differential-table-of-contents-css' => '8aaacd1b',
'diffusion-commit-view-css' => 'c8ce2d88', 'diffusion-commit-view-css' => 'c8ce2d88',
'diffusion-icons-css' => 'c8ce2d88', 'diffusion-icons-css' => 'c8ce2d88',
'global-drag-and-drop-css' => '3b298071', 'global-drag-and-drop-css' => '7cb09b8b',
'inline-comment-summary-css' => '8aaacd1b', 'inline-comment-summary-css' => '8aaacd1b',
'javelin-aphlict' => '95ceba95', 'javelin-aphlict' => '95ceba95',
'javelin-behavior' => 'cd1d650a', 'javelin-behavior' => 'cd1d650a',
@ -3890,48 +3890,48 @@ celerity_register_resource_map(array(
'javelin-util' => 'cd1d650a', 'javelin-util' => 'cd1d650a',
'javelin-vector' => 'cd1d650a', 'javelin-vector' => 'cd1d650a',
'javelin-workflow' => 'cd1d650a', 'javelin-workflow' => 'cd1d650a',
'lightbox-attachment-css' => '3b298071', 'lightbox-attachment-css' => '7cb09b8b',
'maniphest-task-summary-css' => 'c41b4907', 'maniphest-task-summary-css' => 'c41b4907',
'maniphest-transaction-detail-css' => 'c41b4907', 'maniphest-transaction-detail-css' => 'c41b4907',
'phabricator-busy' => '95ceba95', 'phabricator-busy' => '95ceba95',
'phabricator-content-source-view-css' => '8aaacd1b', 'phabricator-content-source-view-css' => '8aaacd1b',
'phabricator-core-buttons-css' => '3b298071', 'phabricator-core-buttons-css' => '7cb09b8b',
'phabricator-core-css' => '3b298071', 'phabricator-core-css' => '7cb09b8b',
'phabricator-crumbs-view-css' => '3b298071', 'phabricator-crumbs-view-css' => '7cb09b8b',
'phabricator-directory-css' => '3b298071', 'phabricator-directory-css' => '7cb09b8b',
'phabricator-drag-and-drop-file-upload' => '322728f3', 'phabricator-drag-and-drop-file-upload' => '322728f3',
'phabricator-dropdown-menu' => '95ceba95', 'phabricator-dropdown-menu' => '95ceba95',
'phabricator-file-upload' => '95ceba95', 'phabricator-file-upload' => '95ceba95',
'phabricator-filetree-view-css' => '3b298071', 'phabricator-filetree-view-css' => '7cb09b8b',
'phabricator-flag-css' => '3b298071', 'phabricator-flag-css' => '7cb09b8b',
'phabricator-form-view-css' => '3b298071', 'phabricator-form-view-css' => '7cb09b8b',
'phabricator-header-view-css' => '3b298071', 'phabricator-header-view-css' => '7cb09b8b',
'phabricator-jump-nav' => '3b298071', 'phabricator-jump-nav' => '7cb09b8b',
'phabricator-keyboard-shortcut' => '95ceba95', 'phabricator-keyboard-shortcut' => '95ceba95',
'phabricator-keyboard-shortcut-manager' => '95ceba95', 'phabricator-keyboard-shortcut-manager' => '95ceba95',
'phabricator-main-menu-view' => '3b298071', 'phabricator-main-menu-view' => '7cb09b8b',
'phabricator-menu-item' => '95ceba95', 'phabricator-menu-item' => '95ceba95',
'phabricator-nav-view-css' => '3b298071', 'phabricator-nav-view-css' => '7cb09b8b',
'phabricator-notification' => '95ceba95', 'phabricator-notification' => '95ceba95',
'phabricator-notification-css' => '3b298071', 'phabricator-notification-css' => '7cb09b8b',
'phabricator-notification-menu-css' => '3b298071', 'phabricator-notification-menu-css' => '7cb09b8b',
'phabricator-object-item-list-view-css' => '3b298071', 'phabricator-object-item-list-view-css' => '7cb09b8b',
'phabricator-object-selector-css' => '8aaacd1b', 'phabricator-object-selector-css' => '8aaacd1b',
'phabricator-paste-file-upload' => '95ceba95', 'phabricator-paste-file-upload' => '95ceba95',
'phabricator-prefab' => '95ceba95', 'phabricator-prefab' => '95ceba95',
'phabricator-project-tag-css' => 'c41b4907', 'phabricator-project-tag-css' => 'c41b4907',
'phabricator-remarkup-css' => '3b298071', 'phabricator-remarkup-css' => '7cb09b8b',
'phabricator-shaped-request' => '322728f3', 'phabricator-shaped-request' => '322728f3',
'phabricator-side-menu-view-css' => '3b298071', 'phabricator-side-menu-view-css' => '7cb09b8b',
'phabricator-standard-page-view' => '3b298071', 'phabricator-standard-page-view' => '7cb09b8b',
'phabricator-textareautils' => '95ceba95', 'phabricator-textareautils' => '95ceba95',
'phabricator-tooltip' => '95ceba95', 'phabricator-tooltip' => '95ceba95',
'phabricator-transaction-view-css' => '3b298071', 'phabricator-transaction-view-css' => '7cb09b8b',
'phabricator-zindex-css' => '3b298071', 'phabricator-zindex-css' => '7cb09b8b',
'sprite-apps-large-css' => '3b298071', 'sprite-apps-large-css' => '7cb09b8b',
'sprite-gradient-css' => '3b298071', 'sprite-gradient-css' => '7cb09b8b',
'sprite-icon-css' => '3b298071', 'sprite-icon-css' => '7cb09b8b',
'sprite-menu-css' => '3b298071', 'sprite-menu-css' => '7cb09b8b',
'syntax-highlighting-css' => '3b298071', 'syntax-highlighting-css' => '7cb09b8b',
), ),
)); ));

View file

@ -330,3 +330,13 @@
div.phabricator-remarkup-dark blockquote { div.phabricator-remarkup-dark blockquote {
color: #999; color: #999;
} }
div.phabricator-remarkup-dark tt {
color: #EEE;
background: #444;
}
div.phabricator-remarkup-dark .remarkup-note,
div.phabricator-remarkup-dark table {
color: #000;
}