Design

Themed Favicon

Make your favicon match your theme

To do this in Next.js, you can use the metadata object in root layout.

js
export const metadata = {
	title: "fooo",
	description: "bar",
	icons: {
		icon: [
			{
				url: "/icon-light.svg",
				media: "(prefers-color-scheme: light)",
			},
			{
				url: "/icon-dark.svg",
				media: "(prefers-color-scheme: dark)",
			},
		],
	},
};
Rene WangRene Wang·

More Details

Describe Link Action

One thing that Safari does better than Chrome

Accessibility
We Regulary Update this List

You can get notified by subscribing to our biweekly newsletter. No ads, no spam, just new content.

Profile banner
Detail

Detail

@detaildotdesign

Get highlight from your timeline and exclusive content.

10+Exclusive content
160+Followers