zeon-studio / hugoplate

Hugoplate is a free starter template built with Hugo and TailwindCSS that will save you hours of work.
https://zeon.studio/preview?project=hugoplate
MIT License
805 stars 219 forks source link

Dark mode has h1, h2, h3 and h4 displayed in blue in class content #67

Closed thierry-tct closed 8 months ago

thierry-tct commented 9 months ago

In Dark mode, on the page /elements/, the sections titles are displayed in blue, instead of white.

tfsomrat commented 9 months ago

please add a screenshot

thierry-tct commented 9 months ago

I did the following:

  1. Download the repo as zip and extract
  2. cd into the extracted folder
  3. run npm run project-setup
  4. run: npm install
  5. run: npm run dev
  6. Open the following link on web browser (Chrome or Edge): http://localhost:1313/blog/post-2/

The page display is the one in the screenshot. Capture-hugoplate

tfsomrat commented 8 months ago

Hey @thierry-tct, I was trying to figure out the cause behind the issue. but I really couldn't find it. It works perfectly on every machine. could you try to deploy it on netlify or vercel to see that the issue is still happen or not?

thierry-tct commented 8 months ago

Thank you for your response @tfsomrat .

I made a fork of the current main branch (https://github.com/thierry-tct/hugoplate) and deployed on netlify at the following link https://main--curious-pony-25bd09.netlify.app/elements/

The issue also appears there (make sure to toggle dark mode).

tfsomrat commented 8 months ago

hey @thierry-tct, thanks for giving me this URL. I found out the issue and fixed it. please re-download the theme and enjoy.

thierry-tct commented 8 months ago

Hello @tfsomrat , Thank you for the fix. I tried, it works fine now. Have a blessed end of the year.