Skip to content

Commit

Permalink
Update default.html
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-pratik-k authored Nov 12, 2024
1 parent 5564cb4 commit 973398d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/_layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ <h1>{{ site.title }}</h1>
function getQueryParams() {
const params = new URLSearchParams(window.location.search);
return {
bgColor: params.get('bgColor') || '#24292E', // Default background color
textColor: params.get('textColor') || '#000000' // Default text color
bgColor: params.get('bgColor') || '#FFFFFF', // Default background color
textColor: params.get('textColor') || '#24292E' // Default text color
};
}

Expand Down

0 comments on commit 973398d

Please sign in to comment.