Skip to content

Commit

Permalink
made changes according to PA
Browse files Browse the repository at this point in the history
  • Loading branch information
thevijayshankersharma committed Jun 8, 2024
1 parent d8896ec commit cee7016
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Pages/3D-Visualizations/mode-switch.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,16 @@ document.addEventListener('DOMContentLoaded', () => {
companyLogo.style.filter = "none";
companyLogo.src = "./assets/asset 41.png";
}

const courseHeaders = document.querySelectorAll('.course h6');
courseHeaders.forEach(header => {
header.style.color = "#ffffff"; // Change text color to white
});

const courseHeaders2 = document.querySelectorAll('.course-preview h2');
courseHeaders2.forEach(header => {
header.style.color = "#ffffff"; // Change text color to white
});
}

if (currentTheme) {
Expand Down
10 changes: 10 additions & 0 deletions Pages/Quizes/mode-switch.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,16 @@ document.addEventListener('DOMContentLoaded', () => {
companyLogo.style.filter = "none";
companyLogo.src = "./assets/asset 41.png";
}

const courseHeaders = document.querySelectorAll('.course h6');
courseHeaders.forEach(header => {
header.style.color = "#ffffff"; // Change text color to white
});

const courseHeaders2 = document.querySelectorAll('.course-preview h2');
courseHeaders2.forEach(header => {
header.style.color = "#ffffff"; // Change text color to white
});
}

if (currentTheme) {
Expand Down
10 changes: 10 additions & 0 deletions Pages/Simulation/mode-switch.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,16 @@ document.addEventListener('DOMContentLoaded', () => {
companyLogo.style.filter = "none";
companyLogo.src = "./assets/asset 41.png";
}

const courseHeaders = document.querySelectorAll('.course h6');
courseHeaders.forEach(header => {
header.style.color = "#ffffff"; // Change text color to white
});

const courseHeaders2 = document.querySelectorAll('.course-preview h2');
courseHeaders2.forEach(header => {
header.style.color = "#ffffff"; // Change text color to white
});
}

if (currentTheme) {
Expand Down
10 changes: 10 additions & 0 deletions Pages/Videos/mode-switch.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,16 @@ document.addEventListener('DOMContentLoaded', () => {
companyLogo.style.filter = "none";
companyLogo.src = "./assets/asset 41.png";
}

const courseHeaders = document.querySelectorAll('.course h6');
courseHeaders.forEach(header => {
header.style.color = "#ffffff"; // Change text color to white
});

const courseHeaders2 = document.querySelectorAll('.course-preview h2');
courseHeaders2.forEach(header => {
header.style.color = "#ffffff"; // Change text color to white
});
}

if (currentTheme) {
Expand Down

0 comments on commit cee7016

Please sign in to comment.