Skip to content

Commit

Permalink
Merge pull request #44 from lokesh932338/main
Browse files Browse the repository at this point in the history
fix: fixed the change_theme_button colors
  • Loading branch information
Shariar-Hasan authored Oct 17, 2023
2 parents bd7b050 + 19e172d commit 711b407
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
11 changes: 6 additions & 5 deletions assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ main {
justify-content: center;
align-items: center;
flex-wrap: wrap;

}

#contributor {
Expand Down Expand Up @@ -254,17 +255,17 @@ body {
}

.theme_changer_button div:nth-child(1) label {
background-color: rgb(118, 118, 231);
background-color: rgb(57, 150, 255);
}

.theme_changer_button div:nth-child(2) label {
background-color: rgb(235, 118, 118);
background-color: rgb(154 72 89);
}

.theme_changer_button div:nth-child(3) label {
background-color: rgb(102, 241, 130);
background-color: rgb(36, 183, 158);
}

.theme_changer_button div:last-child label {
background-color: rgb(154, 210, 231);
}
background-color: rgb(255, 253, 145);
}
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ <h5 class="quote-author" id="quoteAuthorTag">- Steve Jobs</h5>
var color_selection = document.querySelectorAll('.select_color')
let fbbtn = document.querySelector(".fbshare");
let fbcount = 0;
var color_array = ['rgb(25 116 122 / 50%)', 'rgb(154 72 89/ 50%)', 'rgb(95 190 97 / 50%)', 'rgb(255 255 0 / 50%)'];
var color_array = ['rgb(57 150 255 / 90%)', 'rgb(154 72 89/ 70%)', 'rgb(36 183 158 / 90%)', 'rgb(255 255 145 / 70%)'];
var container = document.querySelector('.container');
color_selection.forEach(item => {
item.addEventListener('click', () => {
Expand Down Expand Up @@ -125,4 +125,4 @@ <h5 class="quote-author" id="quoteAuthorTag">- Steve Jobs</h5>

</body>

</html>
</html>

0 comments on commit 711b407

Please sign in to comment.