Skip to content

Commit

Permalink
feat: add theme-color to change bar color
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioRibera committed Sep 22, 2024
1 parent eb4383c commit b1a3bfa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/layout.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ pub fn Layout(
<meta charset="utf-8"/>
<title>{title.clone()}</title>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta name="theme-color" media="(prefers-color-scheme: light)" content="#fed7aa"/>
<meta name="theme-color" media="(prefers-color-scheme: dark)" content="#181811"/>
<meta property="og:title" content=title.clone()/>
<meta name="description" content=description.clone()/>
<meta property="og:description" content=description.clone()/>
Expand Down

0 comments on commit b1a3bfa

Please sign in to comment.