Commit f6c149ea authored by Roman Kuba's avatar Roman Kuba Committed by Enrique Alcántara

Change highlight color for higher contrast

in in-page search settings feature
parent f933d954
......@@ -5,7 +5,7 @@ export const EXCLUDED_NODES = ['OPTION'];
export const HIDE_CLASS = 'gl-display-none';
// used to highlight the text that matches the * search term
export const HIGHLIGHT_CLASS = 'gl-bg-orange-50';
export const HIGHLIGHT_CLASS = 'gl-bg-orange-100';
// How many seconds to wait until the user * stops typing
export const TYPING_DELAY = 400;
......@@ -25,7 +25,7 @@ RSpec.shared_examples 'can highlight results' do |search_term|
end
it 'highlights the search terms' do
selector = '.gl-bg-orange-50'
selector = '.gl-bg-orange-100'
fill_in SearchHelpers::INPUT_PLACEHOLDER, with: search_term
expect(page).to have_css(selector)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment