canonical / sphinx-docs-starter-pack

A documentation starter-pack
https://canonical-starter-pack.readthedocs-hosted.com/
10 stars 30 forks source link

Link underline color looks weird in API, and API background color in light/dark mode looks not very good. #209

Closed IronCore864 closed 4 weeks ago

IronCore864 commented 3 months ago

We have found two small issues with the colors:

  1. The link underline in API is white/black in light/dark mode. Shouldn't they be blue as the text, since they are links?
  2. In light mode, the standard API background is a dark grey which doesn't look good. On hover it looks a lot better.
  3. In dark mode, the API background is a way bright grey that doesn't fit dark mode. On hover it looks better.

See below screenshots:

light-mode light-mode-hover dark-mode dark-mode-hover

Suggested changes:

  1. Link underline in API should be blue, same as link text, no matter in light mode or dark mode.
  2. Light mode API background uses a much lighter grey to match "light" mode. On hover it becomes slightly darker to pop up (even lighter doesn't work).
  3. Dark mode API background uses a much darker grey to match "dark" mode. On hover it becomes slightly lighter to pop up.