Skip to content

Commit 66ca64f

Browse files
committed
feat: add theme-color to change bar color
1 parent 2c3e3e2 commit 66ca64f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/components/head_information.rs

+2
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ pub fn HeadInformation() -> impl IntoView {
2424
<Html lang="es"/>
2525
<Meta charset="utf-8"/>
2626
<Meta name="viewport" content="width=device-width, initial-scale=1"/>
27+
<Meta name="theme-color" media="(prefers-color-scheme: light)" content="#fed7aa"/>
28+
<Meta name="theme-color" media="(prefers-color-scheme: dark)" content="#181811"/>
2729
<Stylesheet id="fonts" href=format!("{}/fonts.css", assets_folder)/>
2830
<Stylesheet id="leptos" href="/pkg/leptos_start.css"/>
2931
<Title text="Rust Lang en Español"/>

0 commit comments

Comments
 (0)