Skip to content

Commit 8bbcd89

Browse files
committed
Add styling for new Remarkup highlighter
Summary: Adds some basic style to new !!Remarkup Highlighter!! Ref T5560 Test Plan: Wait for next diff. Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Maniphest Tasks: T5560 Differential Revision: https://secure.phabricator.com/D14383
1 parent 99daadb commit 8bbcd89

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

resources/celerity/map.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*/
88
return array(
99
'names' => array(
10-
'core.pkg.css' => 'fae3b050',
10+
'core.pkg.css' => 'dd913c69',
1111
'core.pkg.js' => '47dc9ebb',
1212
'darkconsole.pkg.js' => 'e7393ebb',
1313
'differential.pkg.css' => '2de124c9',
@@ -104,7 +104,7 @@
104104
'rsrc/css/application/tokens/tokens.css' => '3d0f239e',
105105
'rsrc/css/application/uiexample/example.css' => '528b19de',
106106
'rsrc/css/core/core.css' => '78e8d7ea',
107-
'rsrc/css/core/remarkup.css' => 'f18999d1',
107+
'rsrc/css/core/remarkup.css' => '82f4e4c5',
108108
'rsrc/css/core/syntax.css' => '9fd11da8',
109109
'rsrc/css/core/z-index.css' => '57ddcaa2',
110110
'rsrc/css/diviner/diviner-shared.css' => 'aa3656aa',
@@ -736,7 +736,7 @@
736736
'phabricator-object-selector-css' => '85ee8ce6',
737737
'phabricator-phtize' => 'd254d646',
738738
'phabricator-prefab' => '6920d200',
739-
'phabricator-remarkup-css' => 'f18999d1',
739+
'phabricator-remarkup-css' => '82f4e4c5',
740740
'phabricator-search-results-css' => '7dea472c',
741741
'phabricator-shaped-request' => '7cbe244b',
742742
'phabricator-side-menu-view-css' => 'bec2458e',

src/infrastructure/markup/PhabricatorMarkupEngine.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -510,6 +510,7 @@ public static function newMarkupEngine(array $options) {
510510
$rules[] = new PhutilRemarkupItalicRule();
511511
$rules[] = new PhutilRemarkupDelRule();
512512
$rules[] = new PhutilRemarkupUnderlineRule();
513+
$rules[] = new PhutilRemarkupHighlightRule();
513514

514515
foreach (self::loadCustomInlineRules() as $rule) {
515516
$rules[] = $rule;

webroot/rsrc/css/core/remarkup.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -520,3 +520,7 @@ var.remarkup-assist-textarea {
520520
background: {$thinblueborder};
521521
margin: 24px 0;
522522
}
523+
524+
.phabricator-remarkup .remarkup-highlight {
525+
background-color: {$lightviolet};
526+
}

0 commit comments

Comments
 (0)