theNewDynamic / gohugo-theme-ananke

Ananke: A theme for Hugo Sites
https://gohugo-ananke-theme-demo.netlify.com/
MIT License
1.09k stars 1.12k forks source link

how to change background color in summary #632

Open jimishol opened 1 year ago

jimishol commented 1 year ago

First of all, thank you for your lively theme very much. I attach greek translation in case you want to include it in code. el.toml.txt

The issue:

I like dark theme. In my config.toml I have [params] text_color = "white" background_color_class = "bg-black" body_classes = "avenir bg-black"

Nevertheless, in summary that appears in front page, fonts i guess are mid-gray and are hardly seen. I want to make them brighter or white. A more serious problem is that the taxonomy summary list has white text on white background and there are ugly blank white windows on black page. SOLVED See my last post about a way to apply dark theme.

P.S. Another minor irrelevant problem is that alerting the content (renaming, deleting md files etc) does not work cleanly. There are a lot of remains in public folder. So, it is better for me to clean that folder before the building of site, Thank you

jimishol commented 1 year ago

Solved Through inspection i found finally where the colors were hard coded and made color variables in config.toml and got them through minor modifications on template html files. I will try to point down what I did, but leave the issue open as i dark theme does not work as expected by changing only existed variables.

You can check my solution for dark theme in my new post. :smile: