boratanrikulu / eternity

A minimalist Hugo theme designed for portfolio sites.
https://eternity.bora.sh
MIT License
237 stars 78 forks source link

CSS Color Settings discarded after deployment #74

Closed schnaxelhubr closed 11 months ago

schnaxelhubr commented 11 months ago

Hi,

was creating a portfolio over the last days and changed the background colours and font colours in style.css and base.css to convert it to a white theme.

For instance - to change the NavBar background and font i did the following in style.css

nav.navbar { background-color: white; color: black; ... }

When previewing the page locally on the huge server with hugo server --buildDrafts , everything looks like expected.

However - when deploying the page (deployed it both to with Cloudflare Pages as well as Kinsta) - the entire website is kept in original dark mode. Building the page locally and only deploying the public folder doesn't make any difference.

What could be the issue ?

Thanks, Max

schnaxelhubr commented 11 months ago

baseURL setting was the issue