Skip to content

Commit

Permalink
fixed theme colors not applying
Browse files Browse the repository at this point in the history
  • Loading branch information
griffindavidson committed Jan 8, 2025
1 parent 7909c4a commit 2bc921c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion blog.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="robots" content="index, follow">
<meta name="description" content="A blog where I ramble about tech and software.">
<meta id="theme-color" name="theme-color" content="#eee">
<meta id="theme-color" name="theme-color" content="#eeeeee">
<link rel="apple-touch-icon" sizes="180x180" href="favicons/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="favicons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="favicons/favicon-16x16.png">
Expand Down
2 changes: 1 addition & 1 deletion blog.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function updateThemeColor() {
metaThemeColor.setAttribute('content', '#121212'); // Dark mode theme color (black)
} else {
// Set theme color for light mode
metaThemeColor.setAttribute('content', '#eee'); // Light mode theme color (white)
metaThemeColor.setAttribute('content', '#eeeeee'); // Light mode theme color (white)
}
}

Expand Down
2 changes: 1 addition & 1 deletion blog/mac-displays.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="robots" content="index, follow">
<meta name="description" content="Discussing how macOS addresses external displays.">
<meta id="theme-color" name="theme-color" content="#eee">
<meta id="theme-color" name="theme-color" content="#eeeeee">
<link rel="apple-touch-icon" sizes="180x180" href="../favicons/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="../favicons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="../favicons/favicon-16x16.png">
Expand Down
2 changes: 1 addition & 1 deletion blog/mac-displays.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ function updateThemeColor() {
metaThemeColor.setAttribute('content', '#121212'); // Dark mode theme color (black)
} else {
// Set theme color for light mode
metaThemeColor.setAttribute('content', '#eee'); // Light mode theme color (white)
metaThemeColor.setAttribute('content', '#eeeeee'); // Light mode theme color (white)
}
}

Expand Down

0 comments on commit 2bc921c

Please sign in to comment.