Skip to content

Commit

Permalink
Update meta theme-color in html-head.html (#527)
Browse files Browse the repository at this point in the history
theme-color that works in both light and dark mode
  • Loading branch information
nobu1308 committed Aug 8, 2023
1 parent 36a7e32 commit 1cebd58
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion layouts/partials/docs/html-head.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="{{ default .Summary .Description }}">
<meta name="theme-color" content="#FFFFFF">
<meta name="theme-color" media="(prefers-color-scheme: light)" content="#ffffff">
<meta name="theme-color" media="(prefers-color-scheme: dark)" content="#343a40">
<meta name="color-scheme" content="light dark">

{{- with .Page.Params.BookHref -}}
Expand Down

0 comments on commit 1cebd58

Please sign in to comment.