hellotham / hello-astro

Hello Astro is a multi purpose Astro starter theme written in Typescript, TailwindCSS and AlpineJS. It supports Markdown and MDX based pages and blog posts.
https://hellotham.github.io/hello-astro
MIT License
158 stars 55 forks source link

Problem with implementation of logo display in dark and light modes #29

Open naujrevilo opened 7 months ago

naujrevilo commented 7 months ago

Description:

The project currently does not provide for proper display of the logo in dark and light modes. In the original code, the same logo is displayed regardless of the mode selected by the user.

The relevant code is as follows:


<div class='flex flex-shrink-0 items-center'>
  <img class='block h-8 w-8 dark:bg-gray-100' src={Logo.src} alt='Logo' />
</div>