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

Type annotation CSS was modified #65

Closed
mhostetter opened this issue Apr 22, 2022 · 2 comments
Closed

Type annotation CSS was modified #65

mhostetter opened this issue Apr 22, 2022 · 2 comments

Comments

@mhostetter
Copy link
Contributor

I noticed after merging #60, the CSS styling of type hints (type annotations) has changed. I believe the issue comes from the changes in sphinx_immaterial/apidoc_formatting.py and/or src/assets/stylesheets/main/_api.scss.

It seems this change is where the type hint inherits the --md-typeset-a-color color.

Before:

After:

Before: 8c96b11

image

image

After: d874316

image

image

@jbms
Copy link
Owner

jbms commented Apr 22, 2022

I believe this is changed back in #64.

@mhostetter
Copy link
Contributor Author

Oh! I didn't see that PR. Yes, I confirmed the styling is reverted with the latest commit currently on #64.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants