diff --git a/.vscode/settings.json b/.vscode/settings.json index 72d1682..0dfa1d5 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,4 +1,4 @@ { "workbench.colorCustomizations": {}, - "liveServer.settings.port": 5501 + "liveServer.settings.port": 5502 } \ No newline at end of file diff --git a/CSS/theme.css b/CSS/theme.css index 29bd0b8..eb4740b 100644 --- a/CSS/theme.css +++ b/CSS/theme.css @@ -30,6 +30,34 @@ body { background-color: var(--color-bg); color: var(--color-fg); } -.nav-link { - color: #404146; +.nav-link, .fa-user { + color: #c0ac7a !important; } + +.button { + border-radius: 12px; + flex-wrap: var(--color-bg); + background-color: rgb(223, 223, 223); + box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19); + float: right; + font-size: small; + text-decoration: solid; + + } + + .light-theme-dropdown{ + background-color: white; + } + .dark-theme-dropdown{ + background-color: rgb(0, 0, 0); + } + + .theme-element { + background-color: var(--color-bg); + color: var(--color-fg); + } + + .theme-text { + color: var(--color-fg); + } + diff --git a/JS/script.js b/JS/script.js index 52f537c..739ee60 100644 --- a/JS/script.js +++ b/JS/script.js @@ -80,7 +80,7 @@ function getRecipe(cuisine) { const options = { method: 'GET', headers: { - 'X-RapidAPI-Key': 'c7965e32a1mshbe160fd7fa536fap1de1ccjsn06ed08451b4a', + 'X-RapidAPI-Key': '16aadf142cmshabed6aa7856fda0p1e2ffajsn381e6669c8f7', 'X-RapidAPI-Host': 'food-recipes-with-images.p.rapidapi.com' } }; @@ -227,9 +227,9 @@ function createRecipeCard(title, image, ingredients, instructions, cuisine) { var modalHTML = `