Commit 1b87ca3d authored by Enrique Alcántara's avatar Enrique Alcántara

Merge branch 'rkuba-master-patch-07761' into 'master'

Change highlight color for higher contrast

See merge request gitlab-org/gitlab!57092
parents 4bf9b765 f6c149ea
...@@ -5,7 +5,7 @@ export const EXCLUDED_NODES = ['OPTION']; ...@@ -5,7 +5,7 @@ export const EXCLUDED_NODES = ['OPTION'];
export const HIDE_CLASS = 'gl-display-none'; export const HIDE_CLASS = 'gl-display-none';
// used to highlight the text that matches the * search term // 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 // How many seconds to wait until the user * stops typing
export const TYPING_DELAY = 400; export const TYPING_DELAY = 400;
...@@ -25,7 +25,7 @@ RSpec.shared_examples 'can highlight results' do |search_term| ...@@ -25,7 +25,7 @@ RSpec.shared_examples 'can highlight results' do |search_term|
end end
it 'highlights the search terms' do it 'highlights the search terms' do
selector = '.gl-bg-orange-50' selector = '.gl-bg-orange-100'
fill_in SearchHelpers::INPUT_PLACEHOLDER, with: search_term fill_in SearchHelpers::INPUT_PLACEHOLDER, with: search_term
expect(page).to have_css(selector) 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