Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doc bug: Link color of types in docstrings is an inactive color instead of matching signatures #2286

Open
pushfoo opened this issue Jul 21, 2024 · 0 comments

Comments

@pushfoo
Copy link
Member

pushfoo commented Jul 21, 2024

Bug Report

This is a teething issue for the new theme customization on the tip of development.

Actual behavior:

Type reference links are rendered as gray instead of matching the blue used for types in signatures.

Live Example:

The SpriteList here is gray:
image
image

Second local example:

str is a gray color, which looks inactive / unclickable:
image

Expected behavior:

str uses the same color as Any and bool in the signature.

Note that type cross-reference links matched color with the signatures on the 2.6 doc:
image

For evidence:

  1. Got to https://api.arcade.academy/en/latest/api/sprites.html#arcade-sprite
  2. Scroll down to the texture field as in the image

Steps to reproduce/example code:

  1. Go to https://api.arcade.academy/en/development/api_docs/api/sprites.html#arcade.Sprite
  2. Look at the top-level docstring
  3. Hover over the SpriteList link here:
    image
  4. Observe that it is indeed a clickable type reference link
  5. Move the mouse to the lower right-hand corner to the dark / light toggle here:
    image
  6. Observe the color is still gray:
    image
@pushfoo pushfoo changed the title Doc bug: Link color of types in docstrings is gray instead of blue like in signatures Doc bug: Link color of types in docstrings is an inactive color instead of matching signatures Jul 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant