mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-09 20:44:03 -08:00
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:
parent
2bcca1904e
commit
8834aafd7c
|
@ -30,7 +30,8 @@ module.exports = {
|
||||||
title: 'Oh My Posh',
|
title: 'Oh My Posh',
|
||||||
logo: {
|
logo: {
|
||||||
alt: 'Oh My Posh Logo',
|
alt: 'Oh My Posh Logo',
|
||||||
src: 'img/logo.svg',
|
src: 'img/logo-dark.svg',
|
||||||
|
srcDark: 'img/logo-light.svg',
|
||||||
},
|
},
|
||||||
items: [
|
items: [
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue