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-07 21:30:26 +02:00
committed by Jan De Dobbeleer
parent 2bcca1904e
commit 8834aafd7c
+2 -1
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: [
{