feat(website): add navbar theme-based OhMyPosh icon switching

Add srcDark feature to switch between light and dark OhMyPosh icons in navigation bar (located in top of website) based on user's system theme or user's browser theme preference.
This commit is contained in:
Artin 2024-09-03 02:45:55 +03:30 committed by Jan De Dobbeleer
parent 2bcca1904e
commit 8834aafd7c

View file

@ -30,7 +30,8 @@ module.exports = {
title: 'Oh My Posh',
logo: {
alt: 'Oh My Posh Logo',
src: 'img/logo.svg',
src: 'img/logo-dark.svg',
srcDark: 'img/logo-light.svg',
},
items: [
{