Skip to content

Commit

Permalink
Merge pull request #61 from Mayotopia04/reyBranchModal
Browse files Browse the repository at this point in the history
modal bg
  • Loading branch information
Mayotopia04 authored Jul 16, 2024
2 parents 441e5b6 + 37991ee commit 28be651
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Modal/Modal.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

padding: 40px 20px 119px 20px;

background: var(--bg-color);
background: var(--modal-bg);
}

@media screen and (min-width: 768px) {
Expand Down
2 changes: 2 additions & 0 deletions src/components/ThemeSwitcher/ThemeSwitcher.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ const ThemeSwitcher = () => {
root.style.setProperty('--input-color', '#FFD35A');
root.style.setProperty('--option-color', '#EB5B00');
root.style.setProperty('--logo-filter', 'orange');
root.style.setProperty('--modal-bg', '#494646');
// Add other color properties for dark theme
break;

Expand All @@ -39,6 +40,7 @@ const ThemeSwitcher = () => {
root.style.setProperty('--input-color', '#9b9faa');
root.style.setProperty('--option-color', '#f8af28');
root.style.setProperty('--logo-filter', '#ffff');
root.style.setProperty('--modal-bg', '#fff');
break;
}
};
Expand Down
2 changes: 2 additions & 0 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
--options-color: #f8af28;

--logo-filter: #ffffff;

--modal-bg:#494646;
}

@font-face {
Expand Down

0 comments on commit 28be651

Please sign in to comment.