GetPublii / Publii

The most intuitive Static Site CMS designed for SEO-optimized and privacy-focused websites.
https://getpublii.com
GNU General Public License v3.0
6.35k stars 419 forks source link

[Bug]: Colours for links and links when hovered are reversed in the Simple Theme #1740

Closed jamescoward closed 1 month ago

jamescoward commented 1 month ago

Operating system

MacOS Monterey 12.6.7

Publii version

Version 0.46.1 (0.46.1)

Post editor

None

Bug description

Links on a Page use the incorrect color variables for the base and :hover states in the Simple Theme.

Link when not hovering uses the --link-color-hover variable

Screenshot 2024-10-06 at 19 24 46

Link when hovering uses the --link-color variable

Screenshot 2024-10-06 at 19 24 57

I couldn't a GitHub repo for the theme, otherwise I would have made a PR myself.

Thanks!

Steps to reproduce

Create a Page with a link when using the Simple theme.

Relevant log output

No response

bobmitro commented 1 month ago

It's ok, just look how it works.

jamescoward commented 1 month ago

Possibly I am misunderstanding but it seems like it is not correct.

In the video, the links in the body are red when they are not :hoverd and then black when :hover'd

But the reverse is true for links elsewhere, i.e. in the footer.

If this is the intended behaviour then apologies for raising the issue.

https://github.com/user-attachments/assets/64a189d6-8be7-49b4-9639-8a590e0e5704