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 2c3e3e2 commit 4448e96
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/head_information.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ pub fn HeadInformation() -> impl IntoView {
<Html lang="es"/>
<Meta charset="utf-8"/>
<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">
<Stylesheet id="fonts" href=format!("{}/fonts.css", assets_folder)/>
<Stylesheet id="leptos" href="/pkg/leptos_start.css"/>
<Title text="Rust Lang en Español"/>
Expand Down

0 comments on commit 4448e96

Please sign in to comment.