diff --git a/src/components/search/index.js b/src/components/search/index.js
index 720f57c..5725138 100644
--- a/src/components/search/index.js
+++ b/src/components/search/index.js
@@ -89,13 +89,17 @@ const Search = (props) => {
const ResultList = ({ results, query }) => {
return (
-
+
{results.length > 0 ? (
results.map((node, i) => {
const type = node.__typename === 'ContentfulBlog' ? 'blog' : 'recipe'
+ const isDarker = i % 2 === 0
+ const color = isDarker
+ ? 'bg-app-header bg-opacity-30 md:hover:bg-opacity-40'
+ : 'bg-app-header bg-opacity-10 md:hover:bg-opacity-20'
return (
- -
+
-
{node.title}
diff --git a/tailwind.config.js b/tailwind.config.js
index c6a6b33..ab8b9e7 100644
--- a/tailwind.config.js
+++ b/tailwind.config.js
@@ -32,6 +32,7 @@ module.exports = {
'app-header': '#f8b591',
'app-theme': '#f4473a',
'app-background': '#fff5e1',
+ 'app-background-dark': '#e6ddcc',
'app-gray': '#ebebf2',
'app-gray-light': '#f8f8ff',
},