oliverwang15 commited on
Commit
e329cea
·
1 Parent(s): cc62443

Updates on highlight color

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -114,7 +114,7 @@ class Backend:
114
  def highlight_text(self, text, highlight_list):
115
  # hightlight the reference
116
  for hl in highlight_list:
117
- text = text.replace(hl, f'<mark style="background: #5FACF0">{hl}</mark>')
118
 
119
  # add line break
120
  text = text.replace('\n', f" <br /> ")
 
114
  def highlight_text(self, text, highlight_list):
115
  # hightlight the reference
116
  for hl in highlight_list:
117
+ text = text.replace(hl, f'<mark style="background: #A5D2F1">{hl}</mark>')
118
 
119
  # add line break
120
  text = text.replace('\n', f" <br /> ")